kernel: app_smem: allowing pinning memory partitions
This allows memory partitions to be put into the pinned section so they are available during boot. For example, the stack guard (in libc partition) is needed during boot but before the paging mechanism is initialized. Without pinning it in physical memory, it would fault in early boot process. A new cmake property app_smem,pinned_partitions is introduced so that additional partitions can be pinned if needed. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
e88afd2c37
commit
2117a2a44b
10 changed files with 216 additions and 26 deletions
|
@ -28,6 +28,8 @@
|
|||
#define _APP_BSS_SECTION_NAME app_bss
|
||||
#define _APP_NOINIT_SECTION_NAME app_noinit
|
||||
|
||||
#define _APP_SMEM_PINNED_SECTION_NAME app_smem_pinned
|
||||
|
||||
#define _UNDEFINED_SECTION_NAME undefined
|
||||
|
||||
/* Interrupts */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue