summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-04-10 22:41:46 +0000
committeralc <alc@FreeBSD.org>2004-04-10 22:41:46 +0000
commitc380417937afef2b2c96a56198d84643e6c657de (patch)
tree981776346928475e4e6a7d3ae63a45c41c6de914 /sys/ia64
parent6ccd44aa20c4206a41c3df8432df50adb52e0808 (diff)
downloadFreeBSD-src-c380417937afef2b2c96a56198d84643e6c657de.zip
FreeBSD-src-c380417937afef2b2c96a56198d84643e6c657de.tar.gz
- pmap_kenter_temporary() is unused by machine-independent code. Therefore,
move its declaration to the machine-dependent header file on those machines that use it. In principle, only i386 should have it. Alpha and AMD64 should use their direct virtual-to-physical mapping. - Remove pmap_kenter_temporary() from ia64. It is unused. Approved by: marcel@
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index e4e30ea..21623b0 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -1692,16 +1692,6 @@ reinstall:
}
/*
- * Make temporary mapping for a physical address. This is called
- * during dump.
- */
-void *
-pmap_kenter_temporary(vm_offset_t pa, int i)
-{
- return (void *) IA64_PHYS_TO_RR7(pa - (i * PAGE_SIZE));
-}
-
-/*
* pmap_object_init_pt preloads the ptes for a given object
* into the specified pmap. This eliminates the blast of soft
* faults on process startup and immediately after an mmap.
OpenPOWER on IntegriCloud