Fix DSDT oem path.

Test : using OC OSInfo protocol.
This commit is contained in:
jief666 2020-10-06 17:24:34 +03:00
parent 2bc776d63e
commit 72f4ddd9a6
3 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit e61b48c992d2e43700dd1cd8b77d0d9d47149c6a
Subproject commit a638b1bdf8f0656e3e4264159d9efa245d344dd2

View File

@ -1966,7 +1966,7 @@ EFI_STATUS PatchACPI(IN REFIT_VOLUME *Volume, const XString8& OSVersion)
if ( FileExists(&selfOem.getOemDir(), acpiPath) ) {
DBG("DSDT found in Clover volume OEM folder: %ls\\%ls\n", selfOem.getOemFullPath().wc_str(), acpiPath.wc_str());
Status = egLoadFile(&self.getCloverDir(), acpiPath.wc_str(), &buffer, &bufferLen);
Status = egLoadFile(&selfOem.getOemDir(), acpiPath.wc_str(), &buffer, &bufferLen);
//REVIEW: memory leak... buffer
}

View File

@ -367,8 +367,8 @@ SetPrivateVarProto(void)
Status = gBS->InstallMultipleProtocolInterfaces (&gImageHandle,
&gAppleFramebufferInfoProtocolGuid,
&mScreenInfo,
&gEfiOSInfoProtocolGuid,
&mEfiOSInfo,
// &gEfiOSInfoProtocolGuid,
// &mEfiOSInfo,
&gAppleGraphConfigProtocolGuid,
&mGraphConfig,
&gEfiKeyboardInfoProtocolGuid,