summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-03-16 04:16:03 +0000
committerjake <jake@FreeBSD.org>2003-03-16 04:16:03 +0000
commitc1838df6038e28d81384d7cf1c41a66c07de573c (patch)
treeb4320d9a35b4f77739a9768a8ef6ffb4331ffdc6 /sys/powerpc
parente37ecfb7d364bfcd2e67ecefb7022d3c08b055ae (diff)
downloadFreeBSD-src-c1838df6038e28d81384d7cf1c41a66c07de573c.zip
FreeBSD-src-c1838df6038e28d81384d7cf1c41a66c07de573c.tar.gz
Made the prototypes for pmap_kenter and pmap_kremove MD. These functions
are machine dependent because they are not required to update the tlb when mappings are added or removed, and doing so is machine dependent. In addition, an implementation may require that pages mapped with pmap_kenter have a backing vm_page_t, which is not necessarily true of all physical pages, and so may choose to pass the vm_page_t to pmap_kenter instead of the physical address in order to make this requirement clear.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/pmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/pmap.h b/sys/powerpc/include/pmap.h
index 8419605..e737fad 100644
--- a/sys/powerpc/include/pmap.h
+++ b/sys/powerpc/include/pmap.h
@@ -69,6 +69,8 @@ extern struct pmap kernel_pmap_store;
#ifdef _KERNEL
void pmap_bootstrap(vm_offset_t, vm_offset_t);
+void pmap_kenter(vm_offset_t va, vm_offset_t pa);
+void pmap_kremove(vm_offset_t);
void *pmap_mapdev(vm_offset_t, vm_size_t);
void pmap_unmapdev(vm_offset_t, vm_size_t);
void pmap_deactivate(struct thread *);
OpenPOWER on IntegriCloud