]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/BCC/16BitDOS/common/portcomn.c
Update version number ready for release.
[freertos] / FreeRTOS / Source / portable / BCC / 16BitDOS / common / portcomn.c
index fb808cd9e93d5fbca95f8885c403bbf3bcc4c089..eef2d3a13c63e0ce439d75a831bdab6286000236 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.0 - 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
@@ -82,9 +83,9 @@ Changes from V2.6.1
 /*-----------------------------------------------------------*/\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
@@ -127,15 +128,15 @@ portSTACK_TYPE DS_Reg = 0;
        /* 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
@@ -143,11 +144,11 @@ portSTACK_TYPE DS_Reg = 0;
 \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