Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386 Disable pmap_copy() for now.



details:   https://anonhg.NetBSD.org/src/rev/c0c7cad7cf79
branches:  trunk
changeset: 487933:c0c7cad7cf79
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Jun 15 13:35:27 2000 +0000

description:
Disable pmap_copy() for now.

diffstat:

 sys/arch/i386/i386/pmap.c    |  6 +++++-
 sys/arch/i386/include/pmap.h |  8 +++++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (77 lines):

diff -r 09f2c5051f52 -r c0c7cad7cf79 sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Thu Jun 15 13:08:23 2000 +0000
+++ b/sys/arch/i386/i386/pmap.c Thu Jun 15 13:35:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.93 2000/06/03 17:33:28 fvdl Exp $   */
+/*     $NetBSD: pmap.c,v 1.94 2000/06/15 13:35:27 mycroft Exp $        */
 
 /*
  *
@@ -421,11 +421,13 @@
 static pt_entry_t      *pmap_tmpmap_pvepte __P((struct pv_entry *));
 static void             pmap_tmpunmap_pa __P((void));
 static void             pmap_tmpunmap_pvepte __P((struct pv_entry *));
+#if 0
 static boolean_t        pmap_transfer_ptes __P((struct pmap *,
                                         struct pmap_transfer_location *,
                                         struct pmap *,
                                         struct pmap_transfer_location *,
                                         int, boolean_t));
+#endif
 static boolean_t        pmap_try_steal_pv __P((struct pv_head *,
                                                struct pv_entry *,
                                                struct pv_entry *));
@@ -2945,6 +2947,7 @@
        pmap_remove(pmap, VM_MIN_ADDRESS, VM_MAX_ADDRESS);
 }
 
+#if 0
 /*
  * pmap_transfer: transfer (move or copy) mapping from one pmap
  *     to another.
@@ -3409,6 +3412,7 @@
 /*
  * defined as macro call to pmap_transfer in pmap.h
  */
+#endif
 
 /*
  * pmap_enter: enter a mapping into a pmap
diff -r 09f2c5051f52 -r c0c7cad7cf79 sys/arch/i386/include/pmap.h
--- a/sys/arch/i386/include/pmap.h      Thu Jun 15 13:08:23 2000 +0000
+++ b/sys/arch/i386/include/pmap.h      Thu Jun 15 13:35:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.45 2000/06/15 13:35:34 mycroft Exp $        */
 
 /*
  *
@@ -342,6 +342,7 @@
        vaddr_t prr_vas[PMAP_RR_MAX];
 };
 
+#if 0
 /*
  * pmap_transfer_location: used to pass the current location in the
  * pmap between pmap_transfer and pmap_transfer_ptes [e.g. during
@@ -353,6 +354,7 @@
        pt_entry_t *pte;                /* the PTE that maps address */
        struct vm_page *ptp;            /* the PTP that the PTE lives in */
 };
+#endif
 
 /*
  * global kernel variables
@@ -375,10 +377,10 @@
 
 #define pmap_clear_modify(pg)          pmap_change_attrs(pg, 0, PG_M)
 #define pmap_clear_reference(pg)       pmap_change_attrs(pg, 0, PG_U)
-#define pmap_copy(DP,SP,D,L,S)         pmap_transfer(DP,SP,D,L,S, FALSE)
+#define pmap_copy(DP,SP,D,L,S)         
 #define pmap_is_modified(pg)           pmap_test_attrs(pg, PG_M)
 #define pmap_is_referenced(pg)         pmap_test_attrs(pg, PG_U)
-#define pmap_move(DP,SP,D,L,S)         pmap_transfer(DP,SP,D,L,S, TRUE)
+#define pmap_move(DP,SP,D,L,S)         
 #define pmap_phys_address(ppn)         i386_ptob(ppn)
 #define pmap_valid_entry(E)            ((E) & PG_V) /* is PDE or PTE valid? */
 



Home | Main Index | Thread Index | Old Index