|
Zephyr Project API 4.3.99
A Scalable Open Source RTOS
|
SoC-specific PMP region descriptor. More...
#include <pmp.h>
Data Fields | |
| const void * | start |
| Start address of the region (must be aligned to PMP granularity) | |
| const void * | end |
| End address of the region (exclusive) | |
| uint8_t | perm |
| PMP permission flags (PMP_R, PMP_W, PMP_X combinations) | |
SoC-specific PMP region descriptor.
SoCs can define additional memory regions that need PMP protection using the PMP_SOC_REGION_DEFINE macro. These regions are automatically collected via iterable sections and programmed into the PMP during initialization.
Note: Uses start/end pointers instead of start/size to support regions defined by linker symbols where the size is not a compile-time constant.
| const void* pmp_soc_region::end |
End address of the region (exclusive)
| uint8_t pmp_soc_region::perm |
PMP permission flags (PMP_R, PMP_W, PMP_X combinations)
| const void* pmp_soc_region::start |
Start address of the region (must be aligned to PMP granularity)