Set the proper bit in the howto flags for a serial console rather than

setting the index of the bit.  (0xc vs. 0x1000)
This commit is contained in:
John Baldwin 2000-11-30 18:33:59 +00:00
parent 702665c754
commit 0a7f15c202
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69395
2 changed files with 4 additions and 4 deletions

View File

@ -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:
')
#

View File

@ -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:
')
#