diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-04-26 21:12:28 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-04-26 21:12:28 +0000 |
commit | 21d5b71ed7df95d21b4a4653e191eeb1a555b2e9 (patch) | |
tree | e10c4ceb591981b0e2852208b3b2aa7500b842e9 /sys | |
parent | 1f74e84d37ca184a156fd6d003ce0f50dc1d6431 (diff) |
remove now obsolete mac68k_set_pte
ok miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/m68k/m68k/pmap_motorola.c | 17 | ||||
-rw-r--r-- | sys/arch/mac68k/mac68k/pmap_bootstrap.c | 10 |
2 files changed, 3 insertions, 24 deletions
diff --git a/sys/arch/m68k/m68k/pmap_motorola.c b/sys/arch/m68k/m68k/pmap_motorola.c index 09625eae1cc..036082261f0 100644 --- a/sys/arch/m68k/m68k/pmap_motorola.c +++ b/sys/arch/m68k/m68k/pmap_motorola.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_motorola.c,v 1.36 2004/12/25 23:02:24 miod Exp $ */ +/* $OpenBSD: pmap_motorola.c,v 1.37 2005/04/26 21:12:27 martin Exp $ */ /* * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -2795,19 +2795,4 @@ pmap_map(va, spa, epa, prot) pmap_update(pmap_kernel()); return (va); } - -void -mac68k_set_pte(va, pge) - vaddr_t va; - paddr_t pge; -{ -extern vaddr_t tmp_vpages[]; - register pt_entry_t *pte; - - if (va != tmp_vpages[0]) - return; - - pte = pmap_pte(pmap_kernel(), va); - *pte = (pt_entry_t) pge; -} #endif diff --git a/sys/arch/mac68k/mac68k/pmap_bootstrap.c b/sys/arch/mac68k/mac68k/pmap_bootstrap.c index d61fddf418d..b21698bbff6 100644 --- a/sys/arch/mac68k/mac68k/pmap_bootstrap.c +++ b/sys/arch/mac68k/mac68k/pmap_bootstrap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_bootstrap.c,v 1.28 2004/12/30 21:22:20 miod Exp $ */ +/* $OpenBSD: pmap_bootstrap.c,v 1.29 2005/04/26 21:12:27 martin Exp $ */ /* $NetBSD: pmap_bootstrap.c,v 1.50 1999/04/07 06:14:33 scottr Exp $ */ /* @@ -74,8 +74,6 @@ extern u_int32_t videorowbytes; extern u_int32_t videosize; static u_int32_t newvideoaddr; -extern vm_offset_t tmp_vpages[1]; /* nubus.c */ - extern caddr_t ROMBase; void bootstrap_mac68k(int); @@ -198,11 +196,7 @@ do { \ avail_end = high[numranges - 1]; \ } while (0) -#define PMAP_MD_RELOC3() \ -do { \ - tmp_vpages[0] = va; \ - va += NBPG; \ -} while (0) +#define PMAP_MD_RELOC3() /* nothing */ #include <m68k/m68k/pmap_bootstrap.c> |