bsps/aarch64: Mask debug events from startup

Debug events should be masked at least until after the first context
switch and should usually be masked until a debugger is attached for
application debugging.
This commit is contained in:
Kinsey Moore
2021-11-01 08:39:00 -05:00
committed by Joel Sherrill
parent 2d27725838
commit 750bde8c78
+2 -2
View File
@@ -201,8 +201,8 @@ _el1_start:
#endif
add x3, x1, x2
/* Disable interrupts */
msr DAIFSet, #0x2
/* Disable interrupts and debug */
msr DAIFSet, #0xa
#ifdef BSP_START_NEEDS_REGISTER_INITIALIZATION
mov x8, XZR