diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-10-04 00:21:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-10-04 00:21:13 +0000 |
commit | b32a1021fb98b48b526f77f3d361c479c50f98a0 (patch) | |
tree | 9d18143f320440749dd792db06f743c7664db168 | |
parent | 1a4a9fb6993ee454b95c39f83b03e156acd3022f (diff) |
UKC on vax.
-rw-r--r-- | sys/arch/vax/boot/boot/boot.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/boot.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/vax/machdep.c | 13 |
3 files changed, 18 insertions, 3 deletions
diff --git a/sys/arch/vax/boot/boot/boot.c b/sys/arch/vax/boot/boot/boot.c index 1a379791eeb..2dec2e6fb0f 100644 --- a/sys/arch/vax/boot/boot/boot.c +++ b/sys/arch/vax/boot/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.7 2001/09/10 04:28:52 bjc Exp $ */ +/* $OpenBSD: boot.c,v 1.8 2001/10/04 00:21:09 miod Exp $ */ /* $NetBSD: boot.c,v 1.4 1999/10/23 14:42:22 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -202,6 +202,8 @@ fail: printf("usage: boot [filename] [-asd]\n"); while (*++arg) { if (*arg == 'a') howto |= RB_ASKNAME; + else if (*arg == 'c') + howto |= RB_CONFIG; else if (*arg == 'd') howto |= RB_KDB; else if (*arg == 's') diff --git a/sys/arch/vax/stand/boot/boot.c b/sys/arch/vax/stand/boot/boot.c index 1a379791eeb..2dec2e6fb0f 100644 --- a/sys/arch/vax/stand/boot/boot.c +++ b/sys/arch/vax/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.7 2001/09/10 04:28:52 bjc Exp $ */ +/* $OpenBSD: boot.c,v 1.8 2001/10/04 00:21:09 miod Exp $ */ /* $NetBSD: boot.c,v 1.4 1999/10/23 14:42:22 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -202,6 +202,8 @@ fail: printf("usage: boot [filename] [-asd]\n"); while (*++arg) { if (*arg == 'a') howto |= RB_ASKNAME; + else if (*arg == 'c') + howto |= RB_CONFIG; else if (*arg == 'd') howto |= RB_KDB; else if (*arg == 's') diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c index 505ad25f327..f188b5b1335 100644 --- a/sys/arch/vax/vax/machdep.c +++ b/sys/arch/vax/vax/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.40 2001/09/19 20:50:57 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.41 2001/10/04 00:21:12 miod Exp $ */ /* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */ /* @@ -278,6 +278,17 @@ cpu_startup() */ bufinit(); + + /* + * Configure the system. + */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } } long dumplo = 0; |