summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-06-08 11:57:22 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-06-08 11:57:22 +0000
commit81a9b0f86bb7a22dede6f530fcbdda5ba4cea214 (patch)
tree1edebef5259cfed84444c06bf3f45f6cb828b219 /sys/arch
parentc95a4e57a02e5f9157e3d9e7057e4152024a1678 (diff)
&vm_pmap -> vm_map.pmap
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/pmap.old.c4
-rw-r--r--sys/arch/alpha/alpha/prom.c4
-rw-r--r--sys/arch/alpha/alpha/vm_machdep.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/alpha/alpha/pmap.old.c b/sys/arch/alpha/alpha/pmap.old.c
index 9c4ba24aece..4e8ade0cd7e 100644
--- a/sys/arch/alpha/alpha/pmap.old.c
+++ b/sys/arch/alpha/alpha/pmap.old.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.old.c,v 1.6 1999/09/10 23:41:39 kstailey Exp $ */
+/* $OpenBSD: pmap.old.c,v 1.7 2000/06/08 11:57:21 art Exp $ */
/* $NetBSD: pmap.old.c,v 1.14 1996/11/13 21:13:10 cgd Exp $ */
/*
@@ -2149,7 +2149,7 @@ pmap_emulate_reference(p, v, user, write)
if (p->p_vmspace == NULL)
panic("pmap_emulate_reference: bad p_vmspace");
#endif
- pte = pmap_pte(&p->p_vmspace->vm_pmap, v);
+ pte = pmap_pte(p->p_vmspace->vm_map.pmap, v);
}
#ifdef DEBUG
if (pmapdebug & PDB_FOLLOW) {
diff --git a/sys/arch/alpha/alpha/prom.c b/sys/arch/alpha/alpha/prom.c
index cf1e127b0e2..e8500c7aff3 100644
--- a/sys/arch/alpha/alpha/prom.c
+++ b/sys/arch/alpha/alpha/prom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prom.c,v 1.5 1997/01/24 19:56:42 niklas Exp $ */
+/* $OpenBSD: prom.c,v 1.6 2000/06/08 11:57:21 art Exp $ */
/* $NetBSD: prom.c,v 1.12 1996/11/13 21:13:11 cgd Exp $ */
/*
@@ -55,7 +55,7 @@ extern struct prom_vec prom_dispatch_v;
pt_entry_t *rom_ptep, rom_pte, saved_pte; /* XXX */
#ifdef NEW_PMAP
-#define rom_ptep (curproc ? &curproc->p_vmspace->vm_pmap.dir[0] : rom_ptep)
+#define rom_ptep (curproc ? &curproc->p_vmspace->vm_map.pmap->dir[0] : rom_ptep)
#endif
void
diff --git a/sys/arch/alpha/alpha/vm_machdep.c b/sys/arch/alpha/alpha/vm_machdep.c
index fe182b2fe0e..69a5b9af90b 100644
--- a/sys/arch/alpha/alpha/vm_machdep.c
+++ b/sys/arch/alpha/alpha/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.13 2000/06/05 11:02:55 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.14 2000/06/08 11:57:21 art Exp $ */
/* $NetBSD: vm_machdep.c,v 1.21 1996/11/13 21:13:15 cgd Exp $ */
/*
@@ -155,7 +155,7 @@ cpu_fork(p1, p2, stack, stacksize)
#else
p2->p_md.md_pcbpaddr = (void *)vtophys((vm_offset_t)&up->u_pcb);
printf("process %d pcbpaddr = 0x%lx, pmap = %p\n",
- p2->p_pid, p2->p_md.md_pcbpaddr, &p2->p_vmspace->vm_pmap);
+ p2->p_pid, p2->p_md.md_pcbpaddr,&p2->p_vmspace->vm_map.pmap);
#endif
/*