summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-09-21 16:58:42 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-09-21 16:58:42 +0000
commitcd162c506aea504d897699e7b245692e8cea1285 (patch)
tree12e03a3c7b50a0659b3a4a5db40b31d769bfef2f /sys
parentf60f996cc6f13686d03bd6a749d06a0e2438da84 (diff)
Add the support for "-c", UKC in the bootloader. Note that currently this
is not fully supported by the kernel, so will just hang the machine.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/stand/boot.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/macppc/stand/boot.c b/sys/arch/macppc/stand/boot.c
index 06b30565882..362c7b5a5d0 100644
--- a/sys/arch/macppc/stand/boot.c
+++ b/sys/arch/macppc/stand/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.1 2001/09/01 15:39:02 drahn Exp $ */
+/* $OpenBSD: boot.c,v 1.2 2001/09/21 16:58:41 drahn Exp $ */
/* $NetBSD: boot.c,v 1.1 1997/04/16 20:29:17 thorpej Exp $ */
/*
@@ -127,6 +127,9 @@ parseargs(str, howtop)
case 'a':
*howtop |= RB_ASKNAME;
break;
+ case 'c':
+ *howtop |= RB_CONFIG;
+ break;
case 's':
*howtop |= RB_SINGLE;
break;
@@ -221,6 +224,8 @@ main()
*cp = '-';
if (boothowto & RB_ASKNAME)
*++cp = 'a';
+ if (boothowto & RB_CONFIG)
+ *++cp = 'c';
if (boothowto & RB_SINGLE)
*++cp = 's';
if (boothowto & RB_KDB)