Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm32/arm32 Nuke some more code that was fetching P...



details:   https://anonhg.NetBSD.org/src/rev/9d063357f865
branches:  trunk
changeset: 467358:9d063357f865
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Mar 23 18:39:38 1999 +0000

description:
Nuke some more code that was fetching PT_M and PT_H from pv_flags.

diffstat:

 sys/arch/arm32/arm32/pmap.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r a2d12ed4dec4 -r 9d063357f865 sys/arch/arm32/arm32/pmap.c
--- a/sys/arch/arm32/arm32/pmap.c       Tue Mar 23 18:28:12 1999 +0000
+++ b/sys/arch/arm32/arm32/pmap.c       Tue Mar 23 18:39:38 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.45 1999/03/23 13:52:48 mycroft Exp $        */
+/*     $NetBSD: pmap.c,v 1.46 1999/03/23 18:39:38 mycroft Exp $        */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -1680,8 +1680,6 @@
 
                                        flags = pmap_remove_pv(pmap, sva,
                                            &vm_physmem[bank].pmseg.pvent[off]);
-                                       vm_physmem[bank].pmseg.attrs[off]
-                                           |= flags & (PT_M | PT_H);
                                        if (flags & PT_W)
                                                pmap->pm_stats.wired_count--;
 
@@ -2145,8 +2143,7 @@
                                flags = pmap_remove_pv(pmap, va,
                                    &vm_physmem[bank].pmseg.pvent[off]);
                                if (flags & PT_W)
-                                       --pmap->pm_stats.wired_count;
-                               vm_physmem[bank].pmseg.attrs[off] |= flags & (PT_M | PT_H);
+                                       pmap->pm_stats.wired_count--;
                        }
                        /* Update the wiring stats for the new page */
                        if (wired)



Home | Main Index | Thread Index | Old Index