diff options
-rw-r--r-- | src/hw/serialio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hw/serialio.c b/src/hw/serialio.c index 07958b3..c6cafaa 100644 --- a/src/hw/serialio.c +++ b/src/hw/serialio.c @@ -111,6 +111,7 @@ qemu_debug_preinit(void) return; /* Check if the QEMU debug output port is active */ + /* PARISC may use serial console */ if (CONFIG_DEBUG_IO && inb(GET_GLOBAL(DebugOutputPort)) != QEMU_DEBUGCON_READBACK) DebugOutputPort = 0; @@ -122,7 +123,7 @@ qemu_debug_putc(char c) { if (!CONFIG_DEBUG_IO || !runningOnQEMU()) return; - u16 port = GET_GLOBAL(DebugOutputPort); + portaddr_t port = GET_GLOBAL(DebugOutputPort); if (port) // Send character to debug port. outb(c, port); |