Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- Subject: Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- From: Michael Smith <email@hidden>
- Date: Tue, 12 Jun 2007 22:51:36 -0700
On Jun 12, 2007, at 7:14 PM, Godfrey van der Linden wrote:
As Mike surmised you may be tripping over a recursive match. You
are probably going to match on your self as you are publishing an
IOMedia object and matching on them too, I can't see anyway of
breaking out of the recursion (except for the Physical.* tags in
the matching dictionary, but I'm not familiar with IOMedia matching
so an expert will need to comment).
For a trivial model like this one, the easiest thing to do is simply
walk the parent chain looking for previous instances of your class;
you can just brute-force it with OSDynamicCast.
= Mike
_______________________________________________
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