Any idea why my call to CreateLocalIsochPort() always returns NULL
when my 64 bit version of my code is executed? This is in 10.6.x ( x
= .1 to .5 that I have tested with) on a 2010 MacBookPro 17" and x86
Mac Desktop unit too.
The exact same code runs fine when compiled and executed as a 32 bit
processes in PPC or x86 and has done so since 10.2.x / Jaguar was
released.
The set up code looks like this for calling CreateLocalIsochPort:
IOVirtualRange dclRange;
IOVirtualRange bufRange;
dclRange.address = (IOVirtualAddress)mDCLCommandPool; //this was
successfully created using CreateDCLCommandPool()
dclRange.length = theDCLProgramSize;
bufRange.address = (IOVirtualAddress)mMachVMFrameBuff;//buffer
allocated successfully using mmap()
bufRange.length = mMachVMFrameBuffSize;
mIsochListnerRef = (*(mInterface))->CreateLocalIsochPort(mInterface,
false, //false means it's a listener
mDCLList,//DCL program allocated properly with no errors..
0, 0, 0,
&dclRange,//inDCLProgramRanges
1,//#of inDCLProgramRanges
&bufRange,//inBufferRanges
1,// #of inBufferRanges
CFUUIDGetUUIDBytes(kIOFireWireLocalIsochPortInterfaceID_v2)) ;//also
tried _v5 too..
Just in case it matter my mmap() is allocated like this and has been
since 2009.
I also pad by memory allocations out to vm_page_size so that we can
get optimized read writes too.
Any thoughts would be appreciated.
Milton J. Aupperle
President
ASC - Aupperle Services and Contracting
Mac Software (Drivers, Components and Application) Specialist
#1106 - 428 Chaparral Ravine View SE.
Calgary Alberta T2X 0N2
1-(403)-453-1624
email@hidden
www.outcastsoft.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Firewire mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden