diff options
author | neel <neel@FreeBSD.org> | 2010-09-22 02:26:07 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2010-09-22 02:26:07 +0000 |
commit | f11ed3a236abe9ee07151a89324bc2e344d38117 (patch) | |
tree | 2ae24ec35db2c6a9b30da181997cc5b7ed1b0b13 /sys/mips/include | |
parent | afb46784fa44f4dbe38b39c8dade0a73d9e392fa (diff) | |
download | FreeBSD-src-f11ed3a236abe9ee07151a89324bc2e344d38117.zip FreeBSD-src-f11ed3a236abe9ee07151a89324bc2e344d38117.tar.gz |
Enforce that 'pmap_kenter()' is only used to establish cacheable mappings.
Mappings with other cacheability attributes can be established, if needed,
by using 'pmap_kenter_attr()'.
Suggested by: jchandra, imp
Diffstat (limited to 'sys/mips/include')
-rw-r--r-- | sys/mips/include/pmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/include/pmap.h b/sys/mips/include/pmap.h index e6aada9..558a018 100644 --- a/sys/mips/include/pmap.h +++ b/sys/mips/include/pmap.h @@ -154,6 +154,7 @@ void pmap_unmapdev(vm_offset_t, vm_size_t); vm_offset_t pmap_steal_memory(vm_size_t size); int page_is_managed(vm_offset_t pa); void pmap_kenter(vm_offset_t va, vm_paddr_t pa); +void pmap_kenter_attr(vm_offset_t va, vm_paddr_t pa, int attr); void pmap_kremove(vm_offset_t va); void *pmap_kenter_temporary(vm_paddr_t pa, int i); void pmap_kenter_temporary_free(vm_paddr_t pa); |