summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-30 18:33:59 +0000
committerjhb <jhb@FreeBSD.org>2000-11-30 18:33:59 +0000
commitc68b62f2dc69e2305546b31e1e93513ab002cef4 (patch)
tree7102a3af4d311f8e6459917c7ecbfe4f9a77ddf4 /sys
parent283f072077fe04fa6fdee07d5f64aaa13248a743 (diff)
downloadFreeBSD-src-c68b62f2dc69e2305546b31e1e93513ab002cef4.zip
FreeBSD-src-c68b62f2dc69e2305546b31e1e93513ab002cef4.tar.gz
Set the proper bit in the howto flags for a serial console rather than
setting the index of the bit. (0xc vs. 0x1000)
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/pxeldr/pxeldr.S4
-rw-r--r--sys/boot/i386/pxeldr/pxeldr.s4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/i386/pxeldr/pxeldr.S b/sys/boot/i386/pxeldr/pxeldr.S
index 8558523..cc8eb16 100644
--- a/sys/boot/i386/pxeldr/pxeldr.S
+++ b/sys/boot/i386/pxeldr/pxeldr.S
@@ -55,7 +55,7 @@
#
# Boot howto bits
#
- .set RBX_SERIAL,0xc # serial console
+ .set RB_SERIAL,0x1000 # serial console
#
# Segment selectors.
#
@@ -116,7 +116,7 @@ ifdef(`PROBE_KEYBOARD',`
# set the RBX_SERIAL bit in the howto byte.
testb $KEYBOARD_BIT, MEM_BIOS_KEYBOARD # keyboard present?
jnz keyb # yes, so skip
- orb $RBX_SERIAL, (%bx) # enable serial console
+ orl $RB_SERIAL, (%bx) # enable serial console
keyb:
')
#
diff --git a/sys/boot/i386/pxeldr/pxeldr.s b/sys/boot/i386/pxeldr/pxeldr.s
index 8558523..cc8eb16 100644
--- a/sys/boot/i386/pxeldr/pxeldr.s
+++ b/sys/boot/i386/pxeldr/pxeldr.s
@@ -55,7 +55,7 @@
#
# Boot howto bits
#
- .set RBX_SERIAL,0xc # serial console
+ .set RB_SERIAL,0x1000 # serial console
#
# Segment selectors.
#
@@ -116,7 +116,7 @@ ifdef(`PROBE_KEYBOARD',`
# set the RBX_SERIAL bit in the howto byte.
testb $KEYBOARD_BIT, MEM_BIOS_KEYBOARD # keyboard present?
jnz keyb # yes, so skip
- orb $RBX_SERIAL, (%bx) # enable serial console
+ orl $RB_SERIAL, (%bx) # enable serial console
keyb:
')
#
OpenPOWER on IntegriCloud