mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-10 07:44:23 +08:00
bd47cdb789
Introduce asm/sections.h and move section declarations to this header from setup.c. Assign section symbols char array type uniformly and drop address operator from section symbol references in code. Sort headers in setup.c while at it. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
42 lines
1.4 KiB
C
42 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _XTENSA_SECTIONS_H
|
|
#define _XTENSA_SECTIONS_H
|
|
|
|
#include <asm-generic/sections.h>
|
|
|
|
#ifdef CONFIG_VECTORS_ADDR
|
|
extern char _WindowVectors_text_start[];
|
|
extern char _WindowVectors_text_end[];
|
|
extern char _DebugInterruptVector_text_start[];
|
|
extern char _DebugInterruptVector_text_end[];
|
|
extern char _KernelExceptionVector_text_start[];
|
|
extern char _KernelExceptionVector_text_end[];
|
|
extern char _UserExceptionVector_text_start[];
|
|
extern char _UserExceptionVector_text_end[];
|
|
extern char _DoubleExceptionVector_text_start[];
|
|
extern char _DoubleExceptionVector_text_end[];
|
|
extern char _exception_text_start[];
|
|
extern char _exception_text_end[];
|
|
extern char _Level2InterruptVector_text_start[];
|
|
extern char _Level2InterruptVector_text_end[];
|
|
extern char _Level3InterruptVector_text_start[];
|
|
extern char _Level3InterruptVector_text_end[];
|
|
extern char _Level4InterruptVector_text_start[];
|
|
extern char _Level4InterruptVector_text_end[];
|
|
extern char _Level5InterruptVector_text_start[];
|
|
extern char _Level5InterruptVector_text_end[];
|
|
extern char _Level6InterruptVector_text_start[];
|
|
extern char _Level6InterruptVector_text_end[];
|
|
#endif
|
|
#ifdef CONFIG_SMP
|
|
extern char _SecondaryResetVector_text_start[];
|
|
extern char _SecondaryResetVector_text_end[];
|
|
#endif
|
|
#ifdef CONFIG_XIP_KERNEL
|
|
extern char _xip_start[];
|
|
extern char _xip_end[];
|
|
#endif
|
|
|
|
#endif
|