mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 21:33:04 +00:00
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
702665c754
commit
0a7f15c202
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69395
@ -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:
|
||||
')
|
||||
#
|
||||
|
@ -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:
|
||||
')
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user