• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IOKit Kext Dependencies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOKit Kext Dependencies


  • Subject: Re: IOKit Kext Dependencies
  • From: Joe van Tunen <email@hidden>
  • Date: Tue, 21 Oct 2008 10:52:41 -0700
  • Thread-topic: IOKit Kext Dependencies

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 <email@hidden>
> 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >IOKit Kext Dependencies (From: "Duane Murphy" <email@hidden>)

  • Prev by Date: Re: IOObjectRelease: passing null? threadsafe?
  • Next by Date: Re: IOKit kext Dependencies
  • Previous by thread: IOKit Kext Dependencies
  • Next by thread: Re: IOKit kext Dependencies
  • Index(es):
    • Date
    • Thread