source: rtems/c/src/lib/libbsp/arm/raspberrypi/startup/mm_config_table.c @ 98eb7e78

4.115
Last change on this file since 98eb7e78 was 98eb7e78, checked in by Daniel Ramirez <javamonn@…>, on 11/26/13 at 00:14:28

raspberrypi doxygen refactoring

  • Property mode set to 100644
File size: 2.2 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.com/license/LICENSE.
21 */
22
23#include <bsp/start.h>
24#include <bsp/arm-cp15-start.h>
25
26BSP_START_DATA_SECTION const arm_cp15_start_section_config
27bsp_mm_config_table[] = {
28  {
29    .begin = (uint32_t) bsp_section_fast_text_begin,
30    .end = (uint32_t) bsp_section_fast_text_end,
31    .flags = ARMV7_MMU_CODE_CACHED
32  }, {
33    .begin = (uint32_t) bsp_section_fast_data_begin,
34    .end = (uint32_t) bsp_section_fast_data_end,
35    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
36  }, {
37    .begin = (uint32_t) bsp_section_start_begin,
38    .end = (uint32_t) bsp_section_start_end,
39    .flags = ARMV7_MMU_CODE_CACHED
40  }, {
41    .begin = (uint32_t) bsp_section_vector_begin,
42    .end = (uint32_t) bsp_section_vector_end,
43    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
44  }, {
45    .begin = (uint32_t) bsp_section_text_begin,
46    .end = (uint32_t) bsp_section_text_end,
47    .flags = ARMV7_MMU_READ_WRITE
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_section_data_begin,
54    .end = (uint32_t) bsp_section_data_end,
55    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
56  }, {
57    .begin = (uint32_t) bsp_section_bss_begin,
58    .end = (uint32_t) bsp_section_bss_end,
59    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
60  }, {
61    .begin = (uint32_t) bsp_section_work_begin,
62    .end = (uint32_t) bsp_section_work_end,
63    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
64  }, {
65    .begin = (uint32_t) bsp_section_stack_begin,
66    .end = (uint32_t) bsp_section_stack_end,
67    .flags = ARMV7_MMU_DATA_READ_WRITE_CACHED
68  }, {
69    .begin = 0x20000000,
70    .end = 0x21000000,
71    .flags = ARMV7_MMU_DEVICE
72  }
73};
74
75BSP_START_DATA_SECTION const size_t bsp_mm_config_table_size =
76RTEMS_ARRAY_SIZE(bsp_mm_config_table);
Note: See TracBrowser for help on using the repository browser.