diff options
author | Dimitris Papastamos <dimitris.papastamos@arm.com> | 2018-06-14 14:33:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 14:33:13 +0100 |
commit | 59c4346383407dad6b7573fccb7af85a97a5df3e (patch) | |
tree | 2bdfb5a1804540fc592d9465ead8e36655511ce6 /include/lib/xlat_tables | |
parent | f3a5e3d6ec20da13619d57a523d5e87a3ed3d3e2 (diff) | |
parent | d801a1d035e8868fc2b131653c5fd96ceed10a21 (diff) |
Merge pull request #1415 from antonio-nino-diaz-arm/an/spm-fixes
Minor fixes to SPM
Diffstat (limited to 'include/lib/xlat_tables')
-rw-r--r-- | include/lib/xlat_tables/xlat_mmu_helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/lib/xlat_tables/xlat_mmu_helpers.h b/include/lib/xlat_tables/xlat_mmu_helpers.h index d83d7640..77953177 100644 --- a/include/lib/xlat_tables/xlat_mmu_helpers.h +++ b/include/lib/xlat_tables/xlat_mmu_helpers.h @@ -43,6 +43,8 @@ #ifndef __ASSEMBLY__ +#include <sys/types.h> + #ifdef AARCH32 /* AArch32 specific translation table API */ void enable_mmu_secure(unsigned int flags); @@ -52,6 +54,9 @@ void enable_mmu_el1(unsigned int flags); void enable_mmu_el3(unsigned int flags); #endif /* AARCH32 */ +int xlat_arch_is_granule_size_supported(size_t size); +size_t xlat_arch_get_max_supported_granule_size(void); + #endif /* __ASSEMBLY__ */ #endif /* __XLAT_MMU_HELPERS_H__ */ |