image-vars.h (a787bdaff83a085288b6fc607afb4bb648da3cc9) image-vars.h (68b824e428c5fb5c3dc5ef80b1543e767534b58e)
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

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

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/* Alternative callbacks for init-time patching of nVHE hyp code. */
65KVM_NVHE_ALIAS(kvm_patch_vector_branch);
66KVM_NVHE_ALIAS(kvm_update_va_mask);
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

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

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/* Alternative callbacks for init-time patching of nVHE hyp code. */
65KVM_NVHE_ALIAS(kvm_patch_vector_branch);
66KVM_NVHE_ALIAS(kvm_update_va_mask);
67KVM_NVHE_ALIAS(kvm_update_kimg_phys_offset);
68KVM_NVHE_ALIAS(kvm_get_kimage_voffset);
67
68/* Global kernel state accessed by nVHE hyp code. */
69KVM_NVHE_ALIAS(kvm_vgic_global_state);
70
69
70/* Global kernel state accessed by nVHE hyp code. */
71KVM_NVHE_ALIAS(kvm_vgic_global_state);
72
71/* Kernel constant needed to compute idmap addresses. */
72KVM_NVHE_ALIAS(kimage_voffset);
73
74/* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */
75KVM_NVHE_ALIAS(__hyp_panic_string);
76KVM_NVHE_ALIAS(panic);
77
78/* Vectors installed by hyp-init on reset HVC. */
79KVM_NVHE_ALIAS(__hyp_stub_vectors);
80
81/* IDMAP TCR_EL1.T0SZ as computed by the EL1 init code */

--- 27 unchanged lines hidden ---
73/* Kernel symbols used to call panic() from nVHE hyp code (via ERET). */
74KVM_NVHE_ALIAS(__hyp_panic_string);
75KVM_NVHE_ALIAS(panic);
76
77/* Vectors installed by hyp-init on reset HVC. */
78KVM_NVHE_ALIAS(__hyp_stub_vectors);
79
80/* IDMAP TCR_EL1.T0SZ as computed by the EL1 init code */

--- 27 unchanged lines hidden ---