]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CA9/port.c
Common scheduler code:
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CA9 / port.c
index ead436de6b7aec3c0f68744164a92f4278b31474..7fb4f7ee8fd21bab899e80ec34b1a0c63758f6de 100644 (file)
@@ -213,14 +213,14 @@ volatile uint32_t ulCriticalNesting = 9999UL;
 \r
 /* Saved as part of the task context.  If ulPortTaskHasFPUContext is non-zero then\r
 a floating point context must be saved and restored for the task. */\r
-uint32_t ulPortTaskHasFPUContext = pdFALSE;\r
+volatile uint32_t ulPortTaskHasFPUContext = pdFALSE;\r
 \r
 /* Set to 1 to pend a context switch from an ISR. */\r
-uint32_t ulPortYieldRequired = pdFALSE;\r
+volatile uint32_t ulPortYieldRequired = pdFALSE;\r
 \r
 /* Counts the interrupt nesting depth.  A context switch is only performed if\r
 if the nesting depth is 0. */\r
-uint32_t ulPortInterruptNesting = 0UL;\r
+volatile uint32_t ulPortInterruptNesting = 0UL;\r
 \r
 __attribute__(( used )) const uint32_t ulICCIAR = portICCIAR_INTERRUPT_ACKNOWLEDGE_REGISTER_ADDRESS;\r
 __attribute__(( used )) const uint32_t ulICCEOIR = portICCEOIR_END_OF_INTERRUPT_REGISTER_ADDRESS;\r