aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-06-21 12:15:10 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-06-21 12:15:10 -0400
commit61d6b06696b7efc6e6bc1df6573ba58e743d6ae3 (patch)
treeb1c58d048abcbb27fe6130554828db45c803aded /src/util.h
parentdb03d5db185430812775f0075a18da459b96a019 (diff)
downloadseabios-61d6b06696b7efc6e6bc1df6573ba58e743d6ae3.tar.gz
Init serial port before using it for debug - also reinit after option rom.
Apparently, some VGA option roms will enable serial irqs - this could cause problems with spurious irqs from debug messages. Also, improve debugging of option roms that fail the checksum check.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index ee42f6c2..30c396aa 100644
--- a/src/util.h
+++ b/src/util.h
@@ -92,6 +92,7 @@ void __call16_int(struct bregs *callregs, u16 offset)
#endif
// output.c
+void debug_serial_setup();
void BX_PANIC(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2)))
__attribute__ ((noreturn));