Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
[ata-scsi-dev] re-initing IODMACommand
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ata-scsi-dev] re-initing IODMACommand



Hello List,

I need some advice how to re-init the IODMACommand supplied by the IOSCSIParallelInterfaceController.

Our hardware can address up to 47 bits, and currently this is what we do:

if(localIODMACommand && (transferDir != kSCSIDataTransfer_NoDataTransfer)){
localIODMACommand->initWithSpecification (kIODMACommandOutputHost64 , 47,0,IODMACommand::kMapped,0,1);
IOresult=localIODMACommand->prepare(bufferOffset,bytesLeft)
}


However, we observe a memory leak, of size zalloc 256 per re-init.

Could anyone give a hint what we are doing wrong?

Thanks

Alex
_______________________________________________
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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.