mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2026-02-01 15:59:39 +00:00
OpenCoreMisc: Sync with OcSupportPkg
This commit is contained in:
parent
878f9ed6f9
commit
fc2787927e
@ -21,6 +21,7 @@ OpenCore Changelog
|
||||
- Fixed `DefaultBackgroundColor` variable handling
|
||||
- Added `HideAuxiliary` and `Auxiliary` options
|
||||
- Fixed picker timeout and log timestamps for VMware
|
||||
- Fixed NULL parent DeviceHandle for launched tools
|
||||
|
||||
#### v0.5.5
|
||||
- Fixed CPU bus ratio calculation for Nehalem and Westmere
|
||||
|
||||
@ -79,7 +79,9 @@ OcToolLoadEntry (
|
||||
IN OC_BOOT_ENTRY *ChosenEntry,
|
||||
OUT VOID **Data,
|
||||
OUT UINT32 *DataSize,
|
||||
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath OPTIONAL
|
||||
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath OPTIONAL,
|
||||
OUT EFI_HANDLE *ParentDeviceHandle OPTIONAL,
|
||||
OUT EFI_DEVICE_PATH_PROTOCOL **ParentFilePath OPTIONAL
|
||||
)
|
||||
{
|
||||
CHAR16 ToolPath[64];
|
||||
@ -112,6 +114,14 @@ OcToolLoadEntry (
|
||||
*DevicePath = Storage->DummyDevicePath;
|
||||
}
|
||||
|
||||
if (ParentDeviceHandle != NULL) {
|
||||
*ParentDeviceHandle = Storage->StorageHandle;
|
||||
}
|
||||
|
||||
if (ParentFilePath != NULL) {
|
||||
*ParentFilePath = Storage->DummyFilePath;
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user