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:
Shunyong Yang 2021-03-19 16:02:48 +08:00
parent 66b3f908df
commit 56c6c55985

View file

@ -319,7 +319,7 @@ FreeRTOS_IRQ_Handler:
BL vApplicationIRQHandler
/* Disable interrupts. */
MSR DAIFSET, #2
MSR DAIFSET, #3
DSB SY
ISB SY