mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-03 18:07:41 +01:00
revert commit 9598d7ec
, fix issue 525
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
a5e78463aa
commit
30f3048fbf
@ -594,7 +594,7 @@
|
||||
}
|
||||
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
||||
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
||||
#MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
||||
MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
||||
#MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
CloverEFI/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
#MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
||||
|
@ -91,7 +91,7 @@ INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
||||
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
||||
INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
||||
INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
||||
#INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
||||
INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
||||
|
||||
#INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
INF CloverEFI/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
||||
|
@ -397,17 +397,14 @@ SetVariablesForOSX(LOADER_ENTRY *Entry)
|
||||
}
|
||||
|
||||
if (gSettings.RtVariables.HWTarget.notEmpty() && (Entry->LoaderType != OSTYPE_OSX_INSTALLER) &&
|
||||
(Entry->macOSVersion < MacOsVersion("13"_XS8) /*|| gSettings.RtVariables.HWTarget.c_str()[0] != '#'*/) ) {
|
||||
(Entry->macOSVersion < MacOsVersion("13"_XS8) /* || gSettings.RtVariables.HWTarget.c_str()[0] != '#' */) ) {
|
||||
SetNvramXString8(L"BridgeOSHardwareModel", gEfiAppleNvramGuid, Attributes, gSettings.RtVariables.HWTarget);
|
||||
SetNvramVariable(L"BridgeOSBootSessionUUID", gEfiAppleBootGuid, Attributes, sizeof(uuid), &uuid);
|
||||
} else {
|
||||
DeleteNvramVariable(L"BridgeOSHardwareModel", gEfiAppleNvramGuid);
|
||||
DeleteNvramVariable(L"BridgeOSBootSessionUUID", gEfiAppleBootGuid);
|
||||
}
|
||||
|
||||
/*
|
||||
if (gSettings.RtVariables.BooterConfig != 0) {
|
||||
SetNvramVariable(L"bootercfg", &gEfiAppleBootGuid, Attributes, sizeof(gSettings.RtVariables.BooterConfig), &gSettings.RtVariables.BooterConfig);
|
||||
}
|
||||
*/
|
||||
if ( gSettings.RtVariables.BooterCfgStr.notEmpty() ) {
|
||||
SetNvramXString8(L"bootercfg", gEfiAppleBootGuid, Attributes, gSettings.RtVariables.BooterCfgStr);
|
||||
} else {
|
||||
|
@ -342,7 +342,7 @@ void ConfigManager::DiscoverDevices()
|
||||
}
|
||||
|
||||
//
|
||||
// Get MAC-address from hardwaredirectly
|
||||
// Get MAC-address from hardware directly
|
||||
//
|
||||
if ( Mmio != NULL ) {
|
||||
UINTN Offset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user