Displaying 2 results from an estimated 2 matches for "debug_io_port".
2012 Feb 05
5
[PATCH] Automatically select 0xe9 as default debug port if configured for Xen
...-off-by: Julian Pidancet <julian.pidancet@gmail.com>
---
src/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig
index cf0bff0..cee0005 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -361,6 +361,7 @@ menu "Debugging"
config DEBUG_IO_PORT
depends on DEBUG_IO
hex "Debug IO port address"
+ default 0x00e9 if XEN
default 0x0402
help
Bochs uses the 0x0402 address by default, whereas Xen
--
Julian Pidancet
2015 Feb 08
3
[PATCH 0/1] dprintf: add debug console support
This patch adds support for printing messages through a debug console. QEMU,
for example, supports this through the debugcon facility. The benefit is that
it's *much* faster than printing over a serial port.
To print to I/O port 0x402 (the default used by SeaBIOS and OVMF),
add "-DDEBUG_IO_PORT=0x402 -DCORE_DEBUG=1" to the build CFLAGS.
To enable a debug console in QEMU that listens to I/O port 0x402 and prints to
stdio, add "-debugcon stdio -global isa-debugcon.iobase=0x402" to the QEMU
command line.
Jonathan Boeing (1):
dprintf: add debug console support
com32/inclu...