source: rtems/c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c @ 8fbe2e6

4.115
Last change on this file since 8fbe2e6 was 9eb1994f, checked in by Sebastian Huber <sebastian.huber@…>, on 07/01/14 at 13:17:40

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

  • Property mode set to 100644
File size: 2.1 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup arm_start
5 *
6 * @brief Raspberry Pi low level start
7 */
8
9/*
10 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Dornierstr. 4
14 *  82178 Puchheim
15 *  Germany
16 *  <info@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#include <bsp/arm-cp15-start.h>
24
25const arm_cp15_start_section_config arm_cp15_start_mmu_config_table[] = {
26  {
27    .begin = (uint32_t) bsp_section_fast_text_begin,
28    .end = (uint32_t) bsp_section_fast_text_end,
29    .flags = ARMV7_MMU_CODE_CACHED
30  }, {
31    .begin = (uint32_t) bsp_section_fast_data_begin,
32    .end = (uint32_t) bsp_section_fast_data_end,
33    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
34  }, {
35    .begin = (uint32_t) bsp_section_start_begin,
36    .end = (uint32_t) bsp_section_start_end,
37    .flags = ARMV7_MMU_CODE_CACHED
38  }, {
39    .begin = (uint32_t) bsp_section_vector_begin,
40    .end = (uint32_t) bsp_section_vector_end,
41    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
42  }, {
43    .begin = (uint32_t) bsp_section_text_begin,
44    .end = (uint32_t) bsp_section_text_end,
45    .flags = ARMV7_MMU_READ_WRITE
46  }, {
47    .begin = (uint32_t) bsp_section_rodata_begin,
48    .end = (uint32_t) bsp_section_rodata_end,
49    .flags = ARMV7_MMU_DATA_READ_ONLY_CACHED
50  }, {
51    .begin = (uint32_t) bsp_section_data_begin,
52    .end = (uint32_t) bsp_section_data_end,
53    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
54  }, {
55    .begin = (uint32_t) bsp_section_bss_begin,
56    .end = (uint32_t) bsp_section_bss_end,
57    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
58  }, {
59    .begin = (uint32_t) bsp_section_work_begin,
60    .end = (uint32_t) bsp_section_work_end,
61    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
62  }, {
63    .begin = (uint32_t) bsp_section_stack_begin,
64    .end = (uint32_t) bsp_section_stack_end,
65    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
66  }, {
67    .begin = 0x20000000,
68    .end = 0x21000000,
69    .flags = ARMV7_MMU_DEVICE
70  }
71};
72
73const size_t arm_cp15_start_mmu_config_table_size =
74  RTEMS_ARRAY_SIZE(arm_cp15_start_mmu_config_table);
Note: See TracBrowser for help on using the repository browser.