about IOMemoryDescriptor
about IOMemoryDescriptor
- Subject: about IOMemoryDescriptor
- From: sheetal phirke <email@hidden>
- Date: Wed, 8 Sep 2010 14:53:51 +0530 (IST)
Hi,
I have read about IOMemoryDescriptor:
Drivers can access user-space memory by creating an IOMemoryDescriptor instance based on a virtual address
in a given task and then preparing and mapping the descriptor.
So is it possible to create
semaphore object in user, pass it to kernel & map that memory into kernel so that i can access same semaphore in kernel?
i try to do this, but IOMemoryDescriptor::map() failed.
i want to do this for synchronization between user & kernel...
Thanks,
Sheetal.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden