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

bsps/arm: Add ARMV7_CP15_START_DEFAULT_SECTIONS

File:
1 edited

Legend:

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

    rf074a4d rfbed79b  
    1717#include <bsp/arm-cp15-start.h>
    1818#include <bsp/arm-a9mpcore-start.h>
    19 #include <bsp/linker-symbols.h>
    2019
    2120BSP_START_DATA_SECTION static const arm_cp15_start_section_config
    2221rvpbxa9_mmu_config_table[] = {
     22  ARMV7_CP15_START_DEFAULT_SECTIONS,
    2323  {
    24     .begin = (uint32_t) bsp_section_fast_text_begin,
    25     .end = (uint32_t) bsp_section_fast_text_end,
    26     .flags = ARMV7_MMU_CODE_CACHED
    27   }, {
    28     .begin = (uint32_t) bsp_section_fast_data_begin,
    29     .end = (uint32_t) bsp_section_fast_data_end,
    30     .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    31   }, {
    32     .begin = (uint32_t) bsp_section_start_begin,
    33     .end = (uint32_t) bsp_section_start_end,
    34     .flags = ARMV7_MMU_CODE_CACHED
    35   }, {
    36     .begin = (uint32_t) bsp_section_vector_begin,
    37     .end = (uint32_t) bsp_section_vector_end,
    38     .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    39   }, {
    40     .begin = (uint32_t) bsp_section_text_begin,
    41     .end = (uint32_t) bsp_section_text_end,
    42     .flags = ARMV7_MMU_CODE_CACHED
    43   }, {
    44     .begin = (uint32_t) bsp_section_rodata_begin,
    45     .end = (uint32_t) bsp_section_rodata_end,
    46     .flags = ARMV7_MMU_DATA_READ_ONLY_CACHED
    47   }, {
    48     .begin = (uint32_t) bsp_section_data_begin,
    49     .end = (uint32_t) bsp_section_data_end,
    50     .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    51   }, {
    52     .begin = (uint32_t) bsp_section_bss_begin,
    53     .end = (uint32_t) bsp_section_bss_end,
    54     .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    55   }, {
    56     .begin = (uint32_t) bsp_section_work_begin,
    57     .end = (uint32_t) bsp_section_work_end,
    58     .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    59   }, {
    60     .begin = (uint32_t) bsp_section_stack_begin,
    61     .end = (uint32_t) bsp_section_stack_end,
    62     .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
    63   }, {
    6424    .begin = 0x10000000U,
    6525    .end = 0x10020000U,
Note: See TracChangeset for help on using the changeset viewer.