Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pc532/pc532 msgbuf doesn't need VM_PROT_EXEC.
details: https://anonhg.NetBSD.org/src/rev/138c1f3ef5ed
branches: trunk
changeset: 473224:138c1f3ef5ed
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue May 25 23:31:14 1999 +0000
description:
msgbuf doesn't need VM_PROT_EXEC.
diffstat:
sys/arch/pc532/pc532/machdep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 58fcf0074ab2 -r 138c1f3ef5ed sys/arch/pc532/pc532/machdep.c
--- a/sys/arch/pc532/pc532/machdep.c Tue May 25 23:30:27 1999 +0000
+++ b/sys/arch/pc532/pc532/machdep.c Tue May 25 23:31:14 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.100 1999/05/20 08:21:46 lukem Exp $ */
+/* $NetBSD: machdep.c,v 1.101 1999/05/25 23:31:14 thorpej Exp $ */
/*-
* Copyright (c) 1996 Matthias Pfaller.
@@ -206,7 +206,7 @@
#if defined(PMAP_NEW)
for (i = 0; i < btoc(MSGBUFSIZE); i++)
pmap_kenter_pa(msgbuf_vaddr + i * NBPG,
- msgbuf_paddr + i * NBPG, VM_PROT_ALL);
+ msgbuf_paddr + i * NBPG, VM_PROT_READ | VM_PROT_WRITE);
#else
for (i = 0; i < btoc(MSGBUFSIZE); i++)
pmap_enter(pmap_kernel(), msgbuf_vaddr + i * NBPG,
Home |
Main Index |
Thread Index |
Old Index