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

4.11
Last change on this file since 296c74e6 was 296c74e6, checked in by Daniel Ramirez <javamonn@…>, on Dec 9, 2013 at 7:37:48 PM

doxygen: refactored doxygen in libbsp to illustrate new rule set

  • Property mode set to 100644
File size: 3.5 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup powerpc_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 powerpc_linker Linker Support
34 *
35 * @ingroup powerpc_shared
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_sdata2_begin)
65LINKER_SYMBOL(bsp_section_sdata2_end)
66LINKER_SYMBOL(bsp_section_sdata2_size)
67LINKER_SYMBOL(bsp_section_sdata2_load_begin)
68LINKER_SYMBOL(bsp_section_sdata2_load_end)
69
70LINKER_SYMBOL(bsp_section_fast_data_begin)
71LINKER_SYMBOL(bsp_section_fast_data_end)
72LINKER_SYMBOL(bsp_section_fast_data_size)
73LINKER_SYMBOL(bsp_section_fast_data_load_begin)
74LINKER_SYMBOL(bsp_section_fast_data_load_end)
75
76LINKER_SYMBOL(bsp_section_data_begin)
77LINKER_SYMBOL(bsp_section_data_end)
78LINKER_SYMBOL(bsp_section_data_size)
79LINKER_SYMBOL(bsp_section_data_load_begin)
80LINKER_SYMBOL(bsp_section_data_load_end)
81
82LINKER_SYMBOL(bsp_section_sdata_begin)
83LINKER_SYMBOL(bsp_section_sdata_end)
84LINKER_SYMBOL(bsp_section_sdata_size)
85LINKER_SYMBOL(bsp_section_sdata_load_begin)
86LINKER_SYMBOL(bsp_section_sdata_load_end)
87
88LINKER_SYMBOL(bsp_section_bss_begin)
89LINKER_SYMBOL(bsp_section_bss_end)
90LINKER_SYMBOL(bsp_section_bss_size)
91
92LINKER_SYMBOL(bsp_section_sbss_begin)
93LINKER_SYMBOL(bsp_section_sbss_end)
94LINKER_SYMBOL(bsp_section_sbss_size)
95
96LINKER_SYMBOL(bsp_section_rwextra_begin)
97LINKER_SYMBOL(bsp_section_rwextra_end)
98LINKER_SYMBOL(bsp_section_rwextra_size)
99
100LINKER_SYMBOL(bsp_section_work_begin)
101LINKER_SYMBOL(bsp_section_work_end)
102LINKER_SYMBOL(bsp_section_work_size)
103
104LINKER_SYMBOL(bsp_section_stack_begin)
105LINKER_SYMBOL(bsp_section_stack_end)
106LINKER_SYMBOL(bsp_section_stack_size)
107
108LINKER_SYMBOL(bsp_section_nocache_begin)
109LINKER_SYMBOL(bsp_section_nocache_end)
110LINKER_SYMBOL(bsp_section_nocache_size)
111LINKER_SYMBOL(bsp_section_nocache_load_begin)
112LINKER_SYMBOL(bsp_section_nocache_load_end)
113
114LINKER_SYMBOL(bsp_section_nvram_begin)
115LINKER_SYMBOL(bsp_section_nvram_end)
116LINKER_SYMBOL(bsp_section_nvram_size)
117
118#define BSP_FAST_TEXT_SECTION __attribute__((section(".bsp_fast_text")))
119
120#define BSP_FAST_DATA_SECTION __attribute__((section(".bsp_fast_data")))
121
122#define BSP_NOCACHE_SECTION __attribute__((section(".bsp_nocache")))
123
124#define BSP_NVRAM_SECTION __attribute__((section(".bsp_nvram")))
125
126/** @} */
127
128#ifdef __cplusplus
129}
130#endif /* __cplusplus */
131
132#endif /* LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H */
Note: See TracBrowser for help on using the repository browser.