k_mem_partition is part of the CONFIG_USERSPACE abstraction, but some older MPU code was depending on it even if user mode isn't enabled. Use a new structure z_arm_mpu_partition instead, which will insulate this code from any changes to the core kernel definition of k_mem_partition. The logic in z_arm_configure_dynamic_mpu_regions has been adjusted to copy the necessary information out of the memory domain instead of passing the addresses of the domain structures directly to the lower-level MPU code. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
|---|---|---|
| .. | ||
| aarch32 | ||
| aarch64 | ||
| cortex_m | ||
| cortex_r | ||
| kernel_arch_data.h | ||
| kernel_arch_func.h | ||
| offsets_short_arch.h | ||