7 typedef struct xLIST_ITEM
9 unsigned short xItemValue
;
10 volatile struct xLIST_ITEM
* pxNext
;
11 volatile struct xLIST_ITEM
* pxPrevious
;
16 typedef struct xMINI_LIST_ITEM
18 unsigned short xItemValue
;
19 volatile struct xLIST_ITEM
*pxNext
;
20 volatile struct xLIST_ITEM
*pxPrevious
;
25 volatile unsigned char uxNumberOfItems
;
26 volatile xListItem
* pxIndex
;
27 volatile xMiniListItem xListEnd
;
30 static xList xDelayedTaskList1
;
32 void vListInitialise( xList
*pxList
)
34 pxList
->pxIndex
= ( xListItem
* ) &( pxList
->xListEnd
);
40 void * p
= &xDelayedTaskList1
.xListEnd
;
41 vListInitialise( &xDelayedTaskList1
);
42 ASSERT (xDelayedTaskList1
.pxIndex
== p
);