Searched refs:BOOT_CPU_MODE_EL2 (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/arm64/include/asm/
H A Dvirt.h22 #define BOOT_CPU_MODE_EL2 (0xe12) macro
30 * same value (either 0 if booted in EL1, BOOT_CPU_MODE_EL2 if booted in EL2).
43 return (__boot_cpu_mode[0] == BOOT_CPU_MODE_EL2 && is_hyp_mode_available()
44 __boot_cpu_mode[1] == BOOT_CPU_MODE_EL2); is_hyp_mode_available()
/linux-4.4.14/arch/arm64/kernel/
H A Dhead.S445 * Returns either BOOT_CPU_MODE_EL1 or BOOT_CPU_MODE_EL2 in x20 if
537 mov w20, #BOOT_CPU_MODE_EL2 // This CPU booted in EL2
547 cmp w20, #BOOT_CPU_MODE_EL2
566 .long BOOT_CPU_MODE_EL2

Completed in 107 milliseconds