Serial debugging code must not access BDA.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 7 Jun 2008 14:43:07 +0000 (10:43 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 7 Jun 2008 14:43:07 +0000 (10:43 -0400)
commit5c73240407f321312fc05a83fd246f47b0dbbbec
tree55fdb07b7162af431c861ddec917572114adb86a
parentc1adedc1c04b25fb14efa8bdbd614f3c31a14593
Serial debugging code must not access BDA.

Regular serial writing code uses the system timer to timeout failed
    writes - however, serial debugging can't rely on access to the BDA
    segment or the hardware timer.
Therefore, implement a simple debug only serial writing function and
    separate it from the regular serial output code.
Also include change to dump_regs - don't call __dprintf if debugging
    not on.
src/output.c
src/post.c
src/serial.c
src/util.h