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/boot.c | |
parent | cf85418f7825a2a6712f8feb0ab7e37c55323eb3 (diff) | |
download | seabios-hppa-940fc1fc58b4f2a1c3baa8a5bb907f7b22ba0a31.zip seabios-hppa-940fc1fc58b4f2a1c3baa8a5bb907f7b22ba0a31.tar.gz seabios-hppa-940fc1fc58b4f2a1c3baa8a5bb907f7b22ba0a31.tar.bz2 |
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/boot.c')
-rw-r--r-- | src/boot.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -743,7 +743,6 @@ int BootSequence VARLOW = -1; void VISIBLE32FLAT handle_18(void) { - debug_preinit(); debug_enter(NULL, DEBUG_HDL_18); int seq = BootSequence + 1; BootSequence = seq; @@ -754,7 +753,6 @@ handle_18(void) void VISIBLE32FLAT handle_19(void) { - debug_preinit(); debug_enter(NULL, DEBUG_HDL_19); BootSequence = 0; do_boot(0); |