diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-08-31 10:13:51 +0800 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2017-09-18 14:52:32 +0200 |
commit | b95ac3daea4c5d734ce137189eab9c4ca44ad91f (patch) | |
tree | 7e28e44c5ad5218705822cee32207a920bed9159 /core/arch/arm/include/mm/core_mmu.h | |
parent | 3037280085026f61d52bccff261f8d47614d5d33 (diff) |
core: mmu: export map_memarea_sections
Export map_memarea_sections. We need a mmu table
dedicated for low power feature, so export
map_memarea_sections to create that section mapping.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'core/arch/arm/include/mm/core_mmu.h')
-rw-r--r-- | core/arch/arm/include/mm/core_mmu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/arch/arm/include/mm/core_mmu.h b/core/arch/arm/include/mm/core_mmu.h index 9f63411e..08896397 100644 --- a/core/arch/arm/include/mm/core_mmu.h +++ b/core/arch/arm/include/mm/core_mmu.h @@ -497,6 +497,9 @@ static inline TEE_Result cache_op_outer(enum cache_op op __unused, /* Check cpu mmu enabled or not */ bool cpu_mmu_enabled(void); +/* Do section mapping, not support on LPAE */ +void map_memarea_sections(const struct tee_mmap_region *mm, uint32_t *ttb); + /* * Check if platform defines nsec DDR range(s). * Static SHM (MEM_AREA_NSEC_SHM) is not covered by this API as it is |