bsps/arm: Rename bsp_mm_config_table

Rename bsp_mm_config_table to arm_cp15_start_mmu_config_table and
rename bsp_mm_config_table_size to arm_cp15_start_mmu_config_table_size
to be in line with the other names in <bsp/arm-cp15-start.h>.
This commit is contained in:
Sebastian Huber
2014-07-01 15:17:40 +02:00
parent 88525944f3
commit 9eb1994fd2
3 changed files with 9 additions and 11 deletions

View File

@@ -20,13 +20,9 @@
* http://www.rtems.org/license/LICENSE.
*/
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
#include <bsp/start.h>
#include <bsp/arm-cp15-start.h>
BSP_START_DATA_SECTION const arm_cp15_start_section_config
bsp_mm_config_table[] = {
const arm_cp15_start_section_config arm_cp15_start_mmu_config_table[] = {
{
.begin = (uint32_t) bsp_section_fast_text_begin,
.end = (uint32_t) bsp_section_fast_text_end,
@@ -74,5 +70,5 @@ bsp_mm_config_table[] = {
}
};
BSP_START_DATA_SECTION const size_t bsp_mm_config_table_size =
RTEMS_ARRAY_SIZE(bsp_mm_config_table);
const size_t arm_cp15_start_mmu_config_table_size =
RTEMS_ARRAY_SIZE(arm_cp15_start_mmu_config_table);

View File

@@ -82,9 +82,11 @@ typedef struct {
.flags = ARMV7_MMU_DATA_READ_WRITE_CACHED \
}
extern const arm_cp15_start_section_config bsp_mm_config_table[];
BSP_START_DATA_SECTION extern const arm_cp15_start_section_config
arm_cp15_start_mmu_config_table[];
extern const size_t bsp_mm_config_table_size;
BSP_START_DATA_SECTION extern const size_t
arm_cp15_start_mmu_config_table_size;
BSP_START_TEXT_SECTION static inline void
arm_cp15_start_set_translation_table_entries(

View File

@@ -23,7 +23,7 @@ BSP_START_TEXT_SECTION void bsp_memory_management_initialize(void)
ctrl,
(uint32_t *) bsp_translation_table_base,
ARM_MMU_DEFAULT_CLIENT_DOMAIN,
&bsp_mm_config_table[0],
bsp_mm_config_table_size
&arm_cp15_start_mmu_config_table[0],
arm_cp15_start_mmu_config_table_size
);
}