diff options
author | Svatopluk Kraus <skra@FreeBSD.org> | 2016-02-02 21:10:55 +0000 |
---|---|---|
committer | Svatopluk Kraus <skra@FreeBSD.org> | 2016-02-02 21:10:55 +0000 |
commit | 0a57d9e4c3b89561445179c10c7f07e1e21d1611 (patch) | |
tree | f139554d82162933a133fdced2b62bd3bf056e93 /sys/arm/include/pmap-v6.h | |
parent | 2d004dd5bc51eaef924f55d1e2407e80a9b4bcb5 (diff) |
Make pmap_preboot_map_attr() vm subsystem compliant, so its arguments
do not depend on pmap internals. This is a preparation for hiding
internal pmap definitions as much as possible from the rest of system.
Simultaneously, the protection argument evaluation is fixed. Happily,
it did not effect the mappings. And it's the reason why it was not fixed
earlier.
Notes
Notes:
svn path=/head/; revision=295166
Diffstat (limited to 'sys/arm/include/pmap-v6.h')
-rw-r--r-- | sys/arm/include/pmap-v6.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/include/pmap-v6.h b/sys/arm/include/pmap-v6.h index c22b937d537a..3c46d9d8dfa5 100644 --- a/sys/arm/include/pmap-v6.h +++ b/sys/arm/include/pmap-v6.h @@ -216,8 +216,8 @@ vm_paddr_t pmap_preboot_get_pages(u_int ); void pmap_preboot_map_pages(vm_paddr_t , vm_offset_t , u_int ); vm_offset_t pmap_preboot_reserve_pages(u_int ); vm_offset_t pmap_preboot_get_vpages(u_int ); -void pmap_preboot_map_attr(vm_paddr_t , vm_offset_t , vm_size_t , - int , int ); +void pmap_preboot_map_attr(vm_paddr_t, vm_offset_t, vm_size_t, vm_prot_t, + vm_memattr_t); static __inline void pmap_map_chunk(vm_offset_t l1pt, vm_offset_t va, vm_offset_t pa, vm_size_t size, int prot, int cache) |