mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
Update port.c
Forgot an * while writing comment..
This commit is contained in:
parent
ba19cf89ed
commit
ac27aa0c4e
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ uint32_t ulPortSetInterruptMask( void )
|
||||||
* and 'vPortClearInterruptMask'. At the time of calling those functions, the interrupt mask is not set in the interrupt controller, thus the only protecting barrier
|
* and 'vPortClearInterruptMask'. At the time of calling those functions, the interrupt mask is not set in the interrupt controller, thus the only protecting barrier
|
||||||
* against the CPU traping into recursive interrupt was the IRQ Enable bit in the CPSR. By not taking it into acount, the very code that protects the CPU against
|
* against the CPU traping into recursive interrupt was the IRQ Enable bit in the CPSR. By not taking it into acount, the very code that protects the CPU against
|
||||||
* critical section violation just enabled it to happen : A SysTick was waiting to happen, and calling 'portCPU_IRQ_ENABLE' would enable it to occur... Thus triggering a
|
* critical section violation just enabled it to happen : A SysTick was waiting to happen, and calling 'portCPU_IRQ_ENABLE' would enable it to occur... Thus triggering a
|
||||||
* switch of context while already performing a switch context. /
|
* switch of context while already performing a switch context. */
|
||||||
if(!wasIRQDisabled)
|
if(!wasIRQDisabled)
|
||||||
portCPU_IRQ_ENABLE();
|
portCPU_IRQ_ENABLE();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue