source: rtems/c/src/lib/libbsp/powerpc/shared/include/linker-symbols.h @ 113768f

4.115
Last change on this file since 113768f was 113768f, checked in by Sebastian Huber <sebastian.huber@…>, on 11/23/12 at 13:16:11

bsps/powerpc: Add .nvram section

  • Property mode set to 100644
File size: 3.1 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup bsp_linker
5 *
6 * @brief Symbols defined in linker command base file.
7 */
8
9/*
10 * Copyright (c) 2010-2012 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@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#ifndef LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H
24#define LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H
25
26#include <libcpu/powerpc-utility.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif /* __cplusplus */
31
32/**
33 * @defgroup bsp_linker Linker Support
34 *
35 * @ingroup bsp_kit
36 *
37 * @brief Linker support.
38 *
39 * @{
40 */
41
42LINKER_SYMBOL(bsp_section_start_begin)
43LINKER_SYMBOL(bsp_section_start_end)
44LINKER_SYMBOL(bsp_section_start_size)
45
46LINKER_SYMBOL(bsp_section_fast_text_begin)
47LINKER_SYMBOL(bsp_section_fast_text_end)
48LINKER_SYMBOL(bsp_section_fast_text_size)
49LINKER_SYMBOL(bsp_section_fast_text_load_begin)
50LINKER_SYMBOL(bsp_section_fast_text_load_end)
51
52LINKER_SYMBOL(bsp_section_text_begin)
53LINKER_SYMBOL(bsp_section_text_end)
54LINKER_SYMBOL(bsp_section_text_size)
55LINKER_SYMBOL(bsp_section_text_load_begin)
56LINKER_SYMBOL(bsp_section_text_load_end)
57
58LINKER_SYMBOL(bsp_section_rodata_begin)
59LINKER_SYMBOL(bsp_section_rodata_end)
60LINKER_SYMBOL(bsp_section_rodata_size)
61LINKER_SYMBOL(bsp_section_rodata_load_begin)
62LINKER_SYMBOL(bsp_section_rodata_load_end)
63
64LINKER_SYMBOL(bsp_section_fast_data_begin)
65LINKER_SYMBOL(bsp_section_fast_data_end)
66LINKER_SYMBOL(bsp_section_fast_data_size)
67LINKER_SYMBOL(bsp_section_fast_data_load_begin)
68LINKER_SYMBOL(bsp_section_fast_data_load_end)
69
70LINKER_SYMBOL(bsp_section_data_begin)
71LINKER_SYMBOL(bsp_section_data_end)
72LINKER_SYMBOL(bsp_section_data_size)
73LINKER_SYMBOL(bsp_section_data_load_begin)
74LINKER_SYMBOL(bsp_section_data_load_end)
75
76LINKER_SYMBOL(bsp_section_bss_begin)
77LINKER_SYMBOL(bsp_section_bss_end)
78LINKER_SYMBOL(bsp_section_bss_size)
79
80LINKER_SYMBOL(bsp_section_sbss_begin)
81LINKER_SYMBOL(bsp_section_sbss_end)
82LINKER_SYMBOL(bsp_section_sbss_size)
83
84LINKER_SYMBOL(bsp_section_rwextra_begin)
85LINKER_SYMBOL(bsp_section_rwextra_end)
86LINKER_SYMBOL(bsp_section_rwextra_size)
87
88LINKER_SYMBOL(bsp_section_work_begin)
89LINKER_SYMBOL(bsp_section_work_end)
90LINKER_SYMBOL(bsp_section_work_size)
91
92LINKER_SYMBOL(bsp_section_stack_begin)
93LINKER_SYMBOL(bsp_section_stack_end)
94LINKER_SYMBOL(bsp_section_stack_size)
95
96LINKER_SYMBOL(bsp_section_nocache_begin)
97LINKER_SYMBOL(bsp_section_nocache_end)
98LINKER_SYMBOL(bsp_section_nocache_size)
99LINKER_SYMBOL(bsp_section_nocache_load_begin)
100LINKER_SYMBOL(bsp_section_nocache_load_end)
101
102LINKER_SYMBOL(bsp_section_nvram_begin)
103LINKER_SYMBOL(bsp_section_nvram_end)
104LINKER_SYMBOL(bsp_section_nvram_size)
105
106#define BSP_FAST_TEXT_SECTION __attribute__((section(".bsp_fast_text")))
107
108#define BSP_FAST_DATA_SECTION __attribute__((section(".bsp_fast_data")))
109
110#define BSP_NOCACHE_SECTION __attribute__((section(".bsp_nocache")))
111
112#define BSP_NVRAM_SECTION __attribute__((section(".bsp_nvram")))
113
114/** @} */
115
116#ifdef __cplusplus
117}
118#endif /* __cplusplus */
119
120#endif /* LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H */
Note: See TracBrowser for help on using the repository browser.