diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2006-10-19 22:15:03 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2006-10-19 22:15:03 +0000 |
commit | 0a751b86ddc4f2d130c7f0816cab4ad260d29383 (patch) | |
tree | 8bd2ce58fec31f84cbaf044b3902e5d4c404f935 /sys | |
parent | 372d35d272e44a15353e3f1ec6680c3da7474522 (diff) |
support boot -c
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/landisk/landisk/machdep.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c index 9b376e7c639..8a98483194d 100644 --- a/sys/arch/landisk/landisk/machdep.c +++ b/sys/arch/landisk/landisk/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.3 2006/10/16 21:21:00 drahn Exp $ */ +/* $OpenBSD: machdep.c,v 1.4 2006/10/19 22:15:02 drahn Exp $ */ /* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -168,6 +168,13 @@ landisk_startup(int howto, char *_esym, void *bi) Debugger(); } #endif + if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG + user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif + } /* Jump to main */ __asm volatile( |