/*\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
\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
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
/* 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
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
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