• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
about IOMemoryDescriptor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: about IOMemoryDescriptor
      • From: Michael Smith <email@hidden>
  • Prev by Date: Re: Passing up per-socket data from NKE
  • Next by Date: Re: about IOMemoryDescriptor
  • Previous by thread: Re: Passing up per-socket data from NKE
  • Next by thread: Re: about IOMemoryDescriptor
  • Index(es):
    • Date
    • Thread