First of all I would say that SCISTask (shadowed by
IOSCSITaskIdentifier) class inherits from IODMACommand (on Intel Tiger
and possibly on both targets in Leopard) and so you can use something
taskCommand->setMemoryDescriptor (GetDataBuffer (parallelRequest));
// obtain SGL
instead of allocating your own objects. In this case you must specify
your IODMACommand's parameters in
But this method is "undocumented" and you (as I do) should allocate
the pool of IODMACommand objects and initialize these objects only
once! (you needn't re-initialize IODMACommand to get physical segments
of another IOMemoryDescriptor) and then use:
setMemoryDescriptor (buffer) -- to "attach" new IOMemoryDescriptor to
your IODMACommand object,
clearMemoryDescriptor () -- to "detach" one.
On Oct 30, 2007, at 5:30 PM, Alexander von Below wrote:
I need some advice how to re-init the IODMACommand supplied by the
Our hardware can address up to 47 bits, and currently this is what
However, we observe a memory leak, of size zalloc 256 per re-init.
Could anyone give a hint what we are doing wrong?
Do not post admin requests to the list. They will be ignored.
Ata-scsi-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden