diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-01-15 13:42:50 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-01-22 17:30:30 -0500 |
commit | 940fc1fc58b4f2a1c3baa8a5bb907f7b22ba0a31 (patch) | |
tree | 1cb35b18dd6695877ff2908631a2867bc892d995 /src/output.c | |
parent | cf85418f7825a2a6712f8feb0ab7e37c55323eb3 (diff) | |
download | seabios-940fc1fc58b4f2a1c3baa8a5bb907f7b22ba0a31.tar.gz |
debug: Only call serial_debug_preinit() at startup.
The serial_debug_preinit() function disables serial interrupts so that
the OS doesn't get confused by "transmit buffer empty" interrupts
caused when seabios writes to the serial port. It's unnecessary
paranoia to keep rechecking that interrupts are disabled.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/output.c')
-rw-r--r-- | src/output.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/output.c b/src/output.c index 1d882fa6..06d42a27 100644 --- a/src/output.c +++ b/src/output.c @@ -26,13 +26,6 @@ struct putcinfo { * Debug output ****************************************************************/ -// Setup debugging port(s). -void -debug_preinit(void) -{ - serial_debug_preinit(); -} - // Write a character to debug port(s). static void debug_putc(struct putcinfo *action, char c) |