mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 08:54:44 +08:00
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:
committed by
Joel Sherrill
parent
2d27725838
commit
750bde8c78
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user