aboutsummaryrefslogtreecommitdiff
path: root/src/serial.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-01-17 02:30:21 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-01-17 02:30:21 -0500
commit9e91c7bf4201f9b7022459170839b32ba82a7c49 (patch)
tree76fc1bb957ec01b27c8b02642cf1e103c4f5bd5c /src/serial.c
parentb1b7c2a1c3b940b787fdb5da67fc37003e9d7b0e (diff)
downloadseabios-hppa-9e91c7bf4201f9b7022459170839b32ba82a7c49.zip
seabios-hppa-9e91c7bf4201f9b7022459170839b32ba82a7c49.tar.gz
seabios-hppa-9e91c7bf4201f9b7022459170839b32ba82a7c49.tar.bz2
Misc fixes.
The pnp bios string can't be const and VAR16_32. Show ps2 port status when discarding data.
Diffstat (limited to 'src/serial.c')
-rw-r--r--src/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serial.c b/src/serial.c
index 6de6636..5eefaf3 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -243,6 +243,7 @@ handle_1700(struct bregs *regs)
outb(val8 | 0x01, addr+2); // send strobe
nop();
outb(val8 & ~0x01, addr+2);
+ // XXX - implement better timeout code.
while (((inb(addr+1) & 0x40) == 0x40) && (timeout))
timeout--;