Use Clover implementation of gEfiOSInfoProtocolGuid.

This commit is contained in:
jief666 2020-10-05 13:32:23 +03:00
parent d12acc1ec5
commit 53645a4240
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit b0eecfb30d655f98cd709f417715e3686a9fd437
Subproject commit e61b48c992d2e43700dd1cd8b77d0d9d47149c6a

View File

@ -256,7 +256,7 @@ OSInfoOSNameImpl (
// this variable can be used at OnExitBoootServices,
// as it will be set by boot.efi
BootOSName = (__typeof__(BootOSName))AllocateCopyPool(AsciiStrLen(OSName) + 1, (void*)OSName);
DBG("OSInfo:OSName called\n");
DBG("OSInfo:OSName called. OSName=%s\n", OSName);
EfiNamedEventSignal (&gAppleOSLoadedNamedEventGuid);
}
@ -367,8 +367,8 @@ SetPrivateVarProto(void)
Status = gBS->InstallMultipleProtocolInterfaces (&gImageHandle,
&gAppleFramebufferInfoProtocolGuid,
&mScreenInfo,
// &gEfiOSInfoProtocolGuid,
// &mEfiOSInfo,
&gEfiOSInfoProtocolGuid,
&mEfiOSInfo,
&gAppleGraphConfigProtocolGuid,
&mGraphConfig,
&gEfiKeyboardInfoProtocolGuid,