Ignore:
Timestamp:
May 31, 2013, 7:59:27 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
5b391f85
Parents:
ac2bb464
git-author:
Sebastian Huber <sebastian.huber@…> (05/31/13 07:59:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/31/13 13:20:31)
Message:

bsps/arm: Merge ARMv7 MMU section definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/realview-pbx-a9/startup/bspstarthooks.c

    rac2bb464 r1dcf5fe  
    2828    .begin = (uint32_t) bsp_section_fast_text_begin,
    2929    .end = (uint32_t) bsp_section_fast_text_end,
    30     .flags = BSP_ARM_MMU_CODE
     30    .flags = ARMV7_MMU_CODE_CACHED
    3131  }, {
    3232    .begin = (uint32_t) bsp_section_fast_data_begin,
    3333    .end = (uint32_t) bsp_section_fast_data_end,
    34     .flags = BSP_ARM_MMU_READ_WRITE_DATA
     34    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    3535  }, {
    3636    .begin = (uint32_t) bsp_section_start_begin,
    3737    .end = (uint32_t) bsp_section_start_end,
    38     .flags = BSP_ARM_MMU_CODE
     38    .flags = ARMV7_MMU_CODE_CACHED
    3939  }, {
    4040    .begin = (uint32_t) bsp_section_vector_begin,
    4141    .end = (uint32_t) bsp_section_vector_end,
    42     .flags = BSP_ARM_MMU_READ_WRITE_CACHED
     42    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    4343  }, {
    4444    .begin = (uint32_t) bsp_section_text_begin,
    4545    .end = (uint32_t) bsp_section_text_end,
    46     .flags = BSP_ARM_MMU_CODE
     46    .flags = ARMV7_MMU_CODE_CACHED
    4747  }, {
    4848    .begin = (uint32_t) bsp_section_rodata_begin,
    4949    .end = (uint32_t) bsp_section_rodata_end,
    50     .flags = BSP_ARM_MMU_READ_ONLY_DATA
     50    .flags = ARMV7_MMU_DATA_READ_ONLY_CACHED
    5151  }, {
    5252    .begin = (uint32_t) bsp_section_data_begin,
    5353    .end = (uint32_t) bsp_section_data_end,
    54     .flags = BSP_ARM_MMU_READ_WRITE_DATA
     54    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    5555  }, {
    5656    .begin = (uint32_t) bsp_section_bss_begin,
    5757    .end = (uint32_t) bsp_section_bss_end,
    58     .flags = BSP_ARM_MMU_READ_WRITE_DATA
     58    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    5959  }, {
    6060    .begin = (uint32_t) bsp_section_work_begin,
    6161    .end = (uint32_t) bsp_section_work_end,
    62     .flags = BSP_ARM_MMU_READ_WRITE_DATA
     62    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    6363  }, {
    6464    .begin = (uint32_t) bsp_section_stack_begin,
    6565    .end = (uint32_t) bsp_section_stack_end,
    66     .flags = BSP_ARM_MMU_READ_WRITE_DATA
     66    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    6767  }, {
    6868    .begin = 0x10000000U,
    6969    .end = 0x10020000U,
    70     .flags = BSP_ARM_MMU_READ_WRITE
     70    .flags = ARMV7_MMU_DEVICE
    7171  }, {
    7272    .begin = 0x1f000000U,
    7373    .end = 0x20000000U,
    74     .flags = BSP_ARM_MMU_READ_WRITE
     74    .flags = ARMV7_MMU_DEVICE
    7575  }
    7676};
     
    8686    ctrl,
    8787    (uint32_t *) bsp_translation_table_base,
    88     BSP_ARM_MMU_CLIENT_DOMAIN,
     88    ARM_MMU_DEFAULT_CLIENT_DOMAIN,
    8989    &rvpbxa9_mmu_config_table[0],
    9090    RTEMS_ARRAY_SIZE(rvpbxa9_mmu_config_table)
Note: See TracChangeset for help on using the changeset viewer.