configASSERT( pxQueue );
configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) );
- ets_printf("Not Supported: %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
for( ;; )
{
taskENTER_CRITICAL();
BaseType_t xReturn;
Queue_t * const pxQueue = ( Queue_t * ) xQueue;
+ UNTESTED_FUNCTION();
/* If the queue is already full we may have to block. A critical section
is required to prevent an interrupt removing something from the queue
between the check to see if the queue is full and blocking on the queue. */
void vQueueAddToRegistry( QueueHandle_t xQueue, const char *pcQueueName ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
{
UBaseType_t ux;
-
+
+ UNTESTED_FUNCTION();
/* See if there is an empty space in the registry. A NULL name denotes
a free slot. */
for( ux = ( UBaseType_t ) 0U; ux < ( UBaseType_t ) configQUEUE_REGISTRY_SIZE; ux++ )
} while(0)
#endif
+
+
+
/* Value that can be assigned to the eNotifyState member of the TCB. */
typedef enum
{
TCB_t * pxNewTCB;
StackType_t *pxTopOfStack;
BaseType_t i;
-
configASSERT( pxTaskCode );
configASSERT( ( ( uxPriority & ( ~portPRIVILEGE_BIT ) ) < configMAX_PRIORITIES ) );
configASSERT( (xCoreID>=0 && xCoreID<portNUM_PROCESSORS) || (xCoreID==tskNO_AFFINITY) );
TickType_t xTimeToWake;
BaseType_t xAlreadyYielded=pdFALSE, xShouldDelay = pdFALSE;
- ets_printf("ToDo %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
configASSERT( pxPreviousWakeTime );
configASSERT( ( xTimeIncrement > 0U ) );
configASSERT( uxSchedulerSuspended[ xPortGetCoreID() ] == 0 );
List_t *pxStateList;
const TCB_t * const pxTCB = ( TCB_t * ) xTask;
- ets_printf("ToDo %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
configASSERT( pxTCB );
if( pxTCB == pxCurrentTCB[ xPortGetCoreID() ] )
TCB_t *pxTCB;
UBaseType_t uxReturn;
- ets_printf("ToDo %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
taskENTER_CRITICAL(&xTaskQueueMutex);
{
/* If null is passed in here then we are changing the
{
TCB_t *pxTCB;
- ets_printf("ToDo %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
taskENTER_CRITICAL(&xTaskQueueMutex);
{
/* If null is passed in here then it is the running task that is
{
TCB_t * const pxTCB = ( TCB_t * ) xTaskToResume;
- ets_printf("ToDo %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
/* It does not make sense to resume the calling task. */
configASSERT( xTaskToResume );
{
UBaseType_t uxTask = 0, uxQueue = configMAX_PRIORITIES;
- ets_printf("ToDo %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
vTaskSuspendAll(); //WARNING: This only suspends one CPU. ToDo: suspend others as well. Mux using taskQueueMutex maybe?
{
/* Is there a space in the array for each task in the system? */
{
TCB_t *pxTCB;
- ets_printf("ToDo %s\n", __FUNCTION__);
+ UNTESTED_FUNCTION();
/* If null is passed in here then we are deleting ourselves. */
pxTCB = prvGetTCBFromHandle( xTaskToModify );
volatile TCB_t *pxNextTCB, *pxFirstTCB;
UBaseType_t uxTask = 0;
+ UNTESTED_FUNCTION();
if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 )
{
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList );
uint8_t *pucEndOfStack;
UBaseType_t uxReturn;
+ UNTESTED_FUNCTION();
pxTCB = prvGetTCBFromHandle( xTask );
#if portSTACK_GROWTH < 0
TaskStatus_t *pxTaskStatusArray;
volatile UBaseType_t uxArraySize, x;
char cStatus;
+ UNTESTED_FUNCTION();
/*
* PLEASE NOTE:
volatile UBaseType_t uxArraySize, x;
uint32_t ulTotalTime, ulStatsAsPercentage;
+ UNTESTED_FUNCTION();
#if( configUSE_TRACE_FACILITY != 1 )
{
#error configUSE_TRACE_FACILITY must also be set to 1 in FreeRTOSConfig.h to use vTaskGetRunTimeStats().
TickType_t xTimeToWake;
uint32_t ulReturn;
+ UNTESTED_FUNCTION();
taskENTER_CRITICAL(&xTaskQueueMutex);
{
/* Only block if the notification count is not already non-zero. */
TickType_t xTimeToWake;
BaseType_t xReturn;
+ UNTESTED_FUNCTION();
taskENTER_CRITICAL(&xTaskQueueMutex);
{
/* Only block if a notification is not already pending. */
eNotifyValue eOriginalNotifyState;
BaseType_t xReturn = pdPASS;
+ UNTESTED_FUNCTION();
configASSERT( xTaskToNotify );
pxTCB = ( TCB_t * ) xTaskToNotify;
eNotifyValue eOriginalNotifyState;
BaseType_t xReturn = pdPASS;
+ UNTESTED_FUNCTION();
configASSERT( xTaskToNotify );
pxTCB = ( TCB_t * ) xTaskToNotify;
TCB_t * pxTCB;
eNotifyValue eOriginalNotifyState;
+ UNTESTED_FUNCTION();
configASSERT( xTaskToNotify );