]> git.sur5r.net Git - freertos/commitdiff
Add a separate portMINUS_CONTEXT_SIZE definition, in place of the previously used...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 23 Jul 2011 21:14:43 +0000 (21:14 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 23 Jul 2011 21:14:43 +0000 (21:14 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1495 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/FreeRTOS_Source/portable/GCC/MicroBlaze/portasm.S

index eb3dc75a5257fb3fd7dc95a9c375fc082d287ede..801504a806cbbef82c20f51a2747c2f2a3aa6742 100644 (file)
@@ -68,6 +68,7 @@
 back into the caller stack. */\r
 #if XPAR_MICROBLAZE_0_USE_FPU == 1\r
        #define portCONTEXT_SIZE 136\r
+       #define portMINUS_CONTEXT_SIZE -136\r
 #else\r
        #define portCONTEXT_SIZE 132\r
 #endif\r
@@ -125,7 +126,7 @@ back into the caller stack. */
 .macro portSAVE_CONTEXT\r
 \r
        /* Make room for the context on the stack. */\r
-       addik r1, r1, -portCONTEXT_SIZE\r
+       addik r1, r1, portMINUS_CONTEXT_SIZE\r
 \r
        /* Stack general registers. */\r
        swi r31, r1, portR31_OFFSET\r