【问题标题】:How can kext automatically load when booting Mac os?如何在启动 Mac os 时自动加载 kext?
【发布时间】:2019-01-02 01:38:04
【问题描述】:

我的 kext 文件应该在 mac os 启动时自动加载。

目前出现在/Library/Extention中,但开机时好像没有自动加载。

有办法吗?

【问题讨论】:

    标签: xcode macos kernel-extension


    【解决方案1】:

    要使其自动加载,它必须是基于 IOKit 的 kext,或者加载的另一个 kext 必须依赖于它。

    如果它是一个 IOKit kext,并且没有应该触发加载 kext 的特定设备,您可以简单地匹配 IOResources 对象。 official documentation on device & driver matching 讨论了如何设置一般匹配,以及具体匹配 IOResources。

    【讨论】:

      猜你喜欢
      • 2016-07-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-16
      • 2016-10-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多