mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 17:17:44 -04:00
Disable FIQ after calling application IRQ handler
External interrupt(FIQ and IRQ) should be disabled to protect critical data after calling vApplicationIRQHandler. When FIQ is configured to handle external interrupt (e.g. external interrupt is configured as group0 in secure state), FIQ should be also disabled. Signed-off-by: Shunyong Yang <yang.shunyong@gmail.com>
This commit is contained in:
parent
66b3f908df
commit
56c6c55985
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ FreeRTOS_IRQ_Handler:
|
|||
BL vApplicationIRQHandler
|
||||
|
||||
/* Disable interrupts. */
|
||||
MSR DAIFSET, #2
|
||||
MSR DAIFSET, #3
|
||||
DSB SY
|
||||
ISB SY
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue