coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
streams.h File Reference
#include <stddef.h>
#include <stdint.h>
Include dependency graph for streams.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void console_hw_init (void)
 
void console_tx_byte (unsigned char byte)
 
void console_tx_flush (void)
 
void console_interactive_tx_byte (unsigned char byte, void *data_unused)
 
void console_stored_tx_byte (unsigned char byte, void *data_unused)
 
void console_write_line (uint8_t *buffer, size_t number_of_bytes)
 
void gdb_hw_init (void)
 
void gdb_tx_byte (unsigned char byte)
 
void gdb_tx_flush (void)
 
unsigned char gdb_rx_byte (void)
 

Function Documentation

◆ console_hw_init()

void console_hw_init ( void  )

Definition at line 16 of file console.c.

References __cbmemc_init(), __flashconsole_init(), __ne2k_init(), __qemu_debugcon_init(), __spiconsole_init(), __spkmodem_init(), __system76_ec_init(), __uart_init(), and __usbdebug_init().

Referenced by console_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ console_interactive_tx_byte()

void console_interactive_tx_byte ( unsigned char  byte,
void data_unused 
)

Definition at line 30 of file console.c.

References __ne2k_tx_byte(), __qemu_debugcon_tx_byte(), __spiconsole_tx_byte(), __spkmodem_tx_byte(), __system76_ec_tx_byte(), __uart_tx_byte(), and __usb_tx_byte().

Referenced by console_tx_byte(), and wrap_interactive_printf().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ console_stored_tx_byte()

void console_stored_tx_byte ( unsigned char  byte,
void data_unused 
)

Definition at line 47 of file console.c.

References __cbmemc_tx_byte(), and __flashconsole_tx_byte().

Referenced by console_tx_byte(), and line_start().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ console_tx_byte()

void console_tx_byte ( unsigned char  byte)

Definition at line 53 of file console.c.

References console_interactive_tx_byte(), console_stored_tx_byte(), and NULL.

Referenced by console_write_line(), do_putchar(), send_to_console(), and wrap_putchar().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ console_tx_flush()

void console_tx_flush ( void  )

Definition at line 59 of file console.c.

References __flashconsole_tx_flush(), __ne2k_tx_flush(), __system76_ec_tx_flush(), __uart_tx_flush(), and __usb_tx_flush().

Referenced by console_write_line(), and vprintk().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ console_write_line()

void console_write_line ( uint8_t buffer,
size_t  number_of_bytes 
)

Definition at line 68 of file console.c.

References buffer, console_tx_byte(), and console_tx_flush().

Referenced by fsp_write_line().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdb_hw_init()

void gdb_hw_init ( void  )

◆ gdb_rx_byte()

unsigned char gdb_rx_byte ( void  )

◆ gdb_tx_byte()

void gdb_tx_byte ( unsigned char  byte)

◆ gdb_tx_flush()

void gdb_tx_flush ( void  )