Dear all,
I am going through the implementation of GIO in ti-rtos_c600_2_00_13 for the platform c6657. Specifically, I try to understand how the two queues (freeList and doneList) are handled.
In the function GIO_Instance_init the function QUEUE_construct is used to construct the two queues.
The address of the root of the queues is extracted using the function GIO_Instance_State_doneList(obj) and free list. But where do these addresses point?
In addition to this, how the IOM_Packet is connected whio GIO_Object?For example in SIO implemetnation the QUE obj is used
Thank you
George
/* Object */
struct ti_sysbios_io_GIO_Object {
xdc_String name;
xdc_UInt mode;
xdc_UInt model;
xdc_UInt timeout;
xdc_runtime_IHeap_Handle packetHeap;
xdc_runtime_knl_ISync_Handle sync;
xdc_Bool userSync;
xdc_Ptr packets;
xdc_Int numPackets;
xdc_Int freeCount;
xdc_Int doneCount;
xdc_Int submitCount;
xdc_Ptr fxns;
xdc_Ptr mdChan;
char __dummy;
};
Thank you in advance
George