diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-30 15:17:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-08-09 07:22:10 +0200 |
commit | 573a7202e614b4f4b94d581f3b5a0bc758b4ca7f (patch) | |
tree | 939f3a24c9dc71bea830ac1f02b8bec00eaf3d2b /bsps/arm/lpc32xx/include/bsp/mmu.h | |
parent | bsp/lpc32xx: Fix warning (diff) | |
download | rtems-573a7202e614b4f4b94d581f3b5a0bc758b4ca7f.tar.bz2 |
bsp/lpc32xx: Restore lpc32xx_set_translation_table_entries()
This implementation disables the MMU during the modification of the
translation table. This behaviour is required by boot loaders for these
boards.
Diffstat (limited to 'bsps/arm/lpc32xx/include/bsp/mmu.h')
-rw-r--r-- | bsps/arm/lpc32xx/include/bsp/mmu.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bsps/arm/lpc32xx/include/bsp/mmu.h b/bsps/arm/lpc32xx/include/bsp/mmu.h index 58109ac8f6..ba628a19f0 100644 --- a/bsps/arm/lpc32xx/include/bsp/mmu.h +++ b/bsps/arm/lpc32xx/include/bsp/mmu.h @@ -74,14 +74,11 @@ extern "C" { * * @return Previous section flags of the first modified entry. */ -static inline uint32_t lpc32xx_set_translation_table_entries( +uint32_t lpc32xx_set_translation_table_entries( const void *begin, const void *end, uint32_t section_flags -) -{ - return arm_cp15_set_translation_table_entries(begin, end, section_flags); -} +); /** @} */ |