Source-Changes-HG archive

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

[src/trunk]: src/sys/arch splimp() -> splvm()



details:   https://anonhg.NetBSD.org/src/rev/cbabb1f12ed4
branches:  trunk
changeset: 502230:cbabb1f12ed4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jan 14 03:32:20 2001 +0000

description:
splimp() -> splvm()

diffstat:

 sys/arch/alpha/alpha/pmap.c |   6 +++---
 sys/arch/amiga/amiga/pmap.c |  26 +++++++++++++-------------
 sys/arch/arm26/arm26/pmap.c |  10 +++++-----
 3 files changed, 21 insertions(+), 21 deletions(-)

diffs (189 lines):

diff -r fe723daa0c41 -r cbabb1f12ed4 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c       Sun Jan 14 03:22:04 2001 +0000
+++ b/sys/arch/alpha/alpha/pmap.c       Sun Jan 14 03:32:20 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.155 2000/12/21 00:52:01 chs Exp $ */
+/* $NetBSD: pmap.c,v 1.156 2001/01/14 03:33:34 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -154,7 +154,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.155 2000/12/21 00:52:01 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.156 2001/01/14 03:33:34 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -448,7 +448,7 @@
 
 #define        PSJQ_LOCK(pq, s)                                                \
 do {                                                                   \
-       s = splimp();                                                   \
+       s = splvm();                                                    \
        simple_lock(&(pq)->pq_slock);                                   \
 } while (0)
 
diff -r fe723daa0c41 -r cbabb1f12ed4 sys/arch/amiga/amiga/pmap.c
--- a/sys/arch/amiga/amiga/pmap.c       Sun Jan 14 03:22:04 2001 +0000
+++ b/sys/arch/amiga/amiga/pmap.c       Sun Jan 14 03:32:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.80 2001/01/13 11:31:04 aymeric Exp $        */
+/*     $NetBSD: pmap.c,v 1.81 2001/01/14 03:33:11 thorpej Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -1008,7 +1008,7 @@
        /* remove_all */
        default:
                pv = pa_to_pvh(pa);
-               s = splimp();
+               s = splvm();
                while (pv->pv_pmap != NULL) {
                        pt_entry_t  *pte;
 
@@ -1251,7 +1251,7 @@
                enter_stats.managed++;
 #endif
                pv = pa_to_pvh(pa);
-               s = splimp();
+               s = splvm();
 #ifdef DEBUG
                if (pmapdebug & PDB_ENTER)
                        printf("enter: pv at %p: %lx/%p/%p\n",
@@ -1597,7 +1597,7 @@
                printf("pmap_collect(%p)\n", pmap);
        kpt_stats.collectscans++;
 #endif
-       s = splimp();
+       s = splvm();
 
        for (bank = 0; bank < vm_nphysseg; bank++)
                pmap_collect1(pmap, ptoa(vm_physmem[bank].start),
@@ -1752,7 +1752,7 @@
  *     machine dependent page at a time.
  *
  *     Note: WE DO NOT CURRENTLY LOCK THE TEMPORARY ADDRESSES!
- *           (Actually, we go to splimp(), and since we don't
+ *           (Actually, we go to splvm(), and since we don't
  *           support multiple processors, this is sufficient.)
  */
 void
@@ -1777,7 +1777,7 @@
        }
 #endif
 
-       s = splimp();
+       s = splvm();
 
        *CMAP1 = phys | dst_pte;
        TBIS((vaddr_t)CADDR1);
@@ -1803,7 +1803,7 @@
  *     dependent page at a time.
  *
  *     Note: WE DO NOT CURRENTLY LOCK THE TEMPORARY ADDRESSES!
- *           (Actually, we go to splimp(), and since we don't
+ *           (Actually, we go to splvm(), and since we don't
  *           support multiple processors, this is sufficient.)
  */
 void
@@ -1829,7 +1829,7 @@
        }
 #endif
 
-       s = splimp();
+       s = splvm();
        *CMAP1 = src | src_pte;
        TBIS((vaddr_t)CADDR1);
        *CMAP2 = dst | dst_pte;
@@ -2086,7 +2086,7 @@
         */
        pv = pa_to_pvh(pa);
        ste = ST_ENTRY_NULL;
-       s = splimp();
+       s = splvm();
        /*
         * If it is the first entry on the list, it is actually
         * in the header and we must copy the following entry up
@@ -2295,7 +2295,7 @@
                return(FALSE);
 
        pv = pa_to_pvh(pa);
-       s = splimp();
+       s = splvm();
        /*
         * Check saved info first
         */
@@ -2343,7 +2343,7 @@
                return;
 
        pv = pa_to_pvh(pa);
-       s = splimp();
+       s = splvm();
        /*
         * Clear saved attributes (modify, reference)
         */
@@ -2508,7 +2508,7 @@
        if (pmap == pmap_kernel()) {
                struct kpt_page *kpt;
 
-               s = splimp();
+               s = splvm();
                if ((kpt = kpt_free_list) == (struct kpt_page *)0) {
                        /*
                         * No PT pages available.
@@ -2599,7 +2599,7 @@
         * the STE when we remove the mapping for the page.
         */
        pv = pa_to_pvh(ptpa);
-       s = splimp();
+       s = splvm();
        if (pv) {
                pv->pv_flags |= PV_PTPAGE;
                do {
diff -r fe723daa0c41 -r cbabb1f12ed4 sys/arch/arm26/arm26/pmap.c
--- a/sys/arch/arm26/arm26/pmap.c       Sun Jan 14 03:22:04 2001 +0000
+++ b/sys/arch/arm26/arm26/pmap.c       Sun Jan 14 03:32:20 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.15 2000/12/31 16:09:34 bjh21 Exp $ */
+/* $NetBSD: pmap.c,v 1.16 2001/01/14 03:32:20 thorpej Exp $ */
 /*-
  * Copyright (c) 1997, 1998, 2000 Ben Harris
  * All rights reserved.
@@ -105,7 +105,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.15 2000/12/31 16:09:34 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.16 2001/01/14 03:32:20 thorpej Exp $");
 
 #include <sys/kernel.h> /* for cold */
 #include <sys/malloc.h>
@@ -609,7 +609,7 @@
 
        UVMHIST_LOG(pmaphist, "mapping ppn %d at lpn %d in pmap %p",
               ppn, lpn, pmap, 0);
-       s = splimp();
+       s = splvm();
 
        /* Remove any existing mapping at this lpn */
        if (pmap->pm_entries[lpn] != NULL &&
@@ -653,7 +653,7 @@
        slpn = atop(sva); elpn = atop(eva);
        UVMHIST_LOG(pmaphist, "clearing from lpn %d to lpn %d in pmap %p",
               slpn, elpn - 1, pmap, 0);
-       s = splimp();
+       s = splvm();
        for (lpn = slpn; lpn < elpn; lpn++) {
                pv = pmap->pm_entries[lpn];
                if (pv != NULL) {
@@ -910,7 +910,7 @@
                return; /* can't restrict kernel w/o unmapping. */
 
        slpn = atop(sva); elpn = atop(eva);
-       s = splimp();
+       s = splvm();
        for (lpn = slpn; lpn < elpn; lpn++) {
                pv = pmap->pm_entries[lpn];
                if (pv != NULL) {



Home | Main Index | Thread Index | Old Index