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.h | |
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.h')
-rw-r--r-- | src/output.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/output.h b/src/output.h index a13d55b7..66010359 100644 --- a/src/output.h +++ b/src/output.h @@ -4,7 +4,6 @@ #include "types.h" // u32 // output.c -void debug_preinit(void); void panic(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))) __noreturn; void printf(const char *fmt, ...) |