diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-27 11:40:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-27 11:40:52 +0000 |
commit | 830252a9a76dbb4c62201c453b36989c13fd0f07 (patch) | |
tree | 73523b138e6f766a8e23529f82050b4205a373fc | |
parent | 667a4b898dba9d39307423e234e2f0e6daf8bcc6 (diff) |
handle RB_CONFIG
-rw-r--r-- | sys/arch/alpha/alpha/machdep.c | 7 | ||||
-rw-r--r-- | sys/arch/amiga/amiga/machdep.c | 9 | ||||
-rw-r--r-- | sys/arch/arc/arc/machdep.c | 11 | ||||
-rw-r--r-- | sys/arch/arm32/arm32/machdep.c | 7 | ||||
-rw-r--r-- | sys/arch/atari/atari/machdep.c | 7 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/machdep.c | 9 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 9 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 7 | ||||
-rw-r--r-- | sys/arch/pc532/pc532/machdep.c | 7 | ||||
-rw-r--r-- | sys/arch/pica/pica/machdep.c | 9 | ||||
-rw-r--r-- | sys/arch/pmax/pmax/machdep.c | 7 | ||||
-rw-r--r-- | sys/arch/vax/vax/machdep.c | 7 |
12 files changed, 90 insertions, 6 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index 86aba6f5c23..f060b8fe2ca 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -711,6 +711,13 @@ cpu_startup() /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c index 990a37c97a7..99b214fcaf4 100644 --- a/sys/arch/amiga/amiga/machdep.c +++ b/sys/arch/amiga/amiga/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.13 1996/05/29 10:14:29 niklas Exp $ */ +/* $OpenBSD: machdep.c,v 1.14 1996/07/27 11:40:26 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.72 1996/05/19 14:55:31 is Exp $ */ /* @@ -541,6 +541,13 @@ again: /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); #ifdef DEBUG printf("survived configure...\n"); diff --git a/sys/arch/arc/arc/machdep.c b/sys/arch/arc/arc/machdep.c index cf99cea878a..2dc6eefabfc 100644 --- a/sys/arch/arc/arc/machdep.c +++ b/sys/arch/arc/arc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.2 1996/07/16 07:46:12 pefo Exp $ */ +/* $OpenBSD: machdep.c,v 1.3 1996/07/27 11:40:29 deraadt Exp $ */ /* * Copyright (c) 1988 University of Utah. * Copyright (c) 1992, 1993 @@ -38,7 +38,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 8.3 (Berkeley) 1/12/94 - * $Id: machdep.c,v 1.2 1996/07/16 07:46:12 pefo Exp $ + * $Id: machdep.c,v 1.3 1996/07/27 11:40:29 deraadt Exp $ */ /* from: Utah Hdr: machdep.c 1.63 91/04/24 */ @@ -618,6 +618,13 @@ cpu_startup() /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/arm32/arm32/machdep.c b/sys/arch/arm32/arm32/machdep.c index 6ec881a5d9b..a962a32215d 100644 --- a/sys/arch/arm32/arm32/machdep.c +++ b/sys/arch/arm32/arm32/machdep.c @@ -1433,6 +1433,13 @@ cpu_startup() * Configure the hardware */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); /* Set the root, swap and dump devices from the boot args */ diff --git a/sys/arch/atari/atari/machdep.c b/sys/arch/atari/atari/machdep.c index 3b0d07e9d89..dc92e536670 100644 --- a/sys/arch/atari/atari/machdep.c +++ b/sys/arch/atari/atari/machdep.c @@ -350,6 +350,13 @@ again: /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c index 677d619a6ed..07d4cb55fcd 100644 --- a/sys/arch/mac68k/mac68k/machdep.c +++ b/sys/arch/mac68k/mac68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.16 1996/06/23 15:39:10 briggs Exp $ */ +/* $OpenBSD: machdep.c,v 1.17 1996/07/27 11:40:38 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.110 1996/06/21 06:11:02 scottr Exp $ */ /* @@ -440,6 +440,13 @@ again: /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index 1ba75a3f175..80bf5a7cd33 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.11 1996/06/11 10:15:54 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.12 1996/07/27 11:40:42 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -392,6 +392,13 @@ again: /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index cee667b0be4..1410362e2da 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -406,6 +406,13 @@ cpu_startup() * Configure the system. */ nofault = NULL; + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); dumpconf(); diff --git a/sys/arch/pc532/pc532/machdep.c b/sys/arch/pc532/pc532/machdep.c index 4cf8919207c..277237a481d 100644 --- a/sys/arch/pc532/pc532/machdep.c +++ b/sys/arch/pc532/pc532/machdep.c @@ -479,6 +479,13 @@ again: /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/pica/pica/machdep.c b/sys/arch/pica/pica/machdep.c index 9491a0c9e51..25ec8a2acb1 100644 --- a/sys/arch/pica/pica/machdep.c +++ b/sys/arch/pica/pica/machdep.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 8.3 (Berkeley) 1/12/94 - * $Id: machdep.c,v 1.9 1996/06/06 23:07:37 deraadt Exp $ + * $Id: machdep.c,v 1.10 1996/07/27 11:40:49 deraadt Exp $ */ /* from: Utah Hdr: machdep.c 1.63 91/04/24 */ @@ -616,6 +616,13 @@ cpu_startup() /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/pmax/pmax/machdep.c b/sys/arch/pmax/pmax/machdep.c index a7c652305f7..8422bc65cae 100644 --- a/sys/arch/pmax/pmax/machdep.c +++ b/sys/arch/pmax/pmax/machdep.c @@ -811,6 +811,13 @@ cpu_startup() /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c index 2cdc6cdc5d0..53cbc176d44 100644 --- a/sys/arch/vax/vax/machdep.c +++ b/sys/arch/vax/vax/machdep.c @@ -265,6 +265,13 @@ cpu_startup() /* * Configure the system. */ + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } configure(); } |