diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2000-11-09 01:27:39 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2000-11-09 01:27:39 +0000 |
commit | 65ba57ed68d64fba9cee6cebbcc251175721da43 (patch) | |
tree | f157d60ccfa1411706d713d632d3579c31fbb09d | |
parent | b0fa6065ed3e242a96cbb91310544362ba87061e (diff) |
Do not use vm_pmap anymore. Requested by art@
-rw-r--r-- | sys/arch/sun3/sun3/genassym.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/locore.s | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sun3/sun3/genassym.c b/sys/arch/sun3/sun3/genassym.c index 1da502a700b..8b4b14aa423 100644 --- a/sys/arch/sun3/sun3/genassym.c +++ b/sys/arch/sun3/sun3/genassym.c @@ -1,4 +1,4 @@ -/* $OpenBSD: genassym.c,v 1.9 2000/07/14 14:27:04 miod Exp $ */ +/* $OpenBSD: genassym.c,v 1.10 2000/11/09 01:27:38 miod Exp $ */ /* $NetBSD: genassym.c,v 1.32 1996/10/23 16:39:27 gwr Exp $ */ /* @@ -179,7 +179,7 @@ main() def("MDP_TRCB", ffs(MDP_HPUXTRACE) - 1); /* VM structure fields */ - def("VM_PMAP", &vms->vm_pmap); + def("VM_PMAP", &vms->vm_map.pmap); /* pcb offsets */ def("PCB_FLAGS", &pcb->pcb_flags); diff --git a/sys/arch/sun3/sun3/locore.s b/sys/arch/sun3/sun3/locore.s index 4b30b461a8a..66df6c76d20 100644 --- a/sys/arch/sun3/sun3/locore.s +++ b/sys/arch/sun3/sun3/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.20 2000/07/14 14:28:11 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.21 2000/11/09 01:27:38 miod Exp $ */ /* $NetBSD: locore.s,v 1.40 1996/11/06 20:19:54 cgd Exp $ */ /* @@ -814,7 +814,7 @@ Lswnofpsave: /* * Call pmap_activate() to set the MMU context register */ - lea a2@(VM_PMAP),a2 | pmap = &vm.vm_pmap + movl a2@(VM_PMAP),a2 | pmap = &vm.vm_map.pmap pea a2@ | push pmap jbsr _C_LABEL(pmap_activate) | pmap_activate(pmap) addql #4,sp |