diff options
Diffstat (limited to 'gpxe/src/core/serial_console.c')
-rw-r--r-- | gpxe/src/core/serial_console.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gpxe/src/core/serial_console.c b/gpxe/src/core/serial_console.c deleted file mode 100644 index 0300482a..00000000 --- a/gpxe/src/core/serial_console.c +++ /dev/null @@ -1,31 +0,0 @@ -#include <gpxe/init.h> -#include <gpxe/serial.h> -#include "console.h" - -/** @file - * - * Serial console - * - */ - -struct console_driver serial_console __console_driver; - -static void serial_console_init ( void ) { - /* Serial driver initialization should already be done, - * time to enable the serial console. */ - serial_console.disabled = 0; -} - -struct console_driver serial_console __console_driver = { - .putchar = serial_putc, - .getchar = serial_getc, - .iskey = serial_ischar, - .disabled = 1, -}; - -/** - * Serial console initialisation function - */ -struct init_fn serial_console_init_fn __init_fn ( INIT_CONSOLE ) = { - .initialise = serial_console_init, -}; |