Re: Shared Library kext
Re: Shared Library kext
- Subject: Re: Shared Library kext
- From: Duane Murphy <email@hidden>
- Date: Mon, 26 Jul 2010 20:06:53 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Jul 26, 2010, at 7:10 PM, Michael Smith wrote:
> On Jul 26, 2010, at 4:51 PM, Duane Murphy wrote:
>
>> The library kext example (IOKitWithLibrary) puts the library kext in the PlugIns directory inside of the "master" kext.
>>
>> We would like to arrange to share a library kext between multiple top level kext.
>
> You can't do this.
>
> You'd have to have a third kext on which each of your others depended.
>
Hmm, that's a bummer.
Not quite sure I understand what the difference would be. I think this is what I was asking for.
kext1 & kext2 depend on library_kext
> Why not investigate making the 'conditional' parts of your driver family into plugins?
>
That sounds great. I thought that's what I was doing. Any pointers for how to do this?
A little background.
We have one kext that is loaded all the time (/System/Library/Extensions) that depends on the library kext. The second kext is only loaded sometimes. In fact, we don't want to ship the second kext at all, but rather use it only for testing purposes.
> = Mike
Thanks,
...Duane
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 10.0.2 (Build 13)
Charset: us-ascii
wsBVAwUBTE5NVUrg9acQ4r2CAQhocQf/RtE7cDc4QNPsjGGu46/X0hZ3wJ5NbsfO
O+nS87Z1j/P5N87sKxJWd85oreMkvhSRU/FbUmtyGkIIyVn4VvOTR60edxB9VCYd
AvSreLqXkxM96ungszLs2Oe4c5OuwrUQk4nnYkFbNUSKtrAyJyurTogngHM1r2Qr
0g96FlGzLJhep/ktkVADcu8mDVvrFirx8YGtmF24Z6SU7CQqB4nLnWeSjffTs0Qj
Mz0bPm3W4aQrAxe/yXaZmQrKOAuVb7IZqOZAiRv2AR2WvGKkDeVoSdBxhecjuNTI
ASSYDB/ZtOSK8T1VAez6wKK1DJcwmhUL96TRFhLDX8K2tQR4SrzCJQ==
=t+Jd
-----END PGP SIGNATURE-----
_______________________________________________
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