Changeset 9eb1994f in rtems


Ignore:
Timestamp:
Jul 1, 2014, 1:17:40 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
7ab6046
Parents:
8852594
git-author:
Sebastian Huber <sebastian.huber@…> (07/01/14 13:17:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/01/14 13:23:04)
Message:

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>.

Location:
c/src/lib/libbsp/arm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c

    r8852594 r9eb1994f  
    2121 */
    2222
    23 #define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
    24 
    25 #include <bsp/start.h>
    2623#include <bsp/arm-cp15-start.h>
    2724
    28 BSP_START_DATA_SECTION const arm_cp15_start_section_config
    29 bsp_mm_config_table[] = {
     25const arm_cp15_start_section_config arm_cp15_start_mmu_config_table[] = {
    3026  {
    3127    .begin = (uint32_t) bsp_section_fast_text_begin,
     
    7571};
    7672
    77 BSP_START_DATA_SECTION const size_t bsp_mm_config_table_size =
    78 RTEMS_ARRAY_SIZE(bsp_mm_config_table);
     73const size_t arm_cp15_start_mmu_config_table_size =
     74  RTEMS_ARRAY_SIZE(arm_cp15_start_mmu_config_table);
  • c/src/lib/libbsp/arm/shared/include/arm-cp15-start.h

    r8852594 r9eb1994f  
    8383  }
    8484
    85 extern const arm_cp15_start_section_config bsp_mm_config_table[];
     85BSP_START_DATA_SECTION extern const arm_cp15_start_section_config
     86  arm_cp15_start_mmu_config_table[];
    8687
    87 extern const size_t bsp_mm_config_table_size;
     88BSP_START_DATA_SECTION extern const size_t
     89  arm_cp15_start_mmu_config_table_size;
    8890
    8991BSP_START_TEXT_SECTION static inline void
  • c/src/lib/libbsp/arm/shared/mminit.c

    r8852594 r9eb1994f  
    2424    (uint32_t *) bsp_translation_table_base,
    2525    ARM_MMU_DEFAULT_CLIENT_DOMAIN,
    26     &bsp_mm_config_table[0],
    27     bsp_mm_config_table_size
     26    &arm_cp15_start_mmu_config_table[0],
     27    arm_cp15_start_mmu_config_table_size
    2828  );
    2929}
Note: See TracChangeset for help on using the changeset viewer.