diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-17 12:02:25 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-17 12:02:25 +0000 |
| commit | d33ccadc818fb55c736256f9897a3ac94c30dd18 (patch) | |
| tree | ce8df671890d38d09082a58f8e46b942c6c5f229 | |
| parent | 7196870cbbb00ebab7cf88dfc19ba8dd4a886c10 (diff) | |
Notes
| -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 5284188f77e0c..3349009ebd594 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 |
