Wrap the entire definition around CONFIG_MEMORY_PROTECTION. Add incomplete declaration for IS_ENABLED() purposes. Some arch code uses struct k_mem_partition internally for MPU management, even if userspace isn't enabled. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
|---|---|---|
| .. | ||
| app_memdomain.h | ||
| mem_domain.h | ||
| partitions.h | ||