MD FreeRTOS_Source\r
MD FreeRTOS_Source\include \r
MD FreeRTOS_Source\portable\GCC\r
- MD FreeRTOS_Source\portable\GCC\MicroBlaze\r
+ MD FreeRTOS_Source\portable\GCC\MicroBlazeV8\r
MD FreeRTOS_Source\portable\MemMang \r
MD Demo_Source\r
MD Demo_Source\include\r
copy ..\..\..\..\Source\include\*.* FreeRTOS_Source\include\r
\r
REM Copy the portable layer files\r
- copy ..\..\..\..\Source\portable\GCC\MicroBlaze\*.* FreeRTOS_Source\portable\GCC\MicroBlaze\r
+ copy ..\..\..\..\Source\portable\GCC\MicroBlazeV8\*.* FreeRTOS_Source\portable\GCC\MicroBlazeV8\r
\r
REM Copy the basic memory allocation files\r
copy ..\..\..\..\Source\portable\MemMang\heap_2.c FreeRTOS_Source\portable\MemMang\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vlistGET_OWNER_OF_NEXT_ENTRY( void *pxTCB, xList *pxList )\r
-{\r
-xList * const pxConstList = ( pxList );\r
- /* Increment the index to the next item and return the item, ensuring */\r
- /* we don't return the marker used at the end of the list. */\r
- ( pxConstList )->pxIndex = ( pxConstList )->pxIndex->pxNext;\r
- if( ( pxConstList )->pxIndex == ( xListItem * ) &( ( pxConstList )->xListEnd ) )\r
- {\r
- ( pxConstList )->pxIndex = ( pxConstList )->pxIndex->pxNext;\r
- }\r
- ( pxTCB ) = ( pxConstList )->pxIndex->pvOwner;\r
-}\r
prvLockQueue( pxQueue );\r
if( pxQueue->uxMessagesWaiting == ( unsigned portBASE_TYPE ) 0U )\r
{\r
- /* There is nothing in the queue, block for the specified period,\r
- provided the period is not zero. This guards against the case\r
- where the time to wake is set to zero because there are no active\r
- timers, but the tick count value also happens to be zero - creating\r
- a block time of zero which confuses the logic. */\r
- if( 1 )//_RB_if( xTicksToWait != 0U ) //_RB_ This should not be needed as the scheduler is suspended so the tick count cannot increment.\r
- {\r
- vTaskPlaceOnEventListRestricted( &( pxQueue->xTasksWaitingToReceive ), xTicksToWait );\r
- }\r
+ /* There is nothing in the queue, block for the specified period. */\r
+ vTaskPlaceOnEventListRestricted( &( pxQueue->xTasksWaitingToReceive ), xTicksToWait );\r
}\r
prvUnlockQueue( pxQueue );\r
}\r