Could you please help us in the aforementioned problem? I cannot understand where these lists are pointed. Also I noticed that in GIO.xdc the definition of the structure GIO_Object is not the similar with the implementation in GIO.h. internal: /* -------- Internal Structures -------- */ struct Instance_State { String name; /* name used to create inst */ UInt mode; /* input or output */ UInt model; /* STANARD or ISSUERECLAIM */ UInt timeout; /* STANARD or ISSUERECLAIM */ IHeap.Handle packetHeap; /* heap used to alloc packets */ ISync.Handle sync; /* completion sync */ Bool userSync; /* user supplied sync handle*/ Queue.Object doneList; /* done packets */ Queue.Object freeList; /* free packets */ Ptr packets; /* allocated packet block */ Int numPackets; /* total # of packets */ Int freeCount; /* # of free packets */ Int doneCount; /* # of completed packets */ Int submitCount; /* # packets submitted to driver */ Ptr fxns; /* device function table */ Ptr mdChan; /* pointer to driver chan object */ }; } And in GIO.h the fields Queue.Object doneList; /* done packets */ Queue.Object freeList; /* free packets */ are missing. Also is any example? Best regards George
↧