commit | 5c73240407f321312fc05a83fd246f47b0dbbbec | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Jun 07 10:43:07 2008 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Jun 07 10:43:07 2008 -0400 |
tree | 55fdb07b7162af431c861ddec917572114adb86a | |
parent | c1adedc1c04b25fb14efa8bdbd614f3c31a14593 [diff] |
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.