Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/i386/include pullup 1.7->1.8 (chuq)
details: https://anonhg.NetBSD.org/src/rev/52fdedd2e993
branches: netbsd-1-4
changeset: 468653:52fdedd2e993
user: perry <perry%NetBSD.org@localhost>
date: Wed May 05 17:02:34 1999 +0000
description:
pullup 1.7->1.8 (chuq)
diffstat:
sys/arch/i386/include/pmap.new.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 89bf6adad076 -r 52fdedd2e993 sys/arch/i386/include/pmap.new.h
--- a/sys/arch/i386/include/pmap.new.h Wed May 05 16:23:07 1999 +0000
+++ b/sys/arch/i386/include/pmap.new.h Wed May 05 17:02:34 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.new.h,v 1.7 1998/08/13 21:36:05 thorpej Exp $ */
+/* $NetBSD: pmap.new.h,v 1.7.6.1 1999/05/05 17:02:34 perry Exp $ */
/*
*
@@ -496,7 +496,16 @@
vm_prot_t prot;
{
+ struct pmap *pm = pmap_kernel();
pt_entry_t *pte, opte;
+ int s;
+
+ s = splimp();
+ simple_lock(&pm->pm_obj.vmobjlock);
+ pm->pm_stats.resident_count++;
+ pm->pm_stats.wired_count++;
+ simple_unlock(&pm->pm_obj.vmobjlock);
+ splx(s);
pte = vtopte(va);
opte = *pte;
Home |
Main Index |
Thread Index |
Old Index