vm_map_t -> struct vm_map *
vm_page_t -> struct vm_page * simple_lock_data_t -> struct simplelock
This commit is contained in:
parent
f768d0ff1a
commit
b97fed556d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.2 2001/05/30 15:24:28 lukem Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.3 2001/06/15 17:48:13 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -110,9 +110,9 @@ char machine[] = MACHINE; /* cpu "architecture" */
|
|||
/* Our exported CPU info; we can have only one. */
|
||||
struct cpu_info cpu_info_store;
|
||||
|
||||
vm_map_t exec_map = NULL;
|
||||
vm_map_t mb_map = NULL;
|
||||
vm_map_t phys_map = NULL;
|
||||
struct vm_map *exec_map = NULL;
|
||||
struct vm_map *mb_map = NULL;
|
||||
struct vm_map *phys_map = NULL;
|
||||
|
||||
extern vaddr_t virtual_avail;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.2 2001/05/16 18:47:04 drochner Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.3 2001/06/15 17:48:13 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -211,7 +211,7 @@ st_entry_t *Segtabzero, *Segtabzeropa;
|
|||
vsize_t Sysptsize = VM_KERNEL_PT_PAGES;
|
||||
|
||||
struct pmap kernel_pmap_store;
|
||||
vm_map_t st_map, pt_map;
|
||||
struct vm_map *st_map, *pt_map;
|
||||
struct vm_map st_map_store, pt_map_store;
|
||||
|
||||
paddr_t avail_start; /* PA of first available physical page */
|
||||
|
@ -2603,7 +2603,7 @@ void
|
|||
pmap_ptpage_addref(ptpva)
|
||||
vaddr_t ptpva;
|
||||
{
|
||||
vm_page_t m;
|
||||
struct vm_page *m;
|
||||
|
||||
simple_lock(&uvm.kernel_object->vmobjlock);
|
||||
m = uvm_pagelookup(uvm.kernel_object, ptpva - vm_map_min(kernel_map));
|
||||
|
@ -2620,7 +2620,7 @@ int
|
|||
pmap_ptpage_delref(ptpva)
|
||||
vaddr_t ptpva;
|
||||
{
|
||||
vm_page_t m;
|
||||
struct vm_page *m;
|
||||
int rv;
|
||||
|
||||
simple_lock(&uvm.kernel_object->vmobjlock);
|
||||
|
@ -2666,7 +2666,7 @@ pmap_check_wiring(str, va)
|
|||
{
|
||||
pt_entry_t *pte;
|
||||
paddr_t pa;
|
||||
vm_page_t m;
|
||||
struct vm_page *m;
|
||||
int count;
|
||||
|
||||
if (!pmap_ste_v(pmap_kernel(), va) ||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: trap.c,v 1.3 2001/05/30 15:24:28 lukem Exp $ */
|
||||
/* $NetBSD: trap.c,v 1.4 2001/06/15 17:48:13 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -573,10 +573,10 @@ trap(type, code, v, frame)
|
|||
{
|
||||
vaddr_t va;
|
||||
struct vmspace *vm = p->p_vmspace;
|
||||
vm_map_t map;
|
||||
struct vm_map *map;
|
||||
int rv;
|
||||
vm_prot_t ftype;
|
||||
extern vm_map_t kernel_map;
|
||||
extern struct vm_map *kernel_map;
|
||||
|
||||
#ifdef DEBUG
|
||||
if ((mmudebug & MDB_WBFOLLOW) || MDB_ISPID(p->p_pid))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vm_machdep.c,v 1.2 2001/05/16 18:49:05 drochner Exp $ */
|
||||
/* $NetBSD: vm_machdep.c,v 1.3 2001/06/15 17:48:13 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -284,7 +284,7 @@ kvtop(addr)
|
|||
return((int)pa);
|
||||
}
|
||||
|
||||
extern vm_map_t phys_map;
|
||||
extern struct vm_map *phys_map;
|
||||
|
||||
/*
|
||||
* Map an IO request into kernel virtual address space.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.h,v 1.2 2001/05/16 18:50:52 drochner Exp $ */
|
||||
/* $NetBSD: pmap.h,v 1.3 2001/06/15 17:48:14 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987 Carnegie-Mellon University
|
||||
|
@ -65,7 +65,7 @@ struct pmap {
|
|||
st_entry_t *pm_stpa; /* 040: ST phys addr */
|
||||
short pm_sref; /* segment table ref count */
|
||||
short pm_count; /* pmap reference count */
|
||||
simple_lock_data_t pm_lock; /* lock on pmap */
|
||||
struct simplelock pm_lock; /* lock on pmap */
|
||||
struct pmap_statistics pm_stats; /* pmap statistics */
|
||||
long pm_ptpages; /* more stats: PT pages */
|
||||
};
|
||||
|
@ -98,7 +98,7 @@ typedef struct pmap *pmap_t;
|
|||
}
|
||||
|
||||
/*
|
||||
* For each vm_page_t, there is a list of all currently valid virtual
|
||||
* For each struct vm_page, there is a list of all currently valid virtual
|
||||
* mappings of that page. An entry is a pv_entry, the list is pv_table.
|
||||
*/
|
||||
struct pv_entry {
|
||||
|
|
Loading…
Reference in New Issue