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:
jhb 2000-11-30 18:33:59 +00:00
parent 283f072077
commit c68b62f2dc
2 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@
# #
# Boot howto bits # Boot howto bits
# #
.set RBX_SERIAL,0xc # serial console .set RB_SERIAL,0x1000 # serial console
# #
# Segment selectors. # Segment selectors.
# #
@ -116,7 +116,7 @@ ifdef(`PROBE_KEYBOARD',`
# set the RBX_SERIAL bit in the howto byte. # set the RBX_SERIAL bit in the howto byte.
testb $KEYBOARD_BIT, MEM_BIOS_KEYBOARD # keyboard present? testb $KEYBOARD_BIT, MEM_BIOS_KEYBOARD # keyboard present?
jnz keyb # yes, so skip jnz keyb # yes, so skip
orb $RBX_SERIAL, (%bx) # enable serial console orl $RB_SERIAL, (%bx) # enable serial console
keyb: keyb:
') ')
# #

View File

@ -55,7 +55,7 @@
# #
# Boot howto bits # Boot howto bits
# #
.set RBX_SERIAL,0xc # serial console .set RB_SERIAL,0x1000 # serial console
# #
# Segment selectors. # Segment selectors.
# #
@ -116,7 +116,7 @@ ifdef(`PROBE_KEYBOARD',`
# set the RBX_SERIAL bit in the howto byte. # set the RBX_SERIAL bit in the howto byte.
testb $KEYBOARD_BIT, MEM_BIOS_KEYBOARD # keyboard present? testb $KEYBOARD_BIT, MEM_BIOS_KEYBOARD # keyboard present?
jnz keyb # yes, so skip jnz keyb # yes, so skip
orb $RBX_SERIAL, (%bx) # enable serial console orl $RB_SERIAL, (%bx) # enable serial console
keyb: keyb:
') ')
# #