splimp -> splvm
This commit is contained in:
parent
a5b2b2d549
commit
ff7a879497
|
@ -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 @@ if (startpmapdebug)
|
|||
#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 @@ if (startpmapdebug)
|
|||
} 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 @@ if(startpmapdebug) printf("pa %lx\n",pa);
|
|||
|
||||
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 @@ struct pv_entry *
|
|||
get_pventry()
|
||||
{
|
||||
struct pv_entry *tmp;
|
||||
int s = splimp();
|
||||
int s = splvm();
|
||||
|
||||
if (pventries == 0)
|
||||
panic("get_pventry");
|
||||
|
@ -1392,7 +1392,7 @@ void
|
|||
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 @@ more_pventries()
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue