mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Fix function parameter shadowing global variable. (#1221)
The function vApplicationFPUSafeIRQHandler gets the value of ICCIAR as parameter, but a constant containing the address of ICCIAR was also defined. Fix the name of the constant to align it with what it actually holds.
This commit is contained in:
parent
3a7b3082cf
commit
c38427eea4
2 changed files with 10 additions and 10 deletions
|
@ -33,10 +33,10 @@
|
|||
.set SVC_MODE, 0x13
|
||||
.set IRQ_MODE, 0x12
|
||||
|
||||
/* Hardware registers. */
|
||||
.extern ulICCIAR
|
||||
.extern ulICCEOIR
|
||||
.extern ulICCPMR
|
||||
/* Hardware registers addresses. */
|
||||
.extern ulICCIARAddress
|
||||
.extern ulICCEOIRAddress
|
||||
.extern ulICCPMRAddress
|
||||
|
||||
/* Variables and functions. */
|
||||
.extern ulMaxAPIPriorityMask
|
||||
|
@ -317,9 +317,9 @@ vApplicationIRQHandler:
|
|||
POP {PC}
|
||||
|
||||
|
||||
ulICCIARConst: .word ulICCIAR
|
||||
ulICCEOIRConst: .word ulICCEOIR
|
||||
ulICCPMRConst: .word ulICCPMR
|
||||
ulICCIARConst: .word ulICCIARAddress
|
||||
ulICCEOIRConst: .word ulICCEOIRAddress
|
||||
ulICCPMRConst: .word ulICCPMRAddress
|
||||
pxCurrentTCBConst: .word pxCurrentTCB
|
||||
ulCriticalNestingConst: .word ulCriticalNesting
|
||||
ulPortTaskHasFPUContextConst: .word ulPortTaskHasFPUContext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue