proper initialization of IOMemoryDescriptor
proper initialization of IOMemoryDescriptor
- Subject: proper initialization of IOMemoryDescriptor
- From: Joel Reymont <email@hidden>
- Date: Thu, 27 Jan 2011 11:14:14 +0000
I'm initializing a memory descriptor like this at the moment:
IOMemoryDescriptor *iomd1 = IOMemoryDescriptor::withAddress((vm_address_t)buffer, size, kIODirectionInOut, fTask);
I'm told by XCode that withAddress is deprecated.
What is the proper replacement for the above?
Thanks, Joel
--------------------------------------------------------------------------
- mac osx device driver ninja, kernel extensions and user-land usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden