aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-11-30 18:33:59 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-11-30 18:33:59 +0000
commit0a7f15c2029af05f25fe8ab73ce601fe126577a7 (patch)
tree24a03bcaf6a7f94a943ce30d2975bb7b11735941 /sys/boot
parent702665c7549098704e4a4476d476323d7f3c66c8 (diff)
downloadsrc-0a7f15c2029af05f25fe8ab73ce601fe126577a7.tar.gz
src-0a7f15c2029af05f25fe8ab73ce601fe126577a7.zip
Set the proper bit in the howto flags for a serial console rather than
setting the index of the bit. (0xc vs. 0x1000)
Notes
Notes: svn path=/head/; revision=69395
Diffstat (limited to 'sys/boot')
-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 855852334c7f..cc8eb1648cb7 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 855852334c7f..cc8eb1648cb7 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:
')
#