diff options
author | phk <phk@FreeBSD.org> | 2004-06-17 12:02:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-17 12:02:25 +0000 |
commit | cac15e3814fdc7dcd94b48e13ea1e949d2c9e5c1 (patch) | |
tree | ce8df671890d38d09082a58f8e46b942c6c5f229 | |
parent | c675add0de3cac6ede371682cb25dc8afed10cb6 (diff) | |
download | FreeBSD-src-cac15e3814fdc7dcd94b48e13ea1e949d2c9e5c1.zip FreeBSD-src-cac15e3814fdc7dcd94b48e13ea1e949d2c9e5c1.tar.gz |
Save a couple of bytes for the SIO case.
-rw-r--r-- | sys/boot/i386/boot0/boot0.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/i386/boot0/boot0.S b/sys/boot/i386/boot0/boot0.S index 5284188..3349009 100644 --- a/sys/boot/i386/boot0/boot0.S +++ b/sys/boot/i386/boot0/boot0.S @@ -96,9 +96,8 @@ main: /* * Initialize the serial port. bioscom preserves the driver number in DX. */ - movb COMSPEED,%al # defined by Makefile - movb $0x00,%ah # BIOS: Set COM Port - call bioscom + movw COMSPEED,%ax # defined by Makefile + callw bioscom #endif /* SIO */ /* * Check what flags were loaded with us, specifically, Use a predefined Drive. @@ -372,7 +371,6 @@ putchr: #else /* SIO */ putchr: movb $0x01,%ah # BIOS: Send - xorw %cx,%cx # No timeout bioscom: pushw %dx # Save xorw %dx,%dx # Use COM1 |