Lines Matching +full:mode +full:- +full:bootloader
1 /* SPDX-License-Identifier: GPL-2.0-only */
16 * The hypercall is allowed to clobber any of the caller-saved
17 * registers (x0-x18), so it is advisable to use it through the
18 * indirection of a function call (as implemented in hyp-stub.S).
22 * HVC_SET_VECTORS - Set the value of the vbar_el2 register.
29 * HVC_SOFT_RESTART - CPU soft reset, used by the cpu_soft_restart routine.
34 * HVC_RESET_VECTORS - Restore the vectors to the original HYP stubs
39 * HVC_FINALISE_EL2 - Upgrade the CPU from EL1 to EL2, if possible
53 * Flags returned together with the boot mode, but not preserved in
67 * __boot_cpu_mode records what mode CPUs were booted in.
68 * A correctly-implemented bootloader must start all CPUs in the same mode:
72 * Should the bootloader fail to do this, the two values will be different.
91 /* Reports the availability of HYP mode */
95 * If KVM protected mode is initialized, all CPUs must have been booted in is_hyp_mode_available()
105 /* Check if the bootloader has booted CPUs in different modes */
109 * If KVM protected mode is initialized, all CPUs must have been booted in is_hyp_mode_mismatched()
130 * This allows the compiler to discard VHE-specific code from the in has_vhe()