site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 (moving to darwin-kernel in the hopes that someone here might be able to help.) I now know how this works, but it is unclear why this is not being supported for 64-bit kernels. It would be nice if someone at Apple could comment, otherwise, it's going to cost me a DTS incident and a lot of work. :-( io_connect_get_notification_semaphore() is mig generated. The semaphore_t type has special mig handlers for incoming translation, outgoing translation and destruction. The opaque semaphore_t structure contains the mach port. The data sent to user space is the mach port with send rights. As this requires access to the opaque parts of the semaphore_t structure, it is not a supported interface. It sure would be nice if this was supported or something like it. ...Duane On Jun 23, 2009, at 11:13 AM, Duane Murphy wrote:
* PGP Signed: 06/23/09 at 11:13:32
I've done some more work on this and could use some recommendations on how to make this work.
My first attempt was to simply pass the semaphore_t from the kernel back to the app. That didn't work at all.
I went back to the 32-bit app and the old code and noticed that the semaphore_t in user space does not appear to be the semaphore_t from the kernel. There must be some massaging going on somewhere.
What kind of massaging is happening so that I can get this to work.
Thanks for the help,
On Jun 19, 2009, at 12:27 PM, Duane Murphy wrote:
Old Signed: 06/19/09 at 12:27:20
Is there a replacement or recommendation for a replacement for io_connect_get_notification_semaphore() for 64-bit clients to an IOUserClient?
We were using io_connect_get_notification_semaphore() in our 32-bit client side interface to our kext. It makes sense that this doesn't work in LP64 (semphore* would be a problem).
Is there a recommended method for doing this ourselves? Is there a new and exciting interface wired to IOUserClient::getNotificationSemaphore()?
...Duane
* Duane Murphy <duanemurphy@mac.com> * 0x10E2BD82(L)
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/duanemurphy %40mac.com
This email sent to duanemurphy@mac.com
...Duane -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.10.0 (Build 500) Charset: US-ASCII wsBVAwUBSkFHo0rg9acQ4r2CAQjTPwf/SBse6foZMrgn1yhQEQUWtmpvxPzlwDhr vl4rv+VgcmOM8uIxZv/Lr0UizNsTsjCqZuaH1IT7qV48upo5DC680YdGiryjeHKY ajeRxDGDEG/tsHP9wBSFtvhMTzfe7Q43FjQHXGFeXXQ1m75qdk5mHBd3zJYF8cVS ve7QNF0qNCrrYf1C5ybuasObv51UMa42r62lb0XdxhrYNE3J27R+UgPnSj4aA/3I G0PMR919A0rlIh3sa/Z+2LatZuq7TsOUfW56EjXo22hyvEgNs2Q75c6IFOtzfxID HPIJPIxLn8BBMoT2TaULR6H49WbA7n0MMSw6DDrbaSoK6KniRRaVew== =sRdx -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com