42 #define DEBUG_PORT 0xe9 45 #define DEBUG_PORT_CHECK 0xe9 48 #if ! ( defined ( CONSOLE_DEBUGCON ) && CONSOLE_EXPLICIT ( CONSOLE_DEBUGCON ) ) 49 #undef CONSOLE_DEBUGCON 50 #define CONSOLE_DEBUGCON ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI ) 80 DBG (
"Debug port not present; disabling console\n" );
static void debugcon_init(void)
Initialise debug port console.
#define DEBUG_PORT_CHECK
Debug port installation check magic value.
struct console_driver debugcon_console __console_driver
Debug port console driver.
#define INIT_EARLY
Early initialisation.
#define CONSOLE_DISABLED
Console is disabled for all uses.
An initialisation function.
void(* putchar)(int character)
Write a character to the console.
#define DEBUG_PORT
Debug port.
struct init_fn debugcon_init_fn __init_fn(INIT_EARLY)
Debug port console initialisation function.
static void debugcon_putchar(int character)
Print a character to debug port console.
uint8_t inb(volatile uint8_t *io_addr)
Read byte from I/O-mapped device.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define outb(data, io_addr)
#define DBG(...)
Print a debugging message.