diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-09 04:51:36 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-12-09 04:51:36 +0000 |
commit | af379b79f58478bd0242b82e0ed7f31bf1f6502d (patch) | |
tree | 76428d7f038af299000422913a0e2e412a7cb1f3 /sys/arch/sparc | |
parent | 4688f61c22de0e007be2cdce63736177db673367 (diff) |
Even more ansification.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/pmap.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c index f6b6cbf7c68..e23610b67a6 100644 --- a/sys/arch/sparc/sparc/pmap.c +++ b/sys/arch/sparc/sparc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.115 2001/12/09 04:44:20 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.116 2001/12/09 04:51:35 art Exp $ */ /* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */ /* @@ -788,8 +788,7 @@ pmap_pa_exists(paddr_t pa) */ #if defined(SUN4) || defined(SUN4C) void -mmu_reservemon4_4c(nrp, nsp) - int *nrp, *nsp; +mmu_reservemon4_4c(int *nrp, int *nsp) { u_int va = 0, eva = 0; int mmuseg, i, nr, ns, vr, lastvr; @@ -887,15 +886,12 @@ mmu_reservemon4_4c(nrp, nsp) * NOTE: This also revokes all user-mode access to the mapped regions. */ void -mmu_reservemon4m(kpmap) - struct pmap *kpmap; +mmu_reservemon4m(struct pmap *kpmap) { unsigned int rom_ctxtbl; int te; unsigned int mmupcrsave; -/*XXX-GCC!*/mmupcrsave = 0; - /* * XXX: although the Sun4M can handle 36 bits of physical * address space, we assume that all these page tables, etc @@ -946,9 +942,7 @@ mmu_reservemon4m(kpmap) } void -mmu_setup4m_L1(regtblptd, kpmap) - int regtblptd; /* PTD for region table to be remapped */ - struct pmap *kpmap; +mmu_setup4m_L1(int regtblptd, struct pmap *kpmap) { unsigned int regtblrover; int i; @@ -1019,9 +1013,7 @@ mmu_setup4m_L1(regtblptd, kpmap) } void -mmu_setup4m_L2(segtblptd, rp) - int segtblptd; - struct regmap *rp; +mmu_setup4m_L2(int segtblptd, struct regmap *rp) { unsigned int segtblrover; int i, k; |