X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FMicroBlaze_Spartan-6_EthernetLite%2FSDKProjects%2FRTOSDemo%2FlwIP%2FlwIP_Apps%2FlwIP_Apps.c;h=48b931af4a0306eed139fcb4e03c10624d867395;hb=bb2faca82c580d60469d268594bdc3cb26a632b3;hp=5f354a726273fe3664a56b156f3e501a8e5191f8;hpb=abc9255183aa4ad1b011116333f26570ccc7aa4b;p=freertos diff --git a/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c b/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c index 5f354a726..48b931af4 100644 --- a/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c +++ b/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c @@ -1,5 +1,6 @@ /* - FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd. + FreeRTOS V8.0.1 - Copyright (C) 2014 Real Time Engineers Ltd. + All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. @@ -23,10 +24,10 @@ the terms of the GNU General Public License (version 2) as published by the Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception. - >>! NOTE: The modification to the GPL is included to allow you to distribute - >>! a combined work that includes FreeRTOS without being obliged to provide - >>! the source code for proprietary components outside of the FreeRTOS - >>! kernel. + >>! NOTE: The modification to the GPL is included to allow you to !<< + >>! distribute a combined work that includes FreeRTOS without being !<< + >>! obliged to provide the source code for proprietary components !<< + >>! outside of the FreeRTOS kernel. !<< FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -87,7 +88,7 @@ address are located at the bottom of FreeRTOSConfig.h. */ #define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), configNET_MASK0,configNET_MASK1,configNET_MASK2,configNET_MASK3) #define LWIP_MAC_ADDR_BASE { configMAC_ADDR0, configMAC_ADDR1, configMAC_ADDR2, configMAC_ADDR3, configMAC_ADDR4, configMAC_ADDR5 } -/* Definitions of the various SSI callback functions within the pccSSITags +/* Definitions of the various SSI callback functions within the pccSSITags array. If pccSSITags is updated, then these definitions must also be updated. */ #define ssiTASK_STATS_INDEX 0 #define ssiRUN_TIME_STATS_INDEX 1 @@ -100,9 +101,9 @@ static unsigned short uslwIPAppsSSIHandler( int iIndex, char *pcBuffer, int iBuf /*-----------------------------------------------------------*/ /* The SSI strings that are embedded in the served html files. If this array -is changed, then the index position defined by the #defines such as +is changed, then the index position defined by the #defines such as ssiTASK_STATS_INDEX above must also be updated. */ -static const char *pccSSITags[] = +static const char *pccSSITags[] = { "rtos_stats", "run_stats" @@ -150,15 +151,15 @@ extern char *pcMainGetTaskStatusMessage( void ); /* The SSI handler function that generates text depending on the index of the SSI tag encountered. */ - + switch( iIndex ) { case ssiTASK_STATS_INDEX : - vTaskList( ( signed char * ) pcBuffer ); + vTaskList( pcBuffer ); break; case ssiRUN_TIME_STATS_INDEX : - vTaskGetRunTimeStats( ( signed char * ) pcBuffer ); + vTaskGetRunTimeStats( pcBuffer ); break; }