Minor updates to ensure all kernel aware debuggers are happy with V8.

pull/1/head
Richard Barry 11 years ago
parent e101e7e437
commit ba6d285ea8

@ -153,7 +153,12 @@ typedef struct QueueDefinition
struct QueueDefinition *pxQueueSetContainer; struct QueueDefinition *pxQueueSetContainer;
#endif #endif
} Queue_t; } xQUEUE;
/* The old xQUEUE name is maintained above then typedefed to the new Queue_t
name below to enable the use of older kernel aware debuggers. */
typedef xQUEUE Queue_t;
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
/* /*
@ -169,7 +174,12 @@ typedef struct QueueDefinition
{ {
const char *pcQueueName; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */ const char *pcQueueName; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
QueueHandle_t xHandle; QueueHandle_t xHandle;
} QueueRegistryItem_t; } xQueueRegistryItem;
/* The old xQueueRegistryItem name is maintained above then typedefed to the
new xQueueRegistryItem name below to enable the use of older kernel aware
debuggers. */
typedef xQueueRegistryItem QueueRegistryItem_t;
/* The queue registry is simply an array of QueueRegistryItem_t structures. /* The queue registry is simply an array of QueueRegistryItem_t structures.
The pcQueueName member of a structure being NULL is indicative of the The pcQueueName member of a structure being NULL is indicative of the
@ -1040,8 +1050,8 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
/* Similar to xQueueGenericSend, except without blocking if there is no room /* Similar to xQueueGenericSend, except without blocking if there is no room
in the queue. Also don't directly wake a task that was blocked on a queue in the queue. Also don't directly wake a task that was blocked on a queue
read, instead return a flag to say whether a context switch is required or read, instead return a flag to say whether a context switch is required or
not (i.e. has a task with a higher priority than us been woken by this not (i.e. has a task with a higher priority than us been woken by this
post). */ post). */
uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR(); uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
{ {
@ -2350,7 +2360,7 @@ BaseType_t xReturn;
BaseType_t xReturn = pdFALSE; BaseType_t xReturn = pdFALSE;
/* This function must be called form a critical section. */ /* This function must be called form a critical section. */
configASSERT( pxQueueSetContainer ); configASSERT( pxQueueSetContainer );
configASSERT( pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength ); configASSERT( pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength );

@ -167,7 +167,11 @@ typedef struct tskTaskControlBlock
struct _reent xNewLib_reent; struct _reent xNewLib_reent;
#endif #endif
} TCB_t; } tskTCB;
/* The old tskTCB name is maintained above then typedefed to the new TCB_t name
below to enable the use of older kernel aware debuggers. */
typedef tskTCB TCB_t;
/* /*
* Some kernel aware debuggers require the data the debugger needs access to to * Some kernel aware debuggers require the data the debugger needs access to to

@ -108,7 +108,11 @@ typedef struct tmrTimerControl
#if( configUSE_TRACE_FACILITY == 1 ) #if( configUSE_TRACE_FACILITY == 1 )
UBaseType_t uxTimerNumber; /*<< An ID assigned by trace tools such as FreeRTOS+Trace */ UBaseType_t uxTimerNumber; /*<< An ID assigned by trace tools such as FreeRTOS+Trace */
#endif #endif
} Timer_t; } xTIMER;
/* The old xTIMER name is maintained above then typedefed to the new Timer_t
name below to enable the use of older kernel aware debuggers. */
typedef xTIMER Timer_t;
/* The definition of messages that can be sent and received on the timer queue. /* The definition of messages that can be sent and received on the timer queue.
Two types of message can be queued - messages that manipulate a software timer, Two types of message can be queued - messages that manipulate a software timer,

Loading…
Cancel
Save