summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-10-23 20:27:48 +0000
committerjlemon <jlemon@FreeBSD.org>2001-10-23 20:27:48 +0000
commitfa5eeb011cffbe5b0cdeb8cdf5da29e700341f1c (patch)
treeb5efb83583fcb10bc2fd822d813984310bbf10d3 /sys/boot/i386
parent49aab78a84f137d226ff996635f34a8b9bd15518 (diff)
downloadFreeBSD-src-fa5eeb011cffbe5b0cdeb8cdf5da29e700341f1c.zip
FreeBSD-src-fa5eeb011cffbe5b0cdeb8cdf5da29e700341f1c.tar.gz
Set RB_MULTIPLE (multiple console support) if the kernel is booted
with the -D flag.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/libi386/bootinfo.c3
-rw-r--r--sys/boot/i386/libi386/bootinfo32.c3
-rw-r--r--sys/boot/i386/libi386/bootinfo64.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/bootinfo.c b/sys/boot/i386/libi386/bootinfo.c
index e07ff88..9b1368c 100644
--- a/sys/boot/i386/libi386/bootinfo.c
+++ b/sys/boot/i386/libi386/bootinfo.c
@@ -88,6 +88,9 @@ bi_getboothowto(char *kargs)
case 'd':
howto |= RB_KDB;
break;
+ case 'D':
+ howto |= RB_MULTIPLE;
+ break;
case 'm':
howto |= RB_MUTE;
break;
diff --git a/sys/boot/i386/libi386/bootinfo32.c b/sys/boot/i386/libi386/bootinfo32.c
index e07ff88..9b1368c 100644
--- a/sys/boot/i386/libi386/bootinfo32.c
+++ b/sys/boot/i386/libi386/bootinfo32.c
@@ -88,6 +88,9 @@ bi_getboothowto(char *kargs)
case 'd':
howto |= RB_KDB;
break;
+ case 'D':
+ howto |= RB_MULTIPLE;
+ break;
case 'm':
howto |= RB_MUTE;
break;
diff --git a/sys/boot/i386/libi386/bootinfo64.c b/sys/boot/i386/libi386/bootinfo64.c
index e07ff88..9b1368c 100644
--- a/sys/boot/i386/libi386/bootinfo64.c
+++ b/sys/boot/i386/libi386/bootinfo64.c
@@ -88,6 +88,9 @@ bi_getboothowto(char *kargs)
case 'd':
howto |= RB_KDB;
break;
+ case 'D':
+ howto |= RB_MULTIPLE;
+ break;
case 'm':
howto |= RB_MUTE;
break;
OpenPOWER on IntegriCloud