summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/boot/biosboot/serial.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/boot/biosboot/serial.S b/sys/i386/boot/biosboot/serial.S
index 34d0528..d03626b 100644
--- a/sys/i386/boot/biosboot/serial.S
+++ b/sys/i386/boot/biosboot/serial.S
@@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, Revision 2.2 92/04/04 11:34:26 rpd
- * $Id: bios.S,v 1.1 1994/12/18 20:12:08 joerg Exp $
+ * $Id: serial.S,v 1.1 1995/01/20 07:48:27 wpaul Exp $
*/
/*
@@ -128,6 +128,7 @@ ENTRY(serial_getc)
sub $5, %edx # RX buffer reg
inb %dx, %al # fetch (first) character
+ and $0x7F, %eax # remove any parity bits we get
cmp $0x7F, %eax # make DEL...
jne 2f
mov $0x08, %eax # look like BS
OpenPOWER on IntegriCloud