Ignore:
Timestamp:
Oct 27, 2013, 6:27:44 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
fbed79b
Parents:
f619250
git-author:
Sebastian Huber <sebastian.huber@…> (10/27/13 18:27:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/27/13 18:39:36)
Message:

bsps/arm: ARMV7_MMU_DATA_READ_WRITE_SHAREABLE

Delete ARMV7_MMU_DATA_READ_WRITE_SHAREABLE and move RTEMS_SMP
specific MMU attribute settings to arm-cp15.h.

File:
1 edited

Legend:

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

    rf619250 rf074a4d  
    1919#include <bsp/linker-symbols.h>
    2020
    21 #ifdef RTEMS_SMP
    22   #define MMU_DATA_READ_WRITE ARMV7_MMU_DATA_READ_WRITE_SHAREABLE
    23 #else
    24   #define MMU_DATA_READ_WRITE ARMV7_MMU_DATA_READ_WRITE_CACHED
    25 #endif
    26 
    2721BSP_START_DATA_SECTION static const arm_cp15_start_section_config
    2822rvpbxa9_mmu_config_table[] = {
     
    3428    .begin = (uint32_t) bsp_section_fast_data_begin,
    3529    .end = (uint32_t) bsp_section_fast_data_end,
    36     .flags = MMU_DATA_READ_WRITE
     30    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    3731  }, {
    3832    .begin = (uint32_t) bsp_section_start_begin,
     
    4236    .begin = (uint32_t) bsp_section_vector_begin,
    4337    .end = (uint32_t) bsp_section_vector_end,
    44     .flags = MMU_DATA_READ_WRITE
     38    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    4539  }, {
    4640    .begin = (uint32_t) bsp_section_text_begin,
     
    5448    .begin = (uint32_t) bsp_section_data_begin,
    5549    .end = (uint32_t) bsp_section_data_end,
    56     .flags = MMU_DATA_READ_WRITE
     50    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    5751  }, {
    5852    .begin = (uint32_t) bsp_section_bss_begin,
    5953    .end = (uint32_t) bsp_section_bss_end,
    60     .flags = MMU_DATA_READ_WRITE
     54    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    6155  }, {
    6256    .begin = (uint32_t) bsp_section_work_begin,
    6357    .end = (uint32_t) bsp_section_work_end,
    64     .flags = MMU_DATA_READ_WRITE
     58    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    6559  }, {
    6660    .begin = (uint32_t) bsp_section_stack_begin,
    6761    .end = (uint32_t) bsp_section_stack_end,
    68     .flags = MMU_DATA_READ_WRITE
     62    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    6963  }, {
    7064    .begin = 0x10000000U,
Note: See TracChangeset for help on using the changeset viewer.