^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (C) 2016 ARM Limited
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #ifndef __ASM_SECTIONS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #define __ASM_SECTIONS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <asm-generic/sections.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) extern char __alt_instructions[], __alt_instructions_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) extern char __hibernate_exit_text_start[], __hibernate_exit_text_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) extern char __hyp_idmap_text_start[], __hyp_idmap_text_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) extern char __hyp_text_start[], __hyp_text_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) extern char __hyp_rodata_start[], __hyp_rodata_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) extern char __hyp_reloc_begin[], __hyp_reloc_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) extern char __hyp_bss_start[], __hyp_bss_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) extern char __idmap_text_start[], __idmap_text_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) extern char __initdata_begin[], __initdata_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) extern char __inittext_begin[], __inittext_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) extern char __exittext_begin[], __exittext_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) extern char __irqentry_text_start[], __irqentry_text_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) extern char __mmuoff_data_start[], __mmuoff_data_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) extern char __entry_tramp_text_start[], __entry_tramp_text_end[];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) static inline size_t entry_tramp_text_size(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) return __entry_tramp_text_end - __entry_tramp_text_start;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif /* __ASM_SECTIONS_H */