Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:51

0001 #ifndef LIBBSP_OR1k_SHARED_LINKER_SYMBOLS_H
0002 #define LIBBSP_OR1k_SHARED_LINKER_SYMBOLS_H
0003 
0004 /**
0005  * @file
0006  *
0007  * @ingroup RTEMSBSPsLinkerSymbolsOr1k
0008  *
0009  * @brief This header file provides interfaces to OpenRISC 1000 specific linker
0010  *   symbols and sections.
0011  */
0012 
0013 #ifdef __cplusplus
0014 extern "C" {
0015 #endif /* __cplusplus */
0016 
0017 /**
0018  * @defgroup RTEMSBSPsLinkerSymbolsOr1k OpenRISC 1000 Linker Symbols
0019  *
0020  * @ingroup RTEMSBSPsLinkerSymbols
0021  *
0022  * @brief This group provides support for OpenRISC 1000 specific linker symbols
0023  *   and sections.
0024  *
0025  * @{
0026  */
0027 
0028 #ifndef ASM
0029   #define LINKER_SYMBOL(sym) extern char sym [];
0030 #else
0031   #define LINKER_SYMBOL(sym) .extern sym
0032 #endif
0033 
0034 LINKER_SYMBOL(bsp_vector_table_begin)
0035 LINKER_SYMBOL(bsp_vector_table_end)
0036 LINKER_SYMBOL(bsp_vector_table_size)
0037 
0038 LINKER_SYMBOL(bsp_start_vector_table_begin)
0039 LINKER_SYMBOL(bsp_start_vector_table_end)
0040 LINKER_SYMBOL(bsp_start_vector_table_size)
0041 
0042 LINKER_SYMBOL(bsp_translation_table_base)
0043 LINKER_SYMBOL(bsp_translation_table_end)
0044 
0045 /** @} */
0046 
0047 #ifdef __cplusplus
0048 }
0049 #endif /* __cplusplus */
0050 
0051 #endif /* LIBBSP_OR1K_SHARED_LINKER_SYMBOLS_H */