]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/MicroBlazeV8/portasm.S
Kernel changes:
[freertos] / FreeRTOS / Source / portable / GCC / MicroBlazeV8 / portasm.S
index 8280f1cb9825d7a9fef52168146e7a9085cc5043..cf5d3389a9cf0cb06ef9d538c11634d5f85d4a52 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.1.2 - 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
@@ -71,7 +72,7 @@
 \r
 /* The context is oversized to allow functions called from the ISR to write\r
 back into the caller stack. */\r
-#if XPAR_MICROBLAZE_0_USE_FPU == 1\r
+#if XPAR_MICROBLAZE_0_USE_FPU != 0\r
        #define portCONTEXT_SIZE 136\r
        #define portMINUS_CONTEXT_SIZE -136\r
 #else\r
@@ -174,7 +175,7 @@ back into the caller stack. */
        mfs r18, rmsr\r
        swi r18, r1, portMSR_OFFSET\r
 \r
-       #if XPAR_MICROBLAZE_0_USE_FPU == 1\r
+       #if XPAR_MICROBLAZE_0_USE_FPU != 0\r
                /* Stack FSR. */\r
                mfs r18, rfsr\r
                swi r18, r1, portFSR_OFFSET\r
@@ -183,7 +184,7 @@ back into the caller stack. */
        /* Save the top of stack value to the TCB. */\r
        lwi r3, r0, pxCurrentTCB\r
        sw      r1, r0, r3\r
-       \r
+\r
        .endm\r
 \r
 .macro portRESTORE_CONTEXT\r
@@ -227,7 +228,7 @@ back into the caller stack. */
        lwi r18, r1, portMSR_OFFSET\r
        mts rmsr, r18\r
 \r
-       #if XPAR_MICROBLAZE_0_USE_FPU == 1\r
+       #if XPAR_MICROBLAZE_0_USE_FPU != 0\r
                /* Reload the FSR from the stack. */\r
                lwi r18, r1, portFSR_OFFSET\r
                mts rfsr, r18\r
@@ -344,11 +345,11 @@ VPortYieldASM:
 vPortStartFirstTask:\r
 \r
        portRESTORE_CONTEXT\r
-       \r
+\r
 \r
 \r
 #if MICROBLAZE_EXCEPTIONS_ENABLED == 1\r
-       \r
+\r
        .text\r
        .align 2\r
 vPortExceptionHandlerEntry:\r