Re: io_connect_get_notification_semaphore and x86_64
Re: io_connect_get_notification_semaphore and x86_64
- Subject: Re: io_connect_get_notification_semaphore and x86_64
- From: Duane Murphy <email@hidden>
- Date: Tue, 23 Jun 2009 11:13:25 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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:
> * PGP 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
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.10.0 (Build 500)
Charset: US-ASCII
wsBVAwUBSkEbTErg9acQ4r2CAQhR+AgAiLIoeKCOed+H6mT5nKcr6JNPX4y5IYzk
RcTWsLYfmQtYY1rSAv0PxLndEOVqceZnZLdIBlQYgEaWaz1+QiG4cT7KVNHE+v8p
4UobLI9j253n1pMvcV9d3y265vvS3rcI5tdz7ozjRXg50fyNNAaUP1MLzkXCCCYl
Wk3ISfrv9QT6P4dbATjApy34fM1pdgDAw4PrTlDnrLH6P2cB8UmFlF6qUTGfbpv5
UORAm98cEY42fPzNSFeqvZQ5c5/M7PhMQCDMtcTswA/l5g1rWrtZvpezbInKINNd
lWh1tcFyY7r4IvJj83QWLCCJD7/CnhhgSc9KAGlLToJsZKe3Io318Q==
=Nppa
-----END PGP SIGNATURE-----
_______________________________________________
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