]> git.sur5r.net Git - freertos/commitdiff
Set the last return address at the bottom of the stack to 0 in the RX600 ports to...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 16 Apr 2012 18:33:32 +0000 (18:33 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 16 Apr 2012 18:33:32 +0000 (18:33 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1736 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/GCC/RX600/port.c
Source/portable/IAR/RX600/port.c
Source/portable/Renesas/RX200/port.c
Source/portable/Renesas/RX600/port.c

index 284fa56a12cec5af7ba51bb2ec13cb84b1be4978..5f0ef46fd4f9437392e8707293297fe5050caff1 100644 (file)
@@ -113,7 +113,7 @@ portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE
 {\r
        /* R0 is not included as it is the stack pointer. */\r
        \r
-       *pxTopOfStack = 0xdeadbeef;\r
+       *pxTopOfStack = 0x00;\r
        pxTopOfStack--;\r
        *pxTopOfStack = portINITIAL_PSW;\r
        pxTopOfStack--;\r
index e70dbeef25cebeb8c7c6cbfc5979a59e55759780..4aeb7130b8e7c135b282a22492ec83b22b548273 100644 (file)
@@ -99,7 +99,7 @@ portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE
 {\r
        /* R0 is not included as it is the stack pointer. */\r
        \r
-       *pxTopOfStack = 0xdeadbeef;\r
+       *pxTopOfStack = 0x00;\r
        pxTopOfStack--;\r
        *pxTopOfStack = portINITIAL_PSW;\r
        pxTopOfStack--;\r
index bfb6cc3f6f4249fedc073c1f226a49062b5eb84c..4aa61409e89a0617db9ea77bb8aca769f443c61f 100644 (file)
@@ -118,9 +118,9 @@ portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE
 {\r
        /* R0 is not included as it is the stack pointer. */\r
        \r
-       *pxTopOfStack = 0xdeadbeef;\r
+       *pxTopOfStack = 0x00;\r
        pxTopOfStack--;\r
-    *pxTopOfStack = 0xdeadbeef;\r
+    *pxTopOfStack = 0x00;\r
        pxTopOfStack--;\r
        *pxTopOfStack = portINITIAL_PSW;\r
        pxTopOfStack--;\r
index b4861751707a8e2cc7ff7f12b0e38c507d76fcba..eca770535e369e0065315d23b75ea8732fb764c2 100644 (file)
@@ -119,7 +119,7 @@ portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE
 {\r
        /* R0 is not included as it is the stack pointer. */\r
        \r
-       *pxTopOfStack = 0xdeadbeef;\r
+       *pxTopOfStack = 0x00;\r
        pxTopOfStack--;\r
        *pxTopOfStack = portINITIAL_PSW;\r
        pxTopOfStack--;\r