diff options
author | phk <phk@FreeBSD.org> | 1995-03-19 06:10:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-03-19 06:10:32 +0000 |
commit | dff6bf2b1c31946e18d2307b624bbd4ae6ba368b (patch) | |
tree | b34e0210c8ee85ed1202b6f960c82ddb5c723e56 | |
parent | 6a942ef2ace92d035096e03568d08dd6bcc0aefe (diff) | |
download | FreeBSD-src-dff6bf2b1c31946e18d2307b624bbd4ae6ba368b.zip FreeBSD-src-dff6bf2b1c31946e18d2307b624bbd4ae6ba368b.tar.gz |
And all serial chars with 0x7f to discard parity bits.
-rw-r--r-- | sys/i386/boot/biosboot/serial.S | 3 |
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 |