aboutsummaryrefslogtreecommitdiff
path: root/src/boot.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-01-15 13:42:50 -0500
committerKevin O'Connor <kevin@koconnor.net>2014-01-22 17:30:30 -0500
commit940fc1fc58b4f2a1c3baa8a5bb907f7b22ba0a31 (patch)
tree1cb35b18dd6695877ff2908631a2867bc892d995 /src/boot.c
parentcf85418f7825a2a6712f8feb0ab7e37c55323eb3 (diff)
downloadseabios-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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/boot.c b/src/boot.c
index ad799f9..183f4f3 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -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);