***************************************************************************\r
\r
\r
- http://www.FreeRTOS.org - Documentation, books, training, latest versions, \r
+ http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
license and Real Time Engineers Ltd. contact details.\r
\r
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
including FreeRTOS+Trace - an indispensable productivity tool, and our new\r
fully thread aware and reentrant UDP/IP stack.\r
\r
- http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High \r
- Integrity Systems, who sell the code with commercial support, \r
+ http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+ Integrity Systems, who sell the code with commercial support,\r
indemnification and middleware, under the OpenRTOS brand.\r
- \r
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety \r
- engineered and independently SIL3 certified version for use in safety and \r
+\r
+ http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+ engineered and independently SIL3 certified version for use in safety and\r
mission critical applications that require provable dependability.\r
*/\r
\r
__interrupt void vPortNonPreemptiveTick( void )\r
{\r
/* clear clock interrupt flag */\r
- RTI->INTFLAG = 0x00000001;\r
+ portRTI_INTFLAG_REG = 0x00000001;\r
\r
/* Increment the tick count - this may make a delaying task ready\r
to run - but a context switch is not performed. */\r
- vTaskIncrementTick();\r
+ xTaskIncrementTick();\r
}\r
\r
#else\r
.text\r
.arm\r
.ref vTaskSwitchContext\r
- .ref vTaskIncrementTick\r
+ .ref xTaskIncrementTick\r
.ref ulTaskHasFPUContext\r
.ref pxCurrentTCB\r
\r
\r
; Increment the tick count, making any adjustments to the blocked lists\r
; that may be necessary.\r
- BL vTaskIncrementTick\r
+ BL xTaskIncrementTick\r
\r
; Select the next task to execute.\r
- BL vTaskSwitchContext\r
+ CMP R0, #0\r
+ BLNE vTaskSwitchContext\r
\r
; Restore the context of the task selected to execute.\r
portRESTORE_CONTEXT\r