Lines Matching +full:non +full:- +full:secure
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * code for switching cores into non-secure state and into HYP mode
12 #include <asm/proc-armv/ptrace.h>
20 /* the vector table for secure state and HYP mode */
38 * secure monitor handler
39 * U-Boot calls this "software interrupt" in start.S
41 * to non-secure state.
51 @ Obtain a secure stack
77 @ FIQ preserved for secure mode
104 movs pc, lr @ ERET to non-secure
139 * of the non-secure and HYP mode transition. The GIC distributor specific
155 * Switch a core to non-secure state.
157 * 1. initialize the GIC per-core interface
158 * 2. allow coprocessor access in non-secure modes
162 * r0-r3 and r12.
184 mcr p15, 0, r0, c1, c1, 2 @ NSACR = all copros to non-sec
187 * programmed in secure state. Some primary bootloaders / firmware
201 mcr p15, 0, r1, c12, c0, 1 @ set MVBAR to secure vectors