From 27980039fe4ab0df810445f260b17a1ca477c16d Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Fri, 9 May 2003 23:10:22 +0000 Subject: No need to map the message buffer executable. fries@ niklas@ ok --- sys/arch/hp300/hp300/machdep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/hp300') 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)); -- cgit v1.2.3