arm64: cortex_r: Move mpu code to a better place

This patch mainly moves mpu related code from
arch/arm64/core/cortex_r/mpu/ to arch/arm64/core/cortex_r/ and moves
the mpu header files from include/arch/arm64/cortex_r/mpu/ to
include/arch/arm64/cortex_r/

Signed-off-by: Jaxson Han <jaxson.han@arm.com>
This commit is contained in:
Jaxson Han 2021-07-15 16:34:02 +08:00 committed by Christopher Friedt
commit 34d6c7caa7
7 changed files with 6 additions and 13 deletions

View file

@ -8,7 +8,6 @@
#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_CORTEX_R_MPU_ARM_MPU_H_
#define ZEPHYR_INCLUDE_ARCH_ARM64_CORTEX_R_MPU_ARM_MPU_H_
#ifndef _ASMLANGUAGE
/*
* Convenience macros to represent the ARMv8-R64-specific configuration
* for memory access permission and cache-ability attribution.
@ -183,6 +182,8 @@
}
#endif /* CONFIG_MPU_ALLOW_FLASH_WRITE */
#ifndef _ASMLANGUAGE
struct arm_mpu_region_attr {
/* Attributes belonging to PRBAR */
uint8_t rbar : 5;