arch: arm64: Unify the initialization of MMU and MPU

Because MMU and MPU should not be enabled together and they provide
the same functionalities.

Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
This commit is contained in:
Huifeng Zhang 2021-06-28 17:14:34 +08:00 committed by Christopher Friedt
commit c34960bc87
5 changed files with 15 additions and 19 deletions

View file

@ -195,7 +195,6 @@ struct arm_mmu_ptables {
extern const struct arm_mmu_config mmu_config;
struct k_thread;
void z_arm64_mmu_init(bool is_primary_core);
void z_arm64_thread_pt_init(struct k_thread *thread);
void z_arm64_swap_ptables(struct k_thread *thread);