summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
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/mac68k
parent4854911214ff2b71bfca3ca143ae340ab11ba7e4 (diff)
pmap_activate() and pmap_deactivate() are MD
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/pmap.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/arch/mac68k/mac68k/pmap.c b/sys/arch/mac68k/mac68k/pmap.c
index c76639c97ee..e9d4115849f 100644
--- a/sys/arch/mac68k/mac68k/pmap.c
+++ b/sys/arch/mac68k/mac68k/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.14 1999/07/18 16:45:51 deraadt Exp $ */
+/* $OpenBSD: pmap.c,v 1.15 1999/07/18 18:00:05 deraadt Exp $ */
/* $NetBSD: pmap.c,v 1.28 1996/10/21 05:42:27 scottr Exp $ */
/*
@@ -792,13 +792,13 @@ pmap_reference(pmap)
}
void loadustp __P((vm_offset_t));
+void pmap_activate __P((register pmap_t, struct pcb *));
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;
if (pmap == NULL)
return;
@@ -811,9 +811,12 @@ pmap_activate(p)
PMAP_ACTIVATE(pmap, pcbp, pmap == curproc->p_vmspace->vm_map.pmap);
}
+void pmap_deactivate __P((register pmap_t, struct pcb *));
+
void
-pmap_deactivate(p)
- struct proc *p;
+pmap_deactivate(pmap, pcb)
+ register pmap_t pmap;
+ struct pcb *pcb;
{
}