提交 a2fcc8d7 编写于 作者: V vit9696

OcBootManagementLib: Fix previous commit

上级 9e0770f8
......@@ -9,7 +9,7 @@ OpenCore Changelog
- Fixed Alder Lake SMBIOS CPU model information
- Added XCPM CPU power management ACPI table for Intel Alder Lake
- Updated draw order to avoid graphics tearing in OpenCanopy
- Fixed handling device paths with logical units in ScanPolicy
- Fixed handling PCI device paths with logical units in ScanPolicy
#### v0.7.5
- Revised OpenLinuxBoot documentation
......
......@@ -121,13 +121,6 @@ OcGetDevicePolicyType (
*External = TRUE;
}
return OC_SCAN_ALLOW_DEVICE_SDCARD;
case MSG_DEVICE_LOGICAL_UNIT_DP:
//
// Each device may have multiple units.
// E.g. PciRoot(0x0)/Pci(0x1B,0x4)/Pci(0x0,0x0)/Unit(0x1)/HD(...)
//
DevicePathWalker = NextDevicePathNode (DevicePathWalker);
continue;
}
//
......@@ -169,6 +162,14 @@ OcGetDevicePolicyType (
//
DevicePathWalker = NextDevicePathNode (DevicePathWalker);
continue;
} else if (DevicePathType (DevicePathWalker) == MESSAGING_DEVICE_PATH
&& DevicePathSubType (DevicePathWalker) == MSG_DEVICE_LOGICAL_UNIT_DP) {
//
// Each device may have multiple units.
// E.g. PciRoot(0x0)/Pci(0x1B,0x4)/Pci(0x0,0x0)/Unit(0x1)/HD(...)
//
DevicePathWalker = NextDevicePathNode (DevicePathWalker);
continue;
}
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册