【发布时间】:2009-11-25 15:47:23
【问题描述】:
我的 IOKit kext 在较旧的 iMac 上无法在 IORegistry 的 DeviceTree 平面中定位 /options 路径。有没有其他人遇到过这个或知道它为什么会失败? thx->adv
IORegistryEntry* regEntry = IORegistryEntry::fromPath("/options", gIODTPlane);
if(NULL == regEntry)
{
regEntry = IORegistryEntry::fromPath("IODeviceTree:/options");
if(NULL == regEntry)
{
DEBUG_LOG("getIORegOptionsEntry: FAILURE TO LOCATE: IODeviceTree:/options\n");
}
}
【问题讨论】:
标签: macos osx-snow-leopard iokit