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:
parent
283f072077
commit
c68b62f2dc
@ -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:
|
||||||
')
|
')
|
||||||
#
|
#
|
||||||
|
@ -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:
|
||||||
')
|
')
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user