mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
Use Clover implementation of gEfiOSInfoProtocolGuid.
This commit is contained in:
parent
d12acc1ec5
commit
53645a4240
@ -1 +1 @@
|
|||||||
Subproject commit b0eecfb30d655f98cd709f417715e3686a9fd437
|
Subproject commit e61b48c992d2e43700dd1cd8b77d0d9d47149c6a
|
@ -256,7 +256,7 @@ OSInfoOSNameImpl (
|
|||||||
// this variable can be used at OnExitBoootServices,
|
// this variable can be used at OnExitBoootServices,
|
||||||
// as it will be set by boot.efi
|
// as it will be set by boot.efi
|
||||||
BootOSName = (__typeof__(BootOSName))AllocateCopyPool(AsciiStrLen(OSName) + 1, (void*)OSName);
|
BootOSName = (__typeof__(BootOSName))AllocateCopyPool(AsciiStrLen(OSName) + 1, (void*)OSName);
|
||||||
DBG("OSInfo:OSName called\n");
|
DBG("OSInfo:OSName called. OSName=%s\n", OSName);
|
||||||
EfiNamedEventSignal (&gAppleOSLoadedNamedEventGuid);
|
EfiNamedEventSignal (&gAppleOSLoadedNamedEventGuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -367,8 +367,8 @@ SetPrivateVarProto(void)
|
|||||||
Status = gBS->InstallMultipleProtocolInterfaces (&gImageHandle,
|
Status = gBS->InstallMultipleProtocolInterfaces (&gImageHandle,
|
||||||
&gAppleFramebufferInfoProtocolGuid,
|
&gAppleFramebufferInfoProtocolGuid,
|
||||||
&mScreenInfo,
|
&mScreenInfo,
|
||||||
// &gEfiOSInfoProtocolGuid,
|
&gEfiOSInfoProtocolGuid,
|
||||||
// &mEfiOSInfo,
|
&mEfiOSInfo,
|
||||||
&gAppleGraphConfigProtocolGuid,
|
&gAppleGraphConfigProtocolGuid,
|
||||||
&mGraphConfig,
|
&mGraphConfig,
|
||||||
&gEfiKeyboardInfoProtocolGuid,
|
&gEfiKeyboardInfoProtocolGuid,
|
||||||
|
Loading…
Reference in New Issue
Block a user