Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/arch/hppa/hppa Pull up revision 1.16 (requested by ch...
details: https://anonhg.NetBSD.org/src/rev/c358c34291f8
branches: netbsd-3
changeset: 576000:c358c34291f8
user: tron <tron%NetBSD.org@localhost>
date: Mon Jun 06 12:16:19 2005 +0000
description:
Pull up revision 1.16 (requested by chs in ticket #424):
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.
diffstat:
sys/arch/hppa/hppa/pmap.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r a86cb4971006 -r c358c34291f8 sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Mon Jun 06 12:16:10 2005 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Mon Jun 06 12:16:19 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.14 2004/07/18 23:21:35 chs Exp $ */
+/* $NetBSD: pmap.c,v 1.14.10.1 2005/06/06 12:16:19 tron Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.14 2004/07/18 23:21:35 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.14.10.1 2005/06/06 12:16:19 tron Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1350,6 +1350,11 @@
tlbprot = pmap_prot(pmap, prot) | pmap->pmap_pid;
if (wired)
tlbprot |= TLB_WIRED;
+ if (flags & VM_PROT_ALL) {
+ tlbprot |= TLB_REF;
+ if (flags & VM_PROT_WRITE)
+ tlbprot |= TLB_DIRTY;
+ }
#ifdef PMAPDEBUG
if (!pmap_initialized || (pmapdebug & PDB_ENTER))
Home |
Main Index |
Thread Index |
Old Index