Re: IOKit Kext Dependencies
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AckzpdAODm7MbJ+ZEd2mGgAwZbwyQg== Thread-topic: IOKit Kext Dependencies User-agent: Microsoft-Entourage/11.4.0.080122 I think waitForService will do what you need. It will wait for the matching IOService to call registerService and returns a pointer to that IOService. google: waitforservice site:developer.apple.com Or search all of Apple (including mailing lists and darwin source for examples and discussion) google: waitforservice site:apple.com
From: Duane Murphy <duanemurphy@mac.com> Date: Mon, 20 Oct 2008 15:56:17 -0700
Is there a way of expressing dependencies on classes other than the classes that a kext is a subclass of?
For example, I'm developing a kext that obviously has dependencies on it's base class, but it also needs to find another class in the registry. It would be best if an instance of the dependent class was already loaded when the second class loads.
Is it possible to express such a dependency in the Info.plist? Info.plist has OSBundleLibraries but that seems like it is too high.
Our implementation has two classes that coordinate with each other. I would like to have one load before the other. Is that possible? Both classes are in the same kext (and the same library).
Thank you for your ideas,
...Duane
_______________________________________________ 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/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Joe van Tunen