/*\r
- FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+ FreeRTOS V8.0.1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+ All rights reserved\r
\r
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
\r
the terms of the GNU General Public License (version 2) as published by the\r
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
\r
- >>! NOTE: The modification to the GPL is included to allow you to distribute\r
- >>! a combined work that includes FreeRTOS without being obliged to provide\r
- >>! the source code for proprietary components outside of the FreeRTOS\r
- >>! kernel.\r
+ >>! NOTE: The modification to the GPL is included to allow you to !<<\r
+ >>! distribute a combined work that includes FreeRTOS without being !<<\r
+ >>! obliged to provide the source code for proprietary components !<<\r
+ >>! outside of the FreeRTOS kernel. !<<\r
\r
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
/*-----------------------------------------------------------*/\r
\r
/* See header file for description. */\r
-portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters )\r
+StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters )\r
{\r
-portSTACK_TYPE DS_Reg = 0;\r
+StackType_t DS_Reg = 0;\r
\r
/* Place a few bytes of known values on the bottom of the stack.\r
This is just useful for debugging. */\r
/* The remaining registers would be pushed on the stack by our context\r
switch function. These are loaded with values simply to make debugging\r
easier. */\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0xAAAA; /* AX */\r
+ *pxTopOfStack = ( StackType_t ) 0xAAAA; /* AX */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0xBBBB; /* BX */\r
+ *pxTopOfStack = ( StackType_t ) 0xBBBB; /* BX */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0xCCCC; /* CX */\r
+ *pxTopOfStack = ( StackType_t ) 0xCCCC; /* CX */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0xDDDD; /* DX */\r
+ *pxTopOfStack = ( StackType_t ) 0xDDDD; /* DX */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0xEEEE; /* ES */\r
+ *pxTopOfStack = ( StackType_t ) 0xEEEE; /* ES */\r
pxTopOfStack--;\r
\r
/* We need the true data segment. */\r
\r
*pxTopOfStack = DS_Reg; /* DS */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0x0123; /* SI */\r
+ *pxTopOfStack = ( StackType_t ) 0x0123; /* SI */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0xDDDD; /* DI */\r
+ *pxTopOfStack = ( StackType_t ) 0xDDDD; /* DI */\r
pxTopOfStack--;\r
- *pxTopOfStack = ( portSTACK_TYPE ) 0xBBBB; /* BP */\r
+ *pxTopOfStack = ( StackType_t ) 0xBBBB; /* BP */\r
\r
/*lint +e950 +e611 +e923 */\r
\r