Re: OSBundleLibraries & Kernel symbols sharing
Re: OSBundleLibraries & Kernel symbols sharing
- Subject: Re: OSBundleLibraries & Kernel symbols sharing
- From: Stephane Sudre <email@hidden>
- Date: Tue, 8 Feb 2005 18:23:11 +0100
On 8 févr. 05, at 18:12, Dean Reece wrote:
You've just about got it. You just need to add an
"OSBundleCompatibleVersion" property into A. It's value will be in
the same format as the "CFBundleIdentifier" property. Taken together,
these two properties form a binary compatibility version-range. The
presence of this property makes kext A a library kext that is
acceptable as a library for any other kext (B) asking for a version
between "OSBundleCompatibleVersion" and "CFBundleIdentifier",
inclusive.
Have a look at any of the IOKit Family kexts for an example of this,
or have a look at
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/
IOKitFundamentals/Families/chapter_7_section_3.html#//apple_ref/doc/
uid/TP0000017/TPXREF104 for a brief discussion of this mechanism.
Someone answered me off-line with this solution but this was not
enough. The same nice person later added that I may need to use the -r
option in kextload to specify where to look for the "master" kernel
extension. I haven't tried it yet as I'm doing a lot of things at the
same time on different OS releases but I'm optimistic on this one.
_______________________________________________
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