From 1e360d3140a42fb821d1082c62d5d297ad62b7bd Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Fri, 15 Jul 2022 15:45:21 -0500 Subject: aarch64: Memory map the noinit section This section was added recently and must be mapped to be accessed without generating an exception. --- bsps/aarch64/include/bsp/aarch64-mmu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bsps/aarch64/include/bsp/aarch64-mmu.h') diff --git a/bsps/aarch64/include/bsp/aarch64-mmu.h b/bsps/aarch64/include/bsp/aarch64-mmu.h index bca7e0ce8d..35fc79d73a 100644 --- a/bsps/aarch64/include/bsp/aarch64-mmu.h +++ b/bsps/aarch64/include/bsp/aarch64-mmu.h @@ -91,6 +91,10 @@ typedef struct { .begin = (uintptr_t) bsp_section_rtemsstack_begin, \ .end = (uintptr_t) bsp_section_rtemsstack_end, \ .flags = AARCH64_MMU_DATA_RW_CACHED \ + }, { \ + .begin = (uintptr_t) bsp_section_noinit_begin, \ + .end = (uintptr_t) bsp_section_noinit_end, \ + .flags = AARCH64_MMU_DATA_RW_CACHED \ }, { \ .begin = (uintptr_t) bsp_section_work_begin, \ .end = (uintptr_t) bsp_section_work_end, \ -- cgit v1.2.3