Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc pmap_kenter_pa4_4c(): set supervisor bi...
details: https://anonhg.NetBSD.org/src/rev/d1d3c89c05d6
branches: trunk
changeset: 521153:d1d3c89c05d6
user: pk <pk%NetBSD.org@localhost>
date: Thu Jan 24 16:50:34 2002 +0000
description:
pmap_kenter_pa4_4c(): set supervisor bit in PTE.
diffstat:
sys/arch/sparc/sparc/pmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 13894e0caa4c -r d1d3c89c05d6 sys/arch/sparc/sparc/pmap.c
--- a/sys/arch/sparc/sparc/pmap.c Thu Jan 24 14:49:16 2002 +0000
+++ b/sys/arch/sparc/sparc/pmap.c Thu Jan 24 16:50:34 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.201 2001/12/15 09:00:50 chs Exp $ */
+/* $NetBSD: pmap.c,v 1.202 2002/01/24 16:50:34 pk Exp $ */
/*
* Copyright (c) 1996
@@ -5667,7 +5667,7 @@
int vr, vs, i, s;
int pteproto, ctx;
- pteproto = PG_V | PMAP_T2PTE_4(pa);
+ pteproto = PG_S | PG_V | PMAP_T2PTE_4(pa);
pa &= ~PMAP_TNC_4;
pteproto |= atop(pa) & PG_PFNUM;
if (prot & VM_PROT_WRITE)
Home |
Main Index |
Thread Index |
Old Index