summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2003-05-09 23:10:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2003-05-09 23:10:22 +0000
commit27980039fe4ab0df810445f260b17a1ca477c16d (patch)
tree1529d2549dde0a303807422cb8c75335e67c4dda /sys/arch/hp300
parent60fd59680454e411ffce2ad46a2bb1002513b9f1 (diff)
No need to map the message buffer executable.
fries@ niklas@ ok
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c
index 45b658b01df..d3b54432d9b 100644
--- a/sys/arch/hp300/hp300/machdep.c
+++ b/sys/arch/hp300/hp300/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.85 2003/04/06 18:54:18 ho Exp $ */
+/* $OpenBSD: machdep.c,v 1.86 2003/05/09 23:10:21 art Exp $ */
/* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */
/*
@@ -267,7 +267,8 @@ cpu_startup()
*/
for (i = 0; i < btoc(MSGBUFSIZE); i++)
pmap_enter(pmap_kernel(), (vaddr_t)msgbufp + i * NBPG,
- avail_end + i * NBPG, VM_PROT_ALL, VM_PROT_ALL|PMAP_WIRED);
+ avail_end + i * NBPG, VM_PROT_READ|VM_PROT_WRITE,
+ VM_PROT_READ|VM_PROT_WRITE|PMAP_WIRED);
pmap_update(pmap_kernel());
initmsgbuf((caddr_t)msgbufp, round_page(MSGBUFSIZE));