diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-04-24 14:40:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 14:40:16 +0100 |
commit | 0c7c44110e3637de573131ac25f33540c0a103ac (patch) | |
tree | 4bf937283106a73141aeae9664398fba3d848fb1 /include | |
parent | 3fb340a2b45740d7233490ac9801d530403529e7 (diff) | |
parent | 28fa2e9ee8f40ec25491d7bdba8e3aaf2985091a (diff) |
Merge pull request #909 from sandrine-bailleux-arm/sb/xlat-lib-misc-improvements
xlat lib: Use mmap_attr_t type consistently
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/xlat_tables/xlat_tables.h | 2 | ||||
-rw-r--r-- | include/lib/xlat_tables/xlat_tables_v2.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/lib/xlat_tables/xlat_tables.h b/include/lib/xlat_tables/xlat_tables.h index 4e855032..38150f52 100644 --- a/include/lib/xlat_tables/xlat_tables.h +++ b/include/lib/xlat_tables/xlat_tables.h @@ -108,7 +108,7 @@ typedef struct mmap_region { /* Generic translation table APIs */ void init_xlat_tables(void); void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, - size_t size, unsigned int attr); + size_t size, mmap_attr_t attr); void mmap_add(const mmap_region_t *mm); #endif /*__ASSEMBLY__*/ diff --git a/include/lib/xlat_tables/xlat_tables_v2.h b/include/lib/xlat_tables/xlat_tables_v2.h index 16b857cc..d1704b7b 100644 --- a/include/lib/xlat_tables/xlat_tables_v2.h +++ b/include/lib/xlat_tables/xlat_tables_v2.h @@ -114,7 +114,7 @@ void init_xlat_tables(void); * be added before initializing the MMU and cannot be removed later. */ void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, - size_t size, unsigned int attr); + size_t size, mmap_attr_t attr); /* * Add a region with defined base PA and base VA. This type of region can be @@ -128,7 +128,7 @@ void mmap_add_region(unsigned long long base_pa, uintptr_t base_va, * EPERM: It overlaps another region in an invalid way. */ int mmap_add_dynamic_region(unsigned long long base_pa, uintptr_t base_va, - size_t size, unsigned int attr); + size_t size, mmap_attr_t attr); /* * Add an array of static regions with defined base PA and base VA. This type |