summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-15 11:24:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-15 11:26:43 +0100
commit2a8f7551074dea0082353e300aacb8581adae5d6 (patch)
tree637ba8e288397b3fcd5e2071833677bc3e00aa32
parent21ed8d11c58c6a8f5bb8a5e03b8df50163a612f1 (diff)
downloadrtems-5.tar.bz2
bsps/arm: Fix MMU configuration5
Update #4185.
-rw-r--r--bsps/arm/include/bsp/arm-cp15-start.h4
-rw-r--r--bsps/arm/include/bsp/linker-symbols.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/bsps/arm/include/bsp/arm-cp15-start.h b/bsps/arm/include/bsp/arm-cp15-start.h
index 86c4f8afcb..8f7b522a53 100644
--- a/bsps/arm/include/bsp/arm-cp15-start.h
+++ b/bsps/arm/include/bsp/arm-cp15-start.h
@@ -74,6 +74,10 @@ typedef struct {
.end = (uint32_t) bsp_section_bss_end, \
.flags = ARMV7_MMU_DATA_READ_WRITE_CACHED \
}, { \
+ .begin = (uint32_t) bsp_section_rtemsstack_begin, \
+ .end = (uint32_t) bsp_section_rtemsstack_end, \
+ .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED \
+ }, { \
.begin = (uint32_t) bsp_section_work_begin, \
.end = (uint32_t) bsp_section_work_end, \
.flags = ARMV7_MMU_DATA_READ_WRITE_CACHED \
diff --git a/bsps/arm/include/bsp/linker-symbols.h b/bsps/arm/include/bsp/linker-symbols.h
index d743f67f50..43651ff7f7 100644
--- a/bsps/arm/include/bsp/linker-symbols.h
+++ b/bsps/arm/include/bsp/linker-symbols.h
@@ -90,6 +90,10 @@ LINKER_SYMBOL(bsp_section_bss_begin)
LINKER_SYMBOL(bsp_section_bss_end)
LINKER_SYMBOL(bsp_section_bss_size)
+LINKER_SYMBOL(bsp_section_rtemsstack_begin)
+LINKER_SYMBOL(bsp_section_rtemsstack_end)
+LINKER_SYMBOL(bsp_section_rtemsstack_size)
+
LINKER_SYMBOL(bsp_section_work_begin)
LINKER_SYMBOL(bsp_section_work_end)
LINKER_SYMBOL(bsp_section_work_size)