summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/pxeldr/pxeldr.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/pxeldr/pxeldr.s')
-rw-r--r--sys/boot/i386/pxeldr/pxeldr.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/i386/pxeldr/pxeldr.s b/sys/boot/i386/pxeldr/pxeldr.s
index 05383e0..fa93c9c 100644
--- a/sys/boot/i386/pxeldr/pxeldr.s
+++ b/sys/boot/i386/pxeldr/pxeldr.s
@@ -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,
OpenPOWER on IntegriCloud