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/amd64/include/pmap.h | |
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/amd64/include/pmap.h')
-rw-r--r-- | sys/amd64/include/pmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index 3c8d410..92493e1 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -247,6 +247,8 @@ extern vm_offset_t virtual_avail; extern vm_offset_t virtual_end; 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); pt_entry_t *pmap_pte(pmap_t, vm_offset_t) __pure2; |