|
iPXE
|
Debug port console. More...
#include <stdint.h>#include <ipxe/io.h>#include <ipxe/console.h>#include <ipxe/init.h>#include <config/console.h>Go to the source code of this file.
Macros | |
| #define | DEBUG_PORT 0xe9 |
| Debug port. More... | |
| #define | DEBUG_PORT_CHECK 0xe9 |
| Debug port installation check magic value. More... | |
| #define | CONSOLE_DEBUGCON ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI ) |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static void | debugcon_putchar (int character) |
| Print a character to debug port console. More... | |
| static void | debugcon_init (void) |
| Initialise debug port console. More... | |
| struct init_fn debugcon_init_fn | __init_fn (INIT_EARLY) |
| Debug port console initialisation function. More... | |
Variables | |
| struct console_driver debugcon_console | __console_driver |
| Debug port console driver. More... | |
Debug port console.
The debug port is supported by bochs (via the "port_e9_hack" configuration file directive) and by qemu (via the "-debugcon" command-line option).
Definition in file debugcon.c.
| #define DEBUG_PORT 0xe9 |
Debug port.
Definition at line 42 of file debugcon.c.
| #define DEBUG_PORT_CHECK 0xe9 |
Debug port installation check magic value.
Definition at line 45 of file debugcon.c.
| #define CONSOLE_DEBUGCON ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI ) |
Definition at line 50 of file debugcon.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Print a character to debug port console.
| character | Character to be printed |
Definition at line 58 of file debugcon.c.
References DEBUG_PORT, and outb.
|
static |
Initialise debug port console.
Definition at line 74 of file debugcon.c.
References CONSOLE_DISABLED, DBG, DEBUG_PORT, DEBUG_PORT_CHECK, and inb().
| struct init_fn debugcon_init_fn __init_fn | ( | INIT_EARLY | ) |
Debug port console initialisation function.
| struct console_driver debugcon_console __console_driver |
Debug port console driver.
Definition at line 65 of file debugcon.c.
1.8.15