xref: /openbmc/linux/arch/xtensa/include/asm/sections.h (revision ec32c0c4)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef _XTENSA_SECTIONS_H
4 #define _XTENSA_SECTIONS_H
5 
6 #include <asm-generic/sections.h>
7 
8 #ifdef CONFIG_VECTORS_ADDR
9 extern char _WindowVectors_text_start[];
10 extern char _WindowVectors_text_end[];
11 extern char _DebugInterruptVector_text_start[];
12 extern char _DebugInterruptVector_text_end[];
13 extern char _KernelExceptionVector_text_start[];
14 extern char _KernelExceptionVector_text_end[];
15 extern char _UserExceptionVector_text_start[];
16 extern char _UserExceptionVector_text_end[];
17 extern char _DoubleExceptionVector_text_start[];
18 extern char _DoubleExceptionVector_text_end[];
19 extern char _exception_text_start[];
20 extern char _exception_text_end[];
21 extern char _Level2InterruptVector_text_start[];
22 extern char _Level2InterruptVector_text_end[];
23 extern char _Level3InterruptVector_text_start[];
24 extern char _Level3InterruptVector_text_end[];
25 extern char _Level4InterruptVector_text_start[];
26 extern char _Level4InterruptVector_text_end[];
27 extern char _Level5InterruptVector_text_start[];
28 extern char _Level5InterruptVector_text_end[];
29 extern char _Level6InterruptVector_text_start[];
30 extern char _Level6InterruptVector_text_end[];
31 #endif
32 #ifdef CONFIG_SECONDARY_RESET_VECTOR
33 extern char _SecondaryResetVector_text_start[];
34 extern char _SecondaryResetVector_text_end[];
35 #endif
36 #ifdef CONFIG_XIP_KERNEL
37 extern char _xip_start[];
38 extern char _xip_end[];
39 #endif
40 
41 #endif
42