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