Skip to content
Commit 0f609305 authored by Jaxson Han's avatar Jaxson Han Committed by Christopher Friedt
Browse files

include arm64: Add mm.h to unify mmu and mpu



The arm_mmu.h and arm_mpu.h have some common logic. To reduce some
redundency and the ugly 'if defined' marcos, I add a new header
include/arch/arm64/mm.h to include arm_mmu.h or arm_mpu.h depending on
CONFIG_ARM_MMU or CONFIG_ARM_MPU. Thus, in the future, the common code
of mmu and mpu should be in include/arch/arm64/mm.h.

Signed-off-by: default avatarJaxson Han <jaxson.han@arm.com>
parent 34d6c7ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment