9#ifndef ZEPHYR_INCLUDE_LINKER_SECTION_TAGS_H_
10#define ZEPHYR_INCLUDE_LINKER_SECTION_TAGS_H_
14#if !defined(_ASMLANGUAGE)
18#define __noinit __in_section_unique(_NOINIT_SECTION_NAME)
19#define __noinit_named(name) __in_section_unique_named(_NOINIT_SECTION_NAME, name)
20#define __irq_vector_table Z_GENERIC_SECTION(_IRQ_VECTOR_TABLE_SECTION_NAME)
21#define __sw_isr_table Z_GENERIC_SECTION(_SW_ISR_TABLE_SECTION_NAME)
23#ifdef CONFIG_SHARED_INTERRUPTS
24#define __shared_sw_isr_table Z_GENERIC_SECTION(_SHARED_SW_ISR_TABLE_SECTION_NAME)
28#define __imr __in_section_unique(imr)
29#define __imrdata __in_section_unique(imrdata)
31#if defined(CONFIG_ARM)
32#define __kinetis_flash_config_section __in_section_unique(_KINETIS_FLASH_CONFIG_SECTION_NAME)
33#define __ti_ccfg_section Z_GENERIC_SECTION(_TI_CCFG_SECTION_NAME)
34#define __ccm_data_section Z_GENERIC_SECTION(_CCM_DATA_SECTION_NAME)
35#define __ccm_bss_section Z_GENERIC_SECTION(_CCM_BSS_SECTION_NAME)
36#define __ccm_noinit_section Z_GENERIC_SECTION(_CCM_NOINIT_SECTION_NAME)
37#define __itcm_section Z_GENERIC_SECTION(_ITCM_SECTION_NAME)
38#define __dtcm_data_section Z_GENERIC_SECTION(_DTCM_DATA_SECTION_NAME)
39#define __dtcm_bss_section Z_GENERIC_SECTION(_DTCM_BSS_SECTION_NAME)
40#define __dtcm_noinit_section Z_GENERIC_SECTION(_DTCM_NOINIT_SECTION_NAME)
41#define __ocm_data_section Z_GENERIC_SECTION(_OCM_DATA_SECTION_NAME)
42#define __ocm_bss_section Z_GENERIC_SECTION(_OCM_BSS_SECTION_NAME)
43#define __imx_boot_conf_section Z_GENERIC_SECTION(_IMX_BOOT_CONF_SECTION_NAME)
44#define __imx_boot_data_section Z_GENERIC_SECTION(_IMX_BOOT_DATA_SECTION_NAME)
45#define __imx_boot_ivt_section Z_GENERIC_SECTION(_IMX_BOOT_IVT_SECTION_NAME)
46#define __imx_boot_dcd_section Z_GENERIC_SECTION(_IMX_BOOT_DCD_SECTION_NAME)
47#define __stm32_sdram1_section Z_GENERIC_SECTION(_STM32_SDRAM1_SECTION_NAME)
48#define __stm32_sdram2_section Z_GENERIC_SECTION(_STM32_SDRAM2_SECTION_NAME)
49#define __stm32_backup_sram_section Z_GENERIC_SECTION(_STM32_BACKUP_SRAM_SECTION_NAME)
52#if defined(CONFIG_NOCACHE_MEMORY)
53#define __nocache __in_section_unique(_NOCACHE_SECTION_NAME)
54#define __nocache_noinit __nocache
57#define __nocache_noinit __noinit
60#if defined(CONFIG_KERNEL_COHERENCE)
61#define __incoherent __in_section_unique(cached)
62#if defined(CONFIG_USERSPACE)
63#define __stackmem Z_GENERIC_SECTION(.user_stacks)
65#define __stackmem __incoherent
67#define __kstackmem __incoherent
70#define __stackmem Z_GENERIC_SECTION(.user_stacks)
71#define __kstackmem __noinit
74#if defined(CONFIG_LINKER_USE_BOOT_SECTION)
75#define __boot_func Z_GENERIC_DOT_SECTION(BOOT_TEXT_SECTION_NAME)
76#define __boot_data Z_GENERIC_DOT_SECTION(BOOT_DATA_SECTION_NAME)
77#define __boot_rodata Z_GENERIC_DOT_SECTION(BOOT_RODATA_SECTION_NAME)
78#define __boot_bss Z_GENERIC_DOT_SECTION(BOOT_BSS_SECTION_NAME)
79#define __boot_noinit Z_GENERIC_DOT_SECTION(BOOT_NOINIT_SECTION_NAME)
85#define __boot_noinit __noinit
88#if defined(CONFIG_LINKER_USE_PINNED_SECTION)
89#define __pinned_func Z_GENERIC_DOT_SECTION(PINNED_TEXT_SECTION_NAME)
90#define __pinned_data Z_GENERIC_DOT_SECTION(PINNED_DATA_SECTION_NAME)
91#define __pinned_rodata Z_GENERIC_DOT_SECTION(PINNED_RODATA_SECTION_NAME)
92#define __pinned_bss Z_GENERIC_DOT_SECTION(PINNED_BSS_SECTION_NAME)
93#define __pinned_noinit Z_GENERIC_DOT_SECTION(PINNED_NOINIT_SECTION_NAME)
97#define __pinned_rodata
99#define __pinned_noinit __noinit
102#if defined(CONFIG_LINKER_USE_PINNED_SECTION)
103#define __isr __pinned_func
109#if defined(CONFIG_SYMTAB)
110#define __symtab_info Z_GENERIC_SECTION(_SYMTAB_INFO_SECTION_NAME)
111#define __symtab_entry Z_GENERIC_SECTION(_SYMTAB_ENTRY_SECTION_NAME)
Definitions of various linker Sections.