Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jun 12, 2007, at 7:14 PM, Godfrey van der Linden wrote: = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith