diff options
author | jake <jake@FreeBSD.org> | 2003-03-16 04:16:03 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-03-16 04:16:03 +0000 |
commit | c1838df6038e28d81384d7cf1c41a66c07de573c (patch) | |
tree | b4320d9a35b4f77739a9768a8ef6ffb4331ffdc6 /sys/sparc64/include | |
parent | e37ecfb7d364bfcd2e67ecefb7022d3c08b055ae (diff) | |
download | FreeBSD-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/sparc64/include')
-rw-r--r-- | sys/sparc64/include/pmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index a14673e..b0325f9 100644 --- a/sys/sparc64/include/pmap.h +++ b/sys/sparc64/include/pmap.h @@ -79,6 +79,8 @@ struct pmap { void pmap_bootstrap(vm_offset_t ekva); void pmap_context_rollover(void); vm_offset_t pmap_kextract(vm_offset_t va); +void pmap_kenter(vm_offset_t va, vm_offset_t pa); +void pmap_kremove(vm_offset_t); void pmap_kenter_flags(vm_offset_t va, vm_offset_t pa, u_long flags); void pmap_kremove_flags(vm_offset_t va); |