diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-10-25 20:30:46 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-10-25 20:30:46 +0000 |
commit | 6002c4a88c221ad5722ec92edb92974483c432f8 (patch) | |
tree | 7e7ebf4726b7b80103285bd1becfb64af57b9cf3 /sys/arch/i386 | |
parent | 1b0d606670c13232cf51b51833fa2820a7c7207b (diff) |
Boot args needs to be r/w
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 0e4d96a57c4..90c94d52b49 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.59 1997/10/25 08:36:41 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.60 1997/10/25 20:30:45 niklas Exp $ */ /* $NetBSD: machdep.c,v 1.202 1996/05/18 15:54:59 christos Exp $ */ /*- @@ -221,7 +221,7 @@ cpu_startup() for (i = 0; i < btoc(bootargc); i++, pa += NBPG) pmap_enter(pmap_kernel(), (vm_offset_t)((caddr_t)bootargp + i * NBPG), - pa, VM_PROT_READ, TRUE); + pa, VM_PROT_READ|VM_PROT_WRITE, TRUE); } else bootargp = NULL; |