Go to the source code of this file.
◆ PMP_SOC_REGION_DEFINE
| #define PMP_SOC_REGION_DEFINE |
( |
| name, |
|
|
| _start, |
|
|
| _end, |
|
|
| _perm ) |
Value:
.start = (const void *)(_start), \
.end = (const void *)(_end), \
.perm = (_perm), \
}
#define STRUCT_SECTION_ITERABLE(struct_type, varname)
Defines a new element for an iterable section.
Definition iterable_sections.h:216
SoC-specific PMP region descriptor.
Definition pmp.h:24
Define a SoC-specific PMP region.
This macro allows SoCs to register memory regions that require PMP protection. The regions are collected at link time and programmed during PMP initialization.
- Parameters
-
| name | Unique identifier for this region |
| _start | Start address of the region (pointer or linker symbol) |
| _end | End address of the region (pointer or linker symbol, exclusive) |
| _perm | PMP permission flags (PMP_R | PMP_W | PMP_X) |