summaryrefslogtreecommitdiffstats
path: root/bsps/arm/include
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2019-12-27 22:08:11 +0100
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2020-01-07 17:55:13 +0100
commitc51f1fc52680f68f47eed6ba838683c1b78cb91a (patch)
tree77e9a4e14f0eeb2568241308f7738ef07e1a2936 /bsps/arm/include
parentcpukit/libfs: remove more dead code from pipe/fifo.c (diff)
downloadrtems-c51f1fc52680f68f47eed6ba838683c1b78cb91a.tar.bz2
bsps/arm: Define index of the workspace entry.
The imx BSP contained a hack to change the workspace entry of the MMU table. This makes the used define visible for other BSPs too so that the same hack can be used for example in raspberry pi too.
Diffstat (limited to 'bsps/arm/include')
-rw-r--r--bsps/arm/include/bsp/arm-cp15-start.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsps/arm/include/bsp/arm-cp15-start.h b/bsps/arm/include/bsp/arm-cp15-start.h
index 220423fefe..c4686fbbd4 100644
--- a/bsps/arm/include/bsp/arm-cp15-start.h
+++ b/bsps/arm/include/bsp/arm-cp15-start.h
@@ -95,6 +95,8 @@ typedef struct {
.flags = ARMV7_MMU_DATA_READ_WRITE_CACHED \
}
+#define ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX 8
+
BSP_START_DATA_SECTION extern const arm_cp15_start_section_config
arm_cp15_start_mmu_config_table[];