Ok, how can I specify both IOBSD and IONVRAM in IOResourceMatch to do so ?
Specifying only IONVRAM does not seem to guarantee IOBSD. I could not find any doc or example having multiple dependencies.
- Antoine
On 2011-06-29, at 12:32, Shantonu Sen wrote: No you cannot. If some other kext has the same clever idea to block in their start() routine while matching on IOResources, it will prevent the NVRAM driver on Mac OS X from starting, which will in turn cause your kext to fail.
What are you really trying to do? Almost certainly the correct answer is to set up an asynchronous notification for arrival of NVRAM, and defer initialization until it is available. Another option, depending on what you're really trying to do, is to express your IOKit personalities so that you depend on the NVRAM kext being started, which will cause your kext to be started no earlier than it.
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
|