mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 17:17:44 -04:00
Change vApplicationIRQHandlerConst to 64-bit align
When MMU is disabled, all memory is device type and access should be aligned. For following code, ullPortInterruptNestingConst should be 64bit aligned. Otherwise, it will crash, /* Increment the interrupt nesting counter. */ LDR X5, ullPortInterruptNestingConst LDR X1, [X5] /* Old nesting count in X1. */ However, ullPortInterruptNestingConst is defined after word (32bit) aligned vApplicationIRQHandlerConst, which causes ullPortInterruptNestingConstit is also 32bit aligned, vApplicationIRQHandlerConst: .word vApplicationIRQHandler ullPortInterruptNestingConst: .dword ullPortInterruptNesting This patch define vApplicationIRQHandler as dword to solve this issue. Signed-off-by: Shunyong Yang <yang.shunyong@gmail.com>
This commit is contained in:
parent
56c6c55985
commit
8fb9b3789e
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ ullPortTaskHasFPUContextConst: .dword ullPortTaskHasFPUContext
|
|||
|
||||
ullICCPMRConst: .dword ullICCPMR
|
||||
ullMaxAPIPriorityMaskConst: .dword ullMaxAPIPriorityMask
|
||||
vApplicationIRQHandlerConst: .word vApplicationIRQHandler
|
||||
vApplicationIRQHandlerConst: .dword vApplicationIRQHandler
|
||||
ullPortInterruptNestingConst: .dword ullPortInterruptNesting
|
||||
ullPortYieldRequiredConst: .dword ullPortYieldRequired
|
||||
ullICCIARConst: .dword ullICCIAR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue