/*\r
- FreeRTOS V7.5.1 - 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
\r
\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
\r
\r
/* Create the first task. */\r
- xTaskCreate( vFlopTest1, ( signed portCHAR * ) "flop1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xTaskJustCreated );\r
+ xTaskCreate( vFlopTest1, "flop1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xTaskJustCreated );\r
\r
/* The task tag value is a value that can be associated with a task, but \r
is not used by the scheduler itself. Its use is down to the application so\r
vTaskSetApplicationTaskTag( xTaskJustCreated, ( void * ) &( ulFlopRegisters[ 0 ][ 0 ] ) );\r
\r
/* Do the same for the second task. */\r
- xTaskCreate( vFlopTest2, ( signed portCHAR * ) "flop2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xTaskJustCreated );\r
+ xTaskCreate( vFlopTest2, "flop2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xTaskJustCreated );\r
vTaskSetApplicationTaskTag( xTaskJustCreated, ( void * ) &( ulFlopRegisters[ 1 ][ 0 ] ) );\r
}\r
/*-----------------------------------------------------------*/\r
{\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