diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2021-10-25 09:56:32 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-11-01 08:39:00 -0500 |
commit | 750bde8c78e4320609a0e8b128702cb712fc1fef (patch) | |
tree | 2e6ffb43f55b19e7e64b9ccbfdd9913dc7414a48 /bsps/aarch64/shared/start/start.S | |
parent | bsps/aarch64: Set interrupt level correctly (diff) | |
download | rtems-750bde8c78e4320609a0e8b128702cb712fc1fef.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | bsps/aarch64/shared/start/start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/aarch64/shared/start/start.S b/bsps/aarch64/shared/start/start.S index bc6a855217..f03c7921ca 100644 --- a/bsps/aarch64/shared/start/start.S +++ b/bsps/aarch64/shared/start/start.S @@ -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 |