2 #include <gpxe/serial.h>
11 struct console_driver serial_console __console_driver
;
13 static void serial_console_init ( void ) {
14 /* Serial driver initialization should already be done,
15 * time to enable the serial console. */
16 serial_console
.disabled
= 0;
19 struct console_driver serial_console __console_driver
= {
20 .putchar
= serial_putc
,
21 .getchar
= serial_getc
,
22 .iskey
= serial_ischar
,
27 * Serial console initialisation function
29 struct init_fn serial_console_init_fn
__init_fn ( INIT_CONSOLE
) = {
30 .initialise
= serial_console_init
,