aboutsummaryrefslogtreecommitdiff
path: root/src/console/qemu_debugcon_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/qemu_debugcon_console.c')
-rw-r--r--src/console/qemu_debugcon_console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/console/qemu_debugcon_console.c b/src/console/qemu_debugcon_console.c
index e2591baa15..1d66d87c64 100644
--- a/src/console/qemu_debugcon_console.c
+++ b/src/console/qemu_debugcon_console.c
@@ -26,6 +26,9 @@ static unsigned char readback;
static void debugcon_init(void)
{
readback = inb(CONFIG_CONSOLE_QEMU_DEBUGCON_PORT);
+ printk(BIOS_INFO, "QEMU debugcon %s [port 0x%x]\n",
+ (readback == 0xe9) ? "detected" : "not found",
+ CONFIG_CONSOLE_QEMU_DEBUGCON_PORT);
}
static void debugcon_tx_byte(unsigned char data)