diff options
author | 2006-10-25 03:59:59 +0000 | |
---|---|---|
committer | 2006-10-25 03:59:59 +0000 | |
commit | 310ed36b59a68e9e0f066ab87a7d20a4751e6ed5 (patch) | |
tree | 3ffc56bd8dfe78299db8161fdb65011ad9ed8b2b /sys | |
parent | replace a few more instances of hand rolled code with the (diff) | |
download | wireguard-openbsd-310ed36b59a68e9e0f066ab87a7d20a4751e6ed5.tar.xz wireguard-openbsd-310ed36b59a68e9e0f066ab87a7d20a4751e6ed5.zip |
Add ramdisk hooks portion.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/landisk/landisk/machdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c index 8a98483194d..d0997d713b1 100644 --- a/sys/arch/landisk/landisk/machdep.c +++ b/sys/arch/landisk/landisk/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.4 2006/10/19 22:15:02 drahn Exp $ */ +/* $OpenBSD: machdep.c,v 1.5 2006/10/25 03:59:59 drahn Exp $ */ /* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -161,6 +161,10 @@ landisk_startup(int howto, char *_esym, void *bi) /* Initialize pmap and start to address translation */ pmap_bootstrap(); +#ifdef RAMDISK_HOOKS + boothowto |= RB_DFLTROOT; +#endif /* RAMDISK_HOOKS */ + #if defined(DDB) db_machine_init(); ddb_init(); |