image-vars.h (98817a84ff1c755c347ac633ff017a623a631fad) image-vars.h (7621712918ad4f5e6356193d9058debf657a6254)
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

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

46__efistub__text = _text;
47__efistub__end = _end;
48__efistub__edata = _edata;
49__efistub_screen_info = screen_info;
50__efistub__ctype = _ctype;
51
52#endif
53
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

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

46__efistub__text = _text;
47__efistub__end = _end;
48__efistub__edata = _edata;
49__efistub_screen_info = screen_info;
50__efistub__ctype = _ctype;
51
52#endif
53
54#ifdef CONFIG_KVM
55
56/*
57 * KVM nVHE code has its own symbol namespace prefixed with __kvm_nvhe_, to
58 * separate it from the kernel proper. The following symbols are legally
59 * accessed by it, therefore provide aliases to make them linkable.
60 * Do not include symbols which may not be safely accessed under hypervisor
61 * memory mappings.
62 */
63
64#define KVM_NVHE_ALIAS(sym) __kvm_nvhe_##sym = sym;
65
66#endif /* CONFIG_KVM */
67
54#endif /* __ARM64_KERNEL_IMAGE_VARS_H */
68#endif /* __ARM64_KERNEL_IMAGE_VARS_H */