Add BOOT_PXELDR_ALWAYS_SERIAL option which forces serial console.

This commit is contained in:
Poul-Henning Kamp 2003-09-03 08:12:20 +00:00
parent 0204ca844f
commit 27cb47196a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119714
3 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,11 @@ M4?= m4
M4FLAGS+= -DPROBE_KEYBOARD
.endif
.if defined(BOOT_PXELDR_ALWAYS_SERIAL)
M4FLAGS+= -DALWAYS_SERIAL
.endif
.if exists(${.OBJDIR}/../loader)
LOADERBIN= ${.OBJDIR}/../loader/loader.bin
.else

View File

@ -110,6 +110,11 @@ start: cld # string ops inc
orb $KARGS_FLAGS_PXE, 0x8(%bx) # kargs->bootflags |=
# KARGS_FLAGS_PXE
popl 0xc(%bx) # kargs->pxeinfo = *PXENV+
ifdef(`ALWAYS_SERIAL',`
#
# set the RBX_SERIAL bit in the howto byte.
orl $RB_SERIAL, (%bx) # enable serial console
')
ifdef(`PROBE_KEYBOARD',`
#
# Look at the BIOS data area to see if we have an enhanced keyboard. If not,

View File

@ -110,6 +110,11 @@ start: cld # string ops inc
orb $KARGS_FLAGS_PXE, 0x8(%bx) # kargs->bootflags |=
# KARGS_FLAGS_PXE
popl 0xc(%bx) # kargs->pxeinfo = *PXENV+
ifdef(`ALWAYS_SERIAL',`
#
# set the RBX_SERIAL bit in the howto byte.
orl $RB_SERIAL, (%bx) # enable serial console
')
ifdef(`PROBE_KEYBOARD',`
#
# Look at the BIOS data area to see if we have an enhanced keyboard. If not,