Changeset dcf806e in rtems
- Timestamp:
- Jul 17, 2016, 4:50:18 PM (5 years ago)
- Branches:
- 5, master
- Children:
- 8709aa04
- Parents:
- bef2b73
- git-author:
- Pavel Pisa <pisa@…> (07/17/16 16:50:18)
- git-committer:
- Pavel Pisa <pisa@…> (07/20/16 14:46:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c
rbef2b73 rdcf806e 24 24 #include <bsp/arm-cp15-start.h> 25 25 26 /* 27 * Pagetable initialization data 28 * 29 * Keep all read-only sections before read-write ones. 30 * This ensures that write is allowed if one page/region 31 * is partially filled by read-only section contentent 32 * and rest is used for writeable section 33 */ 34 26 35 const arm_cp15_start_section_config arm_cp15_start_mmu_config_table[] = { 27 36 { … … 30 39 .flags = ARMV7_MMU_CODE_CACHED 31 40 }, { 41 .begin = (uint32_t) bsp_section_start_begin, 42 .end = (uint32_t) bsp_section_start_end, 43 .flags = ARMV7_MMU_CODE_CACHED 44 }, { 45 .begin = (uint32_t) bsp_section_text_begin, 46 .end = (uint32_t) bsp_section_text_end, 47 .flags = ARMV7_MMU_CODE_CACHED 48 }, { 49 .begin = (uint32_t) bsp_section_rodata_begin, 50 .end = (uint32_t) bsp_section_rodata_end, 51 .flags = ARMV7_MMU_DATA_READ_ONLY_CACHED 52 }, { 53 .begin = (uint32_t) bsp_translation_table_base, 54 .end = (uint32_t) bsp_translation_table_base + 0x4000, 55 .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED 56 }, { 32 57 .begin = (uint32_t) bsp_section_fast_data_begin, 33 58 .end = (uint32_t) bsp_section_fast_data_end, 34 59 .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED 35 60 }, { 36 .begin = (uint32_t) bsp_section_start_begin,37 .end = (uint32_t) bsp_section_start_end,38 .flags = ARMV7_MMU_CODE_CACHED39 }, {40 61 .begin = (uint32_t) bsp_section_vector_begin, 41 62 .end = (uint32_t) bsp_section_vector_end, 42 63 .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED 43 }, {44 .begin = (uint32_t) bsp_section_text_begin,45 .end = (uint32_t) bsp_section_text_end,46 .flags = ARMV7_MMU_READ_WRITE47 }, {48 .begin = (uint32_t) bsp_section_rodata_begin,49 .end = (uint32_t) bsp_section_rodata_end,50 .flags = ARMV7_MMU_DATA_READ_ONLY_CACHED51 64 }, { 52 65 .begin = (uint32_t) bsp_section_data_begin,
Note: See TracChangeset
for help on using the changeset viewer.