summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 18:00:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 18:00:09 +0000
commitc35426ad97986156c2c4ce16c14faf75d3958cfb (patch)
treef43b8538e08b4e439f1576d60bd550e4267a9369 /sys/arch/amiga
parent4854911214ff2b71bfca3ca143ae340ab11ba7e4 (diff)
pmap_activate() and pmap_deactivate() are MD
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/amiga/pmap.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/amiga/amiga/pmap.c b/sys/arch/amiga/amiga/pmap.c
index 7db5744c119..c7b817d5997 100644
--- a/sys/arch/amiga/amiga/pmap.c
+++ b/sys/arch/amiga/amiga/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.14 1999/07/18 16:45:43 deraadt Exp $ */
+/* $OpenBSD: pmap.c,v 1.15 1999/07/18 18:00:03 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.39 1997/06/10 18:26:41 veego Exp $ */
/*
@@ -277,6 +277,7 @@ void pmap_enter_ptpage __P((register pmap_t, register vm_offset_t));
pa < vm_last_phys)
#endif
+void pmap_activate __P((register pmap_t, struct pcb *));
extern vm_offset_t reserve_dumppages __P((vm_offset_t));
static void amiga_protection_init __P((void));
void pmap_check_wiring __P((char *, vm_offset_t));
@@ -1924,12 +1925,10 @@ ok:
}
void
-pmap_activate(p)
- struct proc *p;
+pmap_activate(pmap, pcbp)
+ register pmap_t pmap;
+ struct pcb *pcbp;
{
- struct pcb *pcbp = &p->p_addr->u_pcb;
- pmap_t pmap = p->p_vmspace->vm_map.pmap;
-
#ifdef DEBUG
if (pmapdebug & (PDB_FOLLOW|PDB_SEGTAB))
printf("pmap_activate(%p, %p)\n", pmap, pcbp);