image-vars.h (7b4a7b5e6fefd15f708f959dd43e188444e252ec) image-vars.h (f320bc742bc23c1d43567712fe2814bf04b19ebc)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Linker script variables to be set after section resolution, as
4 * ld.lld does not like variables assigned before SECTIONS is processed.
5 */
6#ifndef __ARM64_KERNEL_IMAGE_VARS_H
7#define __ARM64_KERNEL_IMAGE_VARS_H
8

--- 101 unchanged lines hidden (view full) ---

110KVM_NVHE_ALIAS_HYP(memcpy, __pi_memcpy);
111KVM_NVHE_ALIAS_HYP(memset, __pi_memset);
112
113#ifdef CONFIG_KASAN
114KVM_NVHE_ALIAS_HYP(__memcpy, __pi_memcpy);
115KVM_NVHE_ALIAS_HYP(__memset, __pi_memset);
116#endif
117
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Linker script variables to be set after section resolution, as
4 * ld.lld does not like variables assigned before SECTIONS is processed.
5 */
6#ifndef __ARM64_KERNEL_IMAGE_VARS_H
7#define __ARM64_KERNEL_IMAGE_VARS_H
8

--- 101 unchanged lines hidden (view full) ---

110KVM_NVHE_ALIAS_HYP(memcpy, __pi_memcpy);
111KVM_NVHE_ALIAS_HYP(memset, __pi_memset);
112
113#ifdef CONFIG_KASAN
114KVM_NVHE_ALIAS_HYP(__memcpy, __pi_memcpy);
115KVM_NVHE_ALIAS_HYP(__memset, __pi_memset);
116#endif
117
118/* Kernel memory sections */
119KVM_NVHE_ALIAS(__start_rodata);
120KVM_NVHE_ALIAS(__end_rodata);
121KVM_NVHE_ALIAS(__bss_start);
122KVM_NVHE_ALIAS(__bss_stop);
123
124/* Hyp memory sections */
125KVM_NVHE_ALIAS(__hyp_idmap_text_start);
126KVM_NVHE_ALIAS(__hyp_idmap_text_end);
127KVM_NVHE_ALIAS(__hyp_text_start);
128KVM_NVHE_ALIAS(__hyp_text_end);
129KVM_NVHE_ALIAS(__hyp_bss_start);
130KVM_NVHE_ALIAS(__hyp_bss_end);
131KVM_NVHE_ALIAS(__hyp_rodata_start);
132KVM_NVHE_ALIAS(__hyp_rodata_end);
133
118#endif /* CONFIG_KVM */
119
120#endif /* __ARM64_KERNEL_IMAGE_VARS_H */
134#endif /* CONFIG_KVM */
135
136#endif /* __ARM64_KERNEL_IMAGE_VARS_H */