Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/0989cc497eed
branches:  trunk
changeset: 508487:0989cc497eed
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Apr 12 06:07:42 2001 +0000

description:
splimp -> splvm

diffstat:

 sys/arch/vax/vax/pmap.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 3b86555aba5e -r 0989cc497eed sys/arch/vax/vax/pmap.c
--- a/sys/arch/vax/vax/pmap.c   Thu Apr 12 05:59:25 2001 +0000
+++ b/sys/arch/vax/vax/pmap.c   Thu Apr 12 06:07:42 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.95 2001/04/01 19:18:42 ragge Exp $     */
+/*     $NetBSD: pmap.c,v 1.96 2001/04/12 06:07:42 thorpej Exp $           */
 /*
  * Copyright (c) 1994, 1998, 1999 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -531,7 +531,7 @@
 #endif
        if (IOSPACE(ptp->pg_pfn << VAX_PGSHIFT))
                return; /* Nothing in pv_table */
-       s = splimp();
+       s = splvm();
        RECURSESTART;
        if (pv->pv_pte == ptp) {
                g = (int *)pv->pv_pte;
@@ -794,7 +794,7 @@
                } else if (pmap != pmap_kernel())
                                pmap->pm_refcnt[index]++; /* New mapping */
 
-               s = splimp();
+               s = splvm();
                if (pv->pv_pte == 0) {
                        pv->pv_pte = (struct pte *) & patch[i];
                        pv->pv_pmap = pmap;
@@ -1270,7 +1270,7 @@
 
        RECURSESTART;
        if (prot == VM_PROT_NONE) {
-               s = splimp();
+               s = splvm();
                g = (int *)pv->pv_pte;
                if (g) {
                        if ((pv->pv_attr & (PG_V|PG_M)) != (PG_V|PG_M))
@@ -1376,7 +1376,7 @@
 get_pventry()
 {
        struct pv_entry *tmp;
-       int s = splimp();
+       int s = splvm();
 
        if (pventries == 0)
                panic("get_pventry");
@@ -1392,7 +1392,7 @@
 free_pventry(pv)
        struct pv_entry *pv;
 {
-       int s = splimp();
+       int s = splvm();
 
        pv->pv_next = pv_list;
        pv_list = pv;
@@ -1419,7 +1419,7 @@
        for (i = 0; i < count; i++)
                pv[i].pv_next = &pv[i + 1];
 
-       s = splimp();
+       s = splvm();
        pv[count - 1].pv_next = pv_list;
        pv_list = pv;
        pventries += count;



Home | Main Index | Thread Index | Old Index