commit | 18eb17f4cd69a77499e998ccde1d83d4b62c4386 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Mon Aug 21 16:21:09 2023 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Aug 26 16:50:40 2023 -0400 |
tree | 178c0232875fb77f931b5e4d02e958310b9ff888 | |
parent | 4778c13bbeabbb0ee50f94b28db8a5868e6822ac [diff] |
xtensa: mmu: add arch_reserved_pages_update This adds arch_reserved_pages_update() which is called in k_mem_manage_init() to reserve some physical pages so they are not re-mapped. This is due to Zephyr's linker scripts for Xtensa which often puts something before z_mapped_start (aka .text, for example, vecbase). That space needs to be reserved or else k_mem_map() would be mapping those that could result in faults. Signed-off-by: Daniel Leung <daniel.leung@intel.com>