]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / PPC405_FPU_Xilinx_Virtex4_GCC / RTOSDemo / flop / flop-reg-test.c
index f06ea14a3a53cf8074ad33a5e965682c598fe399..20f3fe9392b670336ffdc85594fa2a1662bf4d3f 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    FreeRTOS V8.0.0:rc1 - 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
@@ -125,17 +125,17 @@ static void vFlopTest2( void *pvParameters );
 \r
 /* Buffers into which the flop registers will be saved.  There is a buffer for \r
 both tasks. */\r
-static volatile unsigned portLONG ulFlopRegisters[ flopNUMBER_OF_TASKS ][ portNO_FLOP_REGISTERS_TO_SAVE ];\r
+static volatile unsigned long ulFlopRegisters[ flopNUMBER_OF_TASKS ][ portNO_FLOP_REGISTERS_TO_SAVE ];\r
 \r
 /* Variables that are incremented by the tasks to indicate that they are still\r
 running. */\r
-static volatile unsigned portLONG ulFlop1CycleCount = 0, ulFlop2CycleCount = 0;\r
+static volatile unsigned long ulFlop1CycleCount = 0, ulFlop2CycleCount = 0;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
 void vStartFlopRegTests( void )\r
 {\r
-xTaskHandle xTaskJustCreated;\r
+TaskHandle_t xTaskJustCreated;\r
 unsigned portBASE_TYPE x, y, z = flopSTART_VALUE;\r
 \r
        /* Fill the arrays into which the flop registers are to be saved with \r
@@ -219,7 +219,7 @@ portBASE_TYPE xAreFlopRegisterTestsStillRunning( void )
 {\r
 portBASE_TYPE xReturn = pdPASS;\r
 unsigned portBASE_TYPE x, y, z = flopSTART_VALUE;\r
-static unsigned portLONG ulLastFlop1CycleCount = 0, ulLastFlop2CycleCount = 0;\r
+static unsigned long ulLastFlop1CycleCount = 0, ulLastFlop2CycleCount = 0;\r
 \r
        /* Called from the 'check' task.\r
        \r