Re:memory mapping between 32-bit application and 64-bit kext
Re:memory mapping between 32-bit application and 64-bit kext
- Subject: Re:memory mapping between 32-bit application and 64-bit kext
- From: searockcliff <email@hidden>
- Date: Fri, 28 Aug 2009 09:47:52 +0800 (CST)
Hi All,
I got a solution!
The function IOMemoryDescriptor::withAddressRange(), which works fine for memory mapping from 64-bit application to 32-bit kext, works fine for memory mapping from 32-bit application to 64-bit kext in Snow Leopard with 64-bit kernel.
It's really a good design of Mac OS X.
>Message: 1
>Date: Thu, 27 Aug 2009 17:22:57 +0800 (CST)
>From: searockcliff <email@hidden>
>Subject: memory mapping between 32-bit application and 64-bit kext
>To: "email@hidden" <email@hidden>
>Message-ID:
> <email@hidden>
>Content-Type: text/plain; charset="gbk"
>
>Hi All,
>
>I build a 64-bit kext in snow leopard. It communicate with the client application with memory mapping.
>It seems that it is impossible to map address in 32-bit application to 64-bit kext.
>Do you guys know how to handle this?
>
>In Leopard 10.5, I face a similar problem between 64-bit application and 32-bit kext.
>Apple has an API withAddressRange() with 63-bit address can handle that problem.
>But it seems that it cannot handle the problem between 32-bit application and 64-bit kext.
>
>Who knows the solution?
>
>Thanks!
没有广告的终身免费邮箱,www.yeah.net
_______________________________________________
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