43#if ! ( defined ( CONSOLE_SERIAL ) && CONSOLE_EXPLICIT ( CONSOLE_SERIAL ) )
45#define CONSOLE_SERIAL ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
49#define SERIAL_PREFIX_fixed
51#define SERIAL_PREFIX_fixed __fixed_
56#define COMCONSOLE NULL
163 if ( (
rc = uart_init (
uart ) ) != 0 ) {
164 DBGC (
uart,
"SERIAL could not initialise %s: %s\n",
#define NULL
NULL pointer (VOID *)
struct arbelprm_rc_send_wqe rc
Serial port configuration.
struct eltorito_descriptor_fixed fixed
Fixed portion.
uint8_t data[48]
Additional event data.
#define __unused
Declare a variable or data structure as unused.
#define INIT_CONSOLE
Console initialisation.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define STARTUP_EARLY
Early startup.
#define __console_driver
Mark a struct console_driver as being part of the console drivers table.
#define PROVIDE_SERIAL_INLINE(_subsys, _api_func)
Provide a static inline serial API implementation.
struct uart * default_serial_console(void)
Get serial console UART.
#define PROVIDE_SERIAL(_subsys, _api_func, _func)
Provide a serial API implementation.
#define __init_fn(init_order)
Declare an initialisation functon.
#define __startup_fn(startup_order)
Declare a startup/shutdown function.
static void serial_putchar(int character)
Print a character to serial console.
static int serial_iskey(void)
Check for character ready to read from serial console.
static int serial_getchar(void)
Get character from serial console.
struct uart * serial_console
Active serial console UART.
static void serial_shutdown(int flags __unused)
Shut down serial console.
struct uart * fixed_serial_console(void)
Get fixed serial console UART.
static void serial_init(void)
Initialise serial console.
char * strerror(int errno)
Retrieve string representation of error number.
An initialisation function.
A startup/shutdown function.
unsigned int baud
Baud rate (if specified)