简体   繁体   中英

How can kext automatically load when booting Mac os?

My kext file should be loaded automatically at mac os boot time.

It currently appears in / Library / Extention, but it does not seem to be loaded automatically at boot time.

Is there a way?

For it to load automatically, it must either be an IOKit based kext, or another kext that gets loaded must depend on it.

If it's an IOKit kext, and there is no specific device which should trigger the loading of the kext, you can simply match the IOResources object. The official documentation on device & driver matching talks about how to set up matching in general, and about matching IOResources specifically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM