diff --git a/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist b/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist index f7c613e8f..c27d8a208 100755 --- a/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist +++ b/CloverPackage/CloverV2/EFI/CLOVER/config-sample.plist @@ -1,1331 +1,1331 @@ - - ACPI - - AutoMerge - - DSDT - - Debug - - Fixes - - AddDTGP - - AddHDMI - - AddIMEI - - AddMCHC - - AddPNLF - - DeleteUnused - - FakeLPC - - FixACST - - FixADP1 - - FixAirport - - FixDarwin - - FixDarwin7 - - FixDisplay - - FixFirewire - - FixHDA - - FixHPET - - FixIDE - - FixIPIC - - FixIntelGfx - - FixLAN - - FixMutex - - FixRTC - - FixRegions - - FixS3D - - FixSATA - - FixSBUS - - FixShutdown - - FixTMR - - FixUSB - - FixWAK - - - Name - DSDT.aml - PNLF_UID - 0x0A - Patches - - - Comment - Add _SUN property for GIGE - Disabled - - Find - UFhTWAhfQURSAAhfUFJXEgYC - Replace - UFhTWAhfQURSAAhfU1VOCgQIX1BSVxIGAg== - - - Comment - Rename GFX0 to IGPU - Disabled - - Find - R0ZYMA== - Replace - SUdQVQ== - - - Comment - Rename AZAL to HDAS - Disabled - - Find - QVpBTA== - Replace - SERBUw== - - - Comment - Rename oem _DSM to ZDSM - Disabled - - Find - X0RTTQ== - Replace - WkRTTQ== - - - Comment - Rename HECI to IMEI - Disabled - - Find - SEVDSQ== - Replace - SU1FSQ== - Skip - 0 - Count - 0 - - - ReuseFFFF - - Rtc8Allowed - - SuspendOverride? - - - DisableASPM - - DisabledAML - - SSDT-PLUG.aml - SSDT-MINE.aml - SSDT-OTHER.aml - - DropTables - - - Signature - DMAR - - - Signature - SSDT - TableId - CpuPm - - - Length? - 720 - Signature - SSDT - TableId - Cpu0Ist - - - DropForAllOS - - Signature - BGRT - - - FixHeaders - - FixMCFG - - HaltEnabler - - PatchAPIC - - RenameDevices? - - - _SB.PCI0.RP05.PXSX - UPSB - - - _SB.PCI0.RP05.UPSB.DSB1.NHI0 - UPS0 - - - _SB.PCI0.RP03.PXSX - BRG3 - - - ResetAddress? - 0x64 - ResetValue? - 0xFE - SSDT - - C3Latency? - 0x03E7 - DoubleFirstState? - - DropOem? - - EnableC2? - - EnableC4? - - EnableC6? - - EnableC7? - - MaxMultiplier? - 12 - MinMultiplier? - 8 - NoDynamicExtract? - - NoOemTableId? - - PLimitDict? - 1 - UnderVoltStep? - 1 - UseSystemIO? - - Generate - - APLF? - - APSN? - - PluginType? - - CStates - - PStates - - - - SortedOrder? - - SSDT-3.aml - SSDT-1.aml - SSDT-2.aml - - smartUPS - - - Boot - - Arguments? - slide=0 darkwake=0 - CustomLogo - - Debug - - DefaultLoader? - boot.efi - DefaultVolume - LastBootedVolume - DisableCloverHotkeys - - Fast - - Legacy - PBR - LegacyBiosDefaultEntry - 0 - NeverDoRecovery - - NeverHibernate - - NoEarlyProgress - - RtcHibernateAware - - SignatureFixup - - SkipHibernateTimeout - - StrictHibernate - - Timeout - 5 - XMPDetection? - -1 - - BootGraphics - - DefaultBackgroundColor - 0xBFBFBF - EFILoginHiDPI - 1 - UIScale - 1 - - CPU - - BusSpeedkHz? - 133330 - FrequencyMHz? - 3140 - HWPEnable? - - HWPValue? - 0x30002a01 - QPI? - 4800 - SavingMode? - 7 - TDP? - 95 - TurboDisable? - - Type? - 0x0201 - UseARTFrequency - - - Devices - - Audio? - - AFGLowPowerState - - Inject? - 12 - ResetHDA - - - DisableFunctions? - 0x18F6 - FakeID - - ATI? - 0x67501002 - IMEI? - 0x1e208086 - IntelGFX? - 0x59168086 - LAN? - 0x100E8086 - NVidia? - 0x11de10de - SATA? - 0x26818086 - WIFI? - 0x0030168C - XHCI? - 0xA12F8086 - - ForceHPET? - - HDMIInjection? - - IntelMaxValue? - 0x710 - LANInjection? - - NoDefaultProperties? - - Properties? - - PciRoot(0x0)/Pci(0x14,0x0) - - AAPL,clock-id - AA== - AAPL,current-available - sAQ= - AAPL,current-extra - vAI= - AAPL,current-in-sleep - 6AM= - Comment - This is USB3.0 - built-in - AA== - device_type - XHCI - - PciRoot(0x0)/Pci(0x19,0x0) - - built-in - AQ== - - PciRoot(0x0)/Pci(0x1a,0x0) - - AAPL,clock-id - AQ== - AAPL,current-available - sAQ= - AAPL,current-extra - vAI= - AAPL,current-in-sleep - 6AM= - built-in - AA== - device_type - EHCI - - PciRoot(0x0)/Pci(0x1b,0x0) - - hda-gfx - onboard-1 - - PciRoot(0x0)/Pci(0x1c,0x1)/Pci(0x0,0x0) - - device_type - Airport - model - Apple WiFi card - name - AirPort Extreme - subsystem-vendor-id - axAAAA== - - PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0) - - compatible - pci14e4,16bc - device_type - Media controller - model - O2 Micro SD card reader - name - AirPort Extreme - subsystem-vendor-id - axAAAA== - - PciRoot(0x0)/Pci(0x1d,0x0) - - AAPL,clock-id - Ag== - AAPL,current-available - sAQ= - AAPL,current-extra - vAI= - AAPL,current-in-sleep - 6AM= - built-in - AA== - device_type - EHCI - - PciRoot(0x0)/Pci(0x2,0x0) - - #AAPL00,override-no-connect - AP///////wANr2kUAAAAABYWAQSgHxF4AtFFm1lXjisjUFQAAAABAQEBAQEBAQEBAQEBAQEBEhtWclAADDAQZCYANa4QAAAaDBJWclAADDAQIiYANa4QAAAaAAAA/gA3SlJUOYAxNDBCR0UKAAAAAAAAQTGUAAAAAAEBCiAgAMU= - @0,backlight-control - AQAAAA== - AAPL,HasLid - AQAAAA== - AAPL,HasPanel - AQAAAA== - AAPL,backlight-control - AQAAAA== - AAPL,ig-platform-id - AwBmAQ== - class-code - AAADAA== - device-id - ZgEAAA== - graphic-options - DAAAAA== - model - Intel HD Graphics 4000 - subsystem-vendor-id - axAAAA== - vendor-id - hoAAAA== - - SecondaryGPU - - device-id - /////w== - - - SetIntelBacklight? - - SetIntelMaxBacklight? - - USB - - AddClockID? - - FixOwnership - - HighCurrent? - - Inject - - - UseIntelHDMI - - - DisableDrivers? - - CsmVideoDxe - VBoxExt4 - - GUI - - ConsoleMode - 0 - Custom? - - Entries - - - Disabled - - Hidden - - Image - os_mageia - Path - \EFI\MAGEIA\GRUBX64.efi - Title - Mageia Linux - Type - Linux - - - AddArguments - -v - Arguments - Kernel=mach_kernel - Disabled - - Hidden - - Hotkey - M - InjectKexts - - NoCaches - - Path - \EFI\BOOT\BOOTX64.efi - Title - MyCustomEntry - Type - OSXRecovery - Volume - D68F1885-571C-4441-8DD5-F14803EFEF54 - - - Hidden - - InjectKexts - - NoCaches - - SubEntries - - - AddArguments - -v - Title - Boot OS X 10.8.5 (12F36) Mountain Lion in Verbose Mode - - - Title - OS X 10.8.5 (12F36) Mountain Lion - Type - OSX - Volume - 454794AC-760D-46E8-8F77-D6EB23D2FD32 - - - Legacy - - - Disabled - - Hidden - - Hotkey - L - Title - MyLegacyEntry - Type - Windows - Volume - 89433CD3-21F2-4D3C-95FC-722C48066D3A - - - Tool - - - Arguments - -b - Disabled - - Hidden - - Hotkey - S - Path - \EFI\CLOVER\TOOLS\Shell64-v1.efi - Title - MyCustomShell - Volume - D68F1885-571C-4441-8DD5-F14803EFEF54 - - - - CustomIcons? - - EmbeddedThemeType - Daytime - Hide? - - Windows - BOOTX64.EFI - - KbdPrevLang? - - Language? - en:0 - Mouse? - - DoubleClickTime? - 500 - Enabled - - Mirror? - - Speed - 2 - - PlayAsync - - ProvideConsoleGop - - Scan? - - Entries - - Legacy - - Tool - - - ScreenResolution? - 1280x1024 - ShowOptimus? - - TextOnly - - Theme - Clovy - Timezone - 3 - - Graphics - - DualLink? - 0 - EDID - - Custom? - AP///////wAGECGSAAAAAAASAQOAIRV4CunVmVlTjigmUFQAAAABAQEBAQEBAQEBAQEBAQEB3iGgcFCEHzAgIFYAS88QAAAY3iGgcFCEHzAgIFYAS88QAAAAAAAA/gBXNjU3RwAxNTRXUDEKAAAA/gAjMz1IZYSq/wIBCiAgAJo= - HorizontalSyncPulseWidth? - 0x11 - Inject? - - ProductID? - 0x9221 - VendorID? - 0x1006 - VideoInputSignal? - 0xA1 - - FBName? - Makakakakala - Inject? - - ATI - - Intel - - NVidia - - - LoadVBios? - - NVCAP? - 04000000000003000C0000000000000A00000000 - NvidiaGeneric? - - NvidiaNoEFI? - - NvidiaSingle? - - PatchVBios? - - PatchVBiosBytes? - - - Find - gAeoAqAF - Replace - gAeoAjgE - - - RadeonDeInit? - - VRAM? - 1024 - VideoPorts? - 2 - display-cfg? - 03010300FFFF0001 - ig-platform-id? - 0x01620005 - - KernelAndKextPatches - - #ATIConnectorsController - 6000 - #ATIConnectorsData - 000400000403000000010000210302040400000014020000000100000000040310000000100000000001000000000001 - #ATIConnectorsPatch - 040000001402000000010000000004040004000004030000000100001102010500000000000000000000000000000000 - AppleIntelCPUPM? - - AppleRTC - - BlockSkywalk - - BootPatches - - - Comment - Example - Disabled - - Find - RXh0ZXJuYWw= - MatchOS - All - Replace - SW50ZXJuYWw= - - - Debug - - DellSMBIOSPatch - - EightApple - - FakeCPUID - 0x010676 - ForceKextsToLoad? - - \System\Library\Extensions\AMD6000Controller.kext - \System\Library\Extensions\AMDFramebuffer.kext - - KernelLapic - - KernelPm - - KernelToPatch - - - Comment - Disable panic kext logging on 10.14 Release kernel - Disabled - - Find - igKEwHRC - MaskFind - //////// - MaskReplace - AAAAAP8A - MatchOS - 10.14 - Replace - igKEwOtC - - - Comment - Disable panic kext logging on 10.13 Release kernel - Disabled - - Find - igKEwHRE - MatchOS - 10.13 - Replace - igKEwOtE - - - Comment - Lapic panic patch example - Disabled - - Find - 6AAA//+DAAAAAAAA - MaskFind - /wAA////AAAAAP// - MaskReplace - /wAA//////////// - MaskStart - /////wA= - MatchOS - All - RangeFind - 200 - Replace - 6AAA//8xwJCQkJCQ - StartPattern - ACnHeAAx241H+oM= - - - Comment - Monterey RDRAND instruction #1 - Disabled - - Find - D8fxc/sh8TnRc/WJyUiLlM3Q/f// - MatchOS - 12.x - Procedure - _work_interval_port_type_render_server - RangeFind - 3900 - Replace - McmQkJAh8TnRc/WJyUiLlM3Q/f// - - - Comment - Monterey RDRAND instruction #2 - Disabled - - Find - D8fyc/uD4g+D+gd38w+3NEE= - MatchOS - 12.x - Procedure - _panic_with_thread_context - RangeFind - 10100 - Replace - MdKQkJCD4g+D+gd38w+3NEE= - - - Comment - Monterey RDRAND instruction #3 - Disabled - - Find - SA/H8HP6 - MaskFind - /v//8P// - MatchOS - 12.x - Replace - kJCQkJCQ - - - KernelXCPM - - KextsToPatch - - - Disabled - - Find - SGVhZHBob25lcwA= - MaskReplace - /////wAAAAAAAAA= - Name - VoodooHDA - Replace - VGVsZXBob25lcwA= - - - Comment - Make all drives to be internal - Disabled - - Find - RXh0ZXJuYWw= - Name - AppleAHCIPort - Replace - SW50ZXJuYWw= - - - Comment - TRIM function for non-Apple SSDs - Disabled - - Find - QVBQTEUgU1NEAA== - Name - IOAHCIBlockStorage - Replace - AAAAAAAAAAAAAA== - - - Comment - ATI Connector patch new way - Disabled - - Find - AAQAAAQDAAAAAQAAIQMCBAQAAAAUAgAAAAEAAAAABAMQAAAAEAAAAAABAAAAAAAB - MatchOS - 10.9,10.10,10.11 - Name - AMD6000Controller - Replace - BAAAABQCAAAAAQAAAAAEBAAEAAAEAwAAAAEAABECAQUAAAAAAAAAAAAAAAAAAAAA - - - Comment - ATI name HD xxxx -> HD6450 - Disabled - - Find - SEQgNnh4eA== - MatchOS - 10.12,10.13 - Name - AMD6000Controller - Replace - SEQgNjQ1MA== - - - Comment - Violet strips - Disabled - - Find - VUiJ - MaskFind - AAAA - Name - com.apple.kext.AMDSupport - Procedure - TestVRAM - RangeFind - 10 - Replace - sAHD - - - PanicNoKextDump - - - Quirks - - AppleXcpmExtraMsrs - - AppleXcpmForceBoost - - AvoidRuntimeDefrag - - DevirtualiseMmio - - DisableIoMapper - - DisableLinkeditJettison - - DisableSingleUser - - DisableVariableWrite - - DiscardHibernateMap - - DummyPowerManagement - - EnableSafeModeSlide - - EnableWriteUnprotector - - ExtendBTFeatureFlags - - ExternalDiskIcons - - ForceExitBootServices - - ForceOcWriteFlash - - FuzzyMatch - - IncreasePciBarSize - - KernelCache - Auto - MmioWhitelist - - - Address - 4275159040 - Comment - Haswell: SB_RCBA is a 0x4 page memory region, containing SPI_BASE at 0x3800 (SPI_BASE_ADDRESS) - Enabled - - - - Address - 4278190080 - Comment - Generic: PCI root is a 0x1000 page memory region used by some firmwares - Enabled - - - - PowerTimeoutKernelPanic - - ProtectMemoryRegions - - ProtectSecureBoot - - ProtectUefiServices - - ProvideCurrentCpuInfo - - ProvideCustomSlide - - ProvideMaxSlide - 0 - RebuildAppleMemoryMap - - ResizeAppleGpuBars - -1 - SetupVirtualMap - - SignalAppleOS - - SyncRuntimePermissions - - ThirdPartyDrives - - TscSyncTimeout - 0 - XhciPortLimit - - - RtVariables - - Block - - - Comment - Dell variables - Disabled - - Guid - FF2E9FC7-D16F-434A-A24E-C99519B7EB93 - Name - * - - - BooterConfig - 0x68 - CsrActiveConfig - 0x0A87 - HWTarget? - J160AP - MLB - C02032109R6DC771H - ROM - UseMacAddr0 - - SMBIOS - - BiosReleaseDate? - 05/03/10 - BiosVendor? - Apple Inc. - BiosVersion? - IM131.88Z.F000.B00.1907241303 - Board-ID? - Mac-FC02E91DDD3FA6A4 - BoardManufacturer? - Apple Inc. - BoardSerialNumber? - C0225060SAMF651AX - BoardType? - 10 - BoardVersion? - Proto1 - ChassisAssetTag? - Desktop - ChassisManufacturer? - Apple Inc. - ChassisType? - 16 - EfiVersion? - 288.0.0.0.0 - ExtendedFirmwareFeatures? - 0x8FE001403 - ExtendedFirmwareFeaturesMask? - 0xFFFFFFFFFF - FakeCPUID - 0x0406E1 - Family? - iMac - FirmwareFeatures? - 0xC0001403 - FirmwareFeaturesMask? - 0xFFFFFFFF - LocationInChassis? - Part Component - Manufacturer? - Apple Inc. - Memory? - - Channels - 2 - Modules - - - Frequency - 1333 - Part - C0001403 - Serial - 00001001 - Size - 4096 - Slot - 0 - Type - DDR3 - Vendor - Kingston - - - Frequency - 1333 - Part - C0001404 - Serial - 00001002 - Size - 4096 - Slot - 2 - Type - DDR3 - Vendor - Kingston - - - SlotCount - 4 - - MemoryRank? - 2 - Mobile? - - NoRomInfo - - PlatformFeature? - 0x00 - ProductName? - iMac13,2 - SerialNumber? - C02JBSAMDNCW - Slots? - - - Device - ATI - ID - 1 - Name - PCIe Slot 0 - Type - 16 - - - Device - WIFI - ID - 0 - Name - Airport - Type - 1 - - - SmUUID? - 00000000-0000-1000-8000-010203040506 - SmbiosVersion? - 0x0300 - Trust? - - Version? - 1.0 - - SMBIOS_capitan - - BiosReleaseDate - 12/18/2019 - BiosVendor - Apple Inc. - BiosVersion - IM131.88Z.F000.B00.1912181754 - Board-ID? - Mac-FC02E91DDD3FA6A4 - BoardManufacturer - Apple Inc. - BoardSerialNumber - C022295014NF2FRJC - BoardType - 10 - BoardVersion - 1.0 - ChassisAssetTag - iMac-Aluminum - ChassisManufacturer - Apple Inc. - ChassisType - 0x0D - EfiVersion - 1968.100.17.0.0 - Family - iMac - FirmwareFeatures - 0xE00DE137 - FirmwareFeaturesMask - 0xFF1FFF3F - LocationInChassis - Part Component - Manufacturer - Apple Inc. - Mobile - - NoRomInfo - - PlatformFeature - 0x01 - ProductName - MacBookPro10,1 - SerialNumber? - - SmUUID - 4F5991DC-A9CA-42E0-B4A4-C66CEE83A4FB - Trust - - Version - 1.0 - - SMBIOS_ventura - - BiosReleaseDate - 12/18/2019 - BiosVendor - Apple Inc. - BiosVersion - IM131.88Z.F000.B00.1912181754 - Board-ID - Mac-FC02E91DDD3FA6A4 - BoardManufacturer - Apple Inc. - BoardSerialNumber - C022295014NF2FRJC - BoardType - 10 - BoardVersion - 1.0 - ChassisAssetTag - iMac-Aluminum - ChassisManufacturer - Apple Inc. - ChassisType - 0x0D - EfiVersion - 1968.100.17.0.0 - Family - iMac - FirmwareFeatures - 0xE00DE137 - FirmwareFeaturesMask - 0xFF1FFF3F - FakeCPUID - 0x0406E1 - LocationInChassis - Part Component - Manufacturer - Apple Inc. - Mobile - - NoRomInfo - - PlatformFeature - 0x01 - ProductName - MacBookPro15,4 - SerialNumber? - - SmUUID - 4F5991DC-A9CA-42E0-B4A4-C66CEE83A4FB - Trust - - Version - 1.0 - - SystemParameters - - BacklightLevel? - 0x0501 - CustomUUID? - 511CE201-1000-4000-9999-010203040506 - InjectKexts - - InjectSystemID - - NoCaches - - NvidiaWeb? - - - + + ACPI + + AutoMerge + + DSDT + + Debug + + Fixes + + AddDTGP + + AddHDMI + + AddIMEI + + AddMCHC + + AddPNLF + + DeleteUnused + + FakeLPC + + FixACST + + FixADP1 + + FixAirport + + FixDarwin + + FixDarwin7 + + FixDisplay + + FixFirewire + + FixHDA + + FixHPET + + FixIDE + + FixIPIC + + FixIntelGfx + + FixLAN + + FixMutex + + FixRTC + + FixRegions + + FixS3D + + FixSATA + + FixSBUS + + FixShutdown + + FixTMR + + FixUSB + + FixWAK + + + Name + DSDT.aml + PNLF_UID + 0x0A + Patches + + + Comment + Add _SUN property for GIGE + Disabled + + Find + UFhTWAhfQURSAAhfUFJXEgYC + Replace + UFhTWAhfQURSAAhfU1VOCgQIX1BSVxIGAg== + + + Comment + Rename GFX0 to IGPU + Disabled + + Find + R0ZYMA== + Replace + SUdQVQ== + + + Comment + Rename AZAL to HDAS + Disabled + + Find + QVpBTA== + Replace + SERBUw== + + + Comment + Rename oem _DSM to ZDSM + Disabled + + Find + X0RTTQ== + Replace + WkRTTQ== + + + Comment + Rename HECI to IMEI + Disabled + + Find + SEVDSQ== + Replace + SU1FSQ== + Skip + 0 + Count + 0 + + + ReuseFFFF + + Rtc8Allowed + + SuspendOverride? + + + DisableASPM + + DisabledAML + + SSDT-PLUG.aml + SSDT-MINE.aml + SSDT-OTHER.aml + + DropTables + + + Signature + DMAR + + + Signature + SSDT + TableId + CpuPm + + + Length? + 720 + Signature + SSDT + TableId + Cpu0Ist + + + DropForAllOS + + Signature + BGRT + + + FixHeaders + + FixMCFG + + HaltEnabler + + PatchAPIC + + RenameDevices? + + + _SB.PCI0.RP05.PXSX + UPSB + + + _SB.PCI0.RP05.UPSB.DSB1.NHI0 + UPS0 + + + _SB.PCI0.RP03.PXSX + BRG3 + + + ResetAddress? + 0x64 + ResetValue? + 0xFE + SSDT + + C3Latency? + 0x03E7 + DoubleFirstState? + + DropOem? + + EnableC2? + + EnableC4? + + EnableC6? + + EnableC7? + + MaxMultiplier? + 12 + MinMultiplier? + 8 + NoDynamicExtract? + + NoOemTableId? + + PLimitDict? + 1 + UnderVoltStep? + 1 + UseSystemIO? + + Generate + + APLF? + + APSN? + + PluginType? + + CStates + + PStates + + + + SortedOrder? + + SSDT-3.aml + SSDT-1.aml + SSDT-2.aml + + smartUPS + + + Boot + + Arguments? + slide=0 darkwake=0 + CustomLogo + + Debug + + DefaultLoader? + boot.efi + DefaultVolume + LastBootedVolume + DisableCloverHotkeys + + Fast + + Legacy + PBR + LegacyBiosDefaultEntry + 0 + NeverDoRecovery + + NeverHibernate + + NoEarlyProgress + + RtcHibernateAware + + SignatureFixup + + SkipHibernateTimeout + + StrictHibernate + + Timeout + 5 + XMPDetection? + -1 + + BootGraphics + + DefaultBackgroundColor + 0xBFBFBF + EFILoginHiDPI + 1 + UIScale + 1 + + CPU + + BusSpeedkHz? + 133330 + FrequencyMHz? + 3140 + HWPEnable? + + HWPValue? + 0x30002a01 + QPI? + 4800 + SavingMode? + 7 + TDP? + 95 + TurboDisable? + + Type? + 0x0201 + UseARTFrequency + + + Devices + + Audio? + + AFGLowPowerState + + Inject? + 12 + ResetHDA + + + DisableFunctions? + 0x18F6 + FakeID + + ATI? + 0x67501002 + IMEI? + 0x1e208086 + IntelGFX? + 0x59168086 + LAN? + 0x100E8086 + NVidia? + 0x11de10de + SATA? + 0x26818086 + WIFI? + 0x0030168C + XHCI? + 0xA12F8086 + + ForceHPET? + + HDMIInjection? + + IntelMaxValue? + 0x710 + LANInjection? + + NoDefaultProperties? + + Properties? + + PciRoot(0x0)/Pci(0x14,0x0) + + AAPL,clock-id + AA== + AAPL,current-available + sAQ= + AAPL,current-extra + vAI= + AAPL,current-in-sleep + 6AM= + Comment + This is USB3.0 + built-in + AA== + device_type + XHCI + + PciRoot(0x0)/Pci(0x19,0x0) + + built-in + AQ== + + PciRoot(0x0)/Pci(0x1a,0x0) + + AAPL,clock-id + AQ== + AAPL,current-available + sAQ= + AAPL,current-extra + vAI= + AAPL,current-in-sleep + 6AM= + built-in + AA== + device_type + EHCI + + PciRoot(0x0)/Pci(0x1b,0x0) + + hda-gfx + onboard-1 + + PciRoot(0x0)/Pci(0x1c,0x1)/Pci(0x0,0x0) + + device_type + Airport + model + Apple WiFi card + name + AirPort Extreme + subsystem-vendor-id + axAAAA== + + PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0) + + compatible + pci14e4,16bc + device_type + Media controller + model + O2 Micro SD card reader + name + AirPort Extreme + subsystem-vendor-id + axAAAA== + + PciRoot(0x0)/Pci(0x1d,0x0) + + AAPL,clock-id + Ag== + AAPL,current-available + sAQ= + AAPL,current-extra + vAI= + AAPL,current-in-sleep + 6AM= + built-in + AA== + device_type + EHCI + + PciRoot(0x0)/Pci(0x2,0x0) + + #AAPL00,override-no-connect + AP///////wANr2kUAAAAABYWAQSgHxF4AtFFm1lXjisjUFQAAAABAQEBAQEBAQEBAQEBAQEBEhtWclAADDAQZCYANa4QAAAaDBJWclAADDAQIiYANa4QAAAaAAAA/gA3SlJUOYAxNDBCR0UKAAAAAAAAQTGUAAAAAAEBCiAgAMU= + @0,backlight-control + AQAAAA== + AAPL,HasLid + AQAAAA== + AAPL,HasPanel + AQAAAA== + AAPL,backlight-control + AQAAAA== + AAPL,ig-platform-id + AwBmAQ== + class-code + AAADAA== + device-id + ZgEAAA== + graphic-options + DAAAAA== + model + Intel HD Graphics 4000 + subsystem-vendor-id + axAAAA== + vendor-id + hoAAAA== + + SecondaryGPU + + device-id + /////w== + + + SetIntelBacklight? + + SetIntelMaxBacklight? + + USB + + AddClockID? + + FixOwnership + + HighCurrent? + + Inject + + + UseIntelHDMI + + + DisableDrivers? + + CsmVideoDxe + VBoxExt4 + + GUI + + ConsoleMode + 0 + Custom? + + Entries + + + Disabled + + Hidden + + Image + os_mageia + Path + \EFI\MAGEIA\GRUBX64.efi + Title + Mageia Linux + Type + Linux + + + AddArguments + -v + Arguments + Kernel=mach_kernel + Disabled + + Hidden + + Hotkey + M + InjectKexts + + NoCaches + + Path + \EFI\BOOT\BOOTX64.efi + Title + MyCustomEntry + Type + OSXRecovery + Volume + D68F1885-571C-4441-8DD5-F14803EFEF54 + + + Hidden + + InjectKexts + + NoCaches + + SubEntries + + + AddArguments + -v + Title + Boot OS X 10.8.5 (12F36) Mountain Lion in Verbose Mode + + + Title + OS X 10.8.5 (12F36) Mountain Lion + Type + OSX + Volume + 454794AC-760D-46E8-8F77-D6EB23D2FD32 + + + Legacy + + + Disabled + + Hidden + + Hotkey + L + Title + MyLegacyEntry + Type + Windows + Volume + 89433CD3-21F2-4D3C-95FC-722C48066D3A + + + Tool + + + Arguments + -b + Disabled + + Hidden + + Hotkey + S + Path + \EFI\CLOVER\TOOLS\Shell64-v1.efi + Title + MyCustomShell + Volume + D68F1885-571C-4441-8DD5-F14803EFEF54 + + + + CustomIcons? + + EmbeddedThemeType + Daytime + Hide? + + Windows + BOOTX64.EFI + + KbdPrevLang? + + Language? + en:0 + Mouse? + + DoubleClickTime? + 500 + Enabled + + Mirror? + + Speed + 2 + + PlayAsync + + ProvideConsoleGop + + Scan? + + Entries + + Legacy + + Tool + + + ScreenResolution? + 1280x1024 + ShowOptimus? + + TextOnly + + Theme + Clovy + Timezone + 3 + + Graphics + + DualLink? + 0 + EDID + + Custom? + AP///////wAGECGSAAAAAAASAQOAIRV4CunVmVlTjigmUFQAAAABAQEBAQEBAQEBAQEBAQEB3iGgcFCEHzAgIFYAS88QAAAY3iGgcFCEHzAgIFYAS88QAAAAAAAA/gBXNjU3RwAxNTRXUDEKAAAA/gAjMz1IZYSq/wIBCiAgAJo= + HorizontalSyncPulseWidth? + 0x11 + Inject? + + ProductID? + 0x9221 + VendorID? + 0x1006 + VideoInputSignal? + 0xA1 + + FBName? + Makakakakala + Inject? + + ATI + + Intel + + NVidia + + + LoadVBios? + + NVCAP? + 04000000000003000C0000000000000A00000000 + NvidiaGeneric? + + NvidiaNoEFI? + + NvidiaSingle? + + PatchVBios? + + PatchVBiosBytes? + + + Find + gAeoAqAF + Replace + gAeoAjgE + + + RadeonDeInit? + + VRAM? + 1024 + VideoPorts? + 2 + display-cfg? + 03010300FFFF0001 + ig-platform-id? + 0x01620005 + + KernelAndKextPatches + + #ATIConnectorsController + 6000 + #ATIConnectorsData + 000400000403000000010000210302040400000014020000000100000000040310000000100000000001000000000001 + #ATIConnectorsPatch + 040000001402000000010000000004040004000004030000000100001102010500000000000000000000000000000000 + AppleIntelCPUPM? + + AppleRTC + + BlockSkywalk + + BootPatches + + + Comment + Example + Disabled + + Find + RXh0ZXJuYWw= + MatchOS + All + Replace + SW50ZXJuYWw= + + + Debug + + DellSMBIOSPatch + + EightApple + + FakeCPUID + 0x010676 + ForceKextsToLoad? + + \System\Library\Extensions\AMD6000Controller.kext + \System\Library\Extensions\AMDFramebuffer.kext + + KernelLapic + + KernelPm + + KernelToPatch + + + Comment + Disable panic kext logging on 10.14 Release kernel + Disabled + + Find + igKEwHRC + MaskFind + //////// + MaskReplace + AAAAAP8A + MatchOS + 10.14 + Replace + igKEwOtC + + + Comment + Disable panic kext logging on 10.13 Release kernel + Disabled + + Find + igKEwHRE + MatchOS + 10.13 + Replace + igKEwOtE + + + Comment + Lapic panic patch example + Disabled + + Find + 6AAA//+DAAAAAAAA + MaskFind + /wAA////AAAAAP// + MaskReplace + /wAA//////////// + MaskStart + /////wA= + MatchOS + All + RangeFind + 200 + Replace + 6AAA//8xwJCQkJCQ + StartPattern + ACnHeAAx241H+oM= + + + Comment + Monterey RDRAND instruction #1 + Disabled + + Find + D8fxc/sh8TnRc/WJyUiLlM3Q/f// + MatchOS + 12.x + Procedure + _work_interval_port_type_render_server + RangeFind + 3900 + Replace + McmQkJAh8TnRc/WJyUiLlM3Q/f// + + + Comment + Monterey RDRAND instruction #2 + Disabled + + Find + D8fyc/uD4g+D+gd38w+3NEE= + MatchOS + 12.x + Procedure + _panic_with_thread_context + RangeFind + 10100 + Replace + MdKQkJCD4g+D+gd38w+3NEE= + + + Comment + Monterey RDRAND instruction #3 + Disabled + + Find + SA/H8HP6 + MaskFind + /v//8P// + MatchOS + 12.x + Replace + kJCQkJCQ + + + KernelXCPM + + KextsToPatch + + + Disabled + + Find + SGVhZHBob25lcwA= + MaskReplace + /////wAAAAAAAAA= + Name + VoodooHDA + Replace + VGVsZXBob25lcwA= + + + Comment + Make all drives to be internal + Disabled + + Find + RXh0ZXJuYWw= + Name + AppleAHCIPort + Replace + SW50ZXJuYWw= + + + Comment + TRIM function for non-Apple SSDs + Disabled + + Find + QVBQTEUgU1NEAA== + Name + IOAHCIBlockStorage + Replace + AAAAAAAAAAAAAA== + + + Comment + ATI Connector patch new way + Disabled + + Find + AAQAAAQDAAAAAQAAIQMCBAQAAAAUAgAAAAEAAAAABAMQAAAAEAAAAAABAAAAAAAB + MatchOS + 10.9,10.10,10.11 + Name + AMD6000Controller + Replace + BAAAABQCAAAAAQAAAAAEBAAEAAAEAwAAAAEAABECAQUAAAAAAAAAAAAAAAAAAAAA + + + Comment + ATI name HD xxxx -> HD6450 + Disabled + + Find + SEQgNnh4eA== + MatchOS + 10.12,10.13 + Name + AMD6000Controller + Replace + SEQgNjQ1MA== + + + Comment + Violet strips + Disabled + + Find + VUiJ + MaskFind + AAAA + Name + com.apple.kext.AMDSupport + Procedure + TestVRAM + RangeFind + 10 + Replace + sAHD + + + PanicNoKextDump + + + Quirks + + AppleXcpmExtraMsrs + + AppleXcpmForceBoost + + AvoidRuntimeDefrag + + DevirtualiseMmio + + DisableIoMapper + + DisableLinkeditJettison + + DisableSingleUser + + DisableVariableWrite + + DiscardHibernateMap + + DummyPowerManagement + + EnableSafeModeSlide + + EnableWriteUnprotector + + ExtendBTFeatureFlags + + ExternalDiskIcons + + ForceExitBootServices + + ForceOcWriteFlash + + FuzzyMatch + + IncreasePciBarSize + + KernelCache + Auto + MmioWhitelist + + + Address + 4275159040 + Comment + Haswell: SB_RCBA is a 0x4 page memory region, containing SPI_BASE at 0x3800 (SPI_BASE_ADDRESS) + Enabled + + + + Address + 4278190080 + Comment + Generic: PCI root is a 0x1000 page memory region used by some firmwares + Enabled + + + + PowerTimeoutKernelPanic + + ProtectMemoryRegions + + ProtectSecureBoot + + ProtectUefiServices + + ProvideCurrentCpuInfo + + ProvideCustomSlide + + ProvideMaxSlide + 0 + RebuildAppleMemoryMap + + ResizeAppleGpuBars + -1 + SetupVirtualMap + + SignalAppleOS + + SyncRuntimePermissions + + ThirdPartyDrives + + TscSyncTimeout + 0 + XhciPortLimit + + + RtVariables + + Block + + + Comment + Dell variables + Disabled + + Guid + FF2E9FC7-D16F-434A-A24E-C99519B7EB93 + Name + * + + + BooterConfig + 0x68 + CsrActiveConfig + 0x0A87 + HWTarget? + J160AP + MLB + C02032109R6DC771H + ROM + UseMacAddr0 + + SMBIOS + + BiosReleaseDate? + 05/03/10 + BiosVendor? + Apple Inc. + BiosVersion? + IM131.88Z.F000.B00.1907241303 + Board-ID? + Mac-FC02E91DDD3FA6A4 + BoardManufacturer? + Apple Inc. + BoardSerialNumber? + C0225060SAMF651AX + BoardType? + 10 + BoardVersion? + Proto1 + ChassisAssetTag? + Desktop + ChassisManufacturer? + Apple Inc. + ChassisType? + 16 + EfiVersion? + 288.0.0.0.0 + ExtendedFirmwareFeatures? + 0x8FE001403 + ExtendedFirmwareFeaturesMask? + 0xFFFFFFFFFF + FakeCPUID + 0x0406E1 + Family? + iMac + FirmwareFeatures? + 0xC0001403 + FirmwareFeaturesMask? + 0xFFFFFFFF + LocationInChassis? + Part Component + Manufacturer? + Apple Inc. + Memory + + Channels + 2 + Modules? + + + Frequency + 1333 + Part + C0001403 + Serial + 00001001 + Size + 4096 + Slot + 0 + Type + DDR3 + Vendor + Kingston + + + Frequency + 1333 + Part + C0001404 + Serial + 00001002 + Size + 4096 + Slot + 2 + Type + DDR3 + Vendor + Kingston + + + SlotCount? + 4 + + MemoryRank? + 2 + Mobile? + + NoRomInfo + + PlatformFeature? + 0x00 + ProductName? + iMac13,2 + SerialNumber? + C02JBSAMDNCW + Slots? + + + Device + ATI + ID + 1 + Name + PCIe Slot 0 + Type + 16 + + + Device + WIFI + ID + 0 + Name + Airport + Type + 1 + + + SmUUID? + 00000000-0000-1000-8000-010203040506 + SmbiosVersion? + 0x0300 + Trust? + + Version? + 1.0 + + SMBIOS_capitan + + BiosReleaseDate + 12/18/2019 + BiosVendor + Apple Inc. + BiosVersion + IM131.88Z.F000.B00.1912181754 + Board-ID? + Mac-FC02E91DDD3FA6A4 + BoardManufacturer + Apple Inc. + BoardSerialNumber + C022295014NF2FRJC + BoardType + 10 + BoardVersion + 1.0 + ChassisAssetTag + iMac-Aluminum + ChassisManufacturer + Apple Inc. + ChassisType + 0x0D + EfiVersion + 1968.100.17.0.0 + Family + iMac + FirmwareFeatures + 0xE00DE137 + FirmwareFeaturesMask + 0xFF1FFF3F + LocationInChassis + Part Component + Manufacturer + Apple Inc. + Mobile + + NoRomInfo + + PlatformFeature + 0x01 + ProductName + MacBookPro10,1 + SerialNumber? + + SmUUID + 4F5991DC-A9CA-42E0-B4A4-C66CEE83A4FB + Trust + + Version + 1.0 + + SMBIOS_ventura + + BiosReleaseDate + 12/18/2019 + BiosVendor + Apple Inc. + BiosVersion + IM131.88Z.F000.B00.1912181754 + Board-ID + Mac-FC02E91DDD3FA6A4 + BoardManufacturer + Apple Inc. + BoardSerialNumber + C022295014NF2FRJC + BoardType + 10 + BoardVersion + 1.0 + ChassisAssetTag + iMac-Aluminum + ChassisManufacturer + Apple Inc. + ChassisType + 0x0D + EfiVersion + 1968.100.17.0.0 + Family + iMac + FirmwareFeatures + 0xE00DE137 + FirmwareFeaturesMask + 0xFF1FFF3F + FakeCPUID + 0x0406E1 + LocationInChassis + Part Component + Manufacturer + Apple Inc. + Mobile + + NoRomInfo + + PlatformFeature + 0x01 + ProductName + MacBookPro15,4 + SerialNumber? + + SmUUID + 4F5991DC-A9CA-42E0-B4A4-C66CEE83A4FB + Trust + + Version + 1.0 + + SystemParameters + + BacklightLevel? + 0x0501 + CustomUUID? + 511CE201-1000-4000-9999-010203040506 + InjectKexts + + InjectSystemID + + NoCaches + + NvidiaWeb? + + + diff --git a/rEFIt_UEFI/Platform/ati.cpp b/rEFIt_UEFI/Platform/ati.cpp index 6f622f4e2..a9d7e74f1 100644 --- a/rEFIt_UEFI/Platform/ati.cpp +++ b/rEFIt_UEFI/Platform/ati.cpp @@ -41,7 +41,37 @@ const card_config_t card_configs[] = { }; const radeon_card_info_t radeon_cards[] = { + /* Vega 20 */ + { 0x66AF, CHIP_FAMILY_VEGA20, "AMD Radeon VII", kNull }, + // Polaris 10 { 0x67DF, CHIP_FAMILY_ELLESMERE, "AMD Radeon RX 480/570/580", kNull }, + // Polaris 11 + { 0x67E0, CHIP_FAMILY_BAFFIN, "AMD Radeon RX 460", kNull }, + { 0x67E3, CHIP_FAMILY_BAFFIN, "AMD Radeon Pro WX4100", kNull }, + { 0x67EF, CHIP_FAMILY_BAFFIN, "AMD Radeon Pro 555", kNull }, + { 0x67FF, CHIP_FAMILY_BAFFIN, "AMD Radeon RX 560", kNull }, + /* Vega 10 */ + { 0x6863, CHIP_FAMILY_VEGA10, "AMD Radeon Vega Frontier", kNull }, + { 0x6867, CHIP_FAMILY_VEGA10, "AMD Radeon Pro Vega 56", kNull }, + { 0x687F, CHIP_FAMILY_VEGA10, "AMD Radeon Vega 64", kNull }, + /* Polaris12 */ + { 0x6987, CHIP_FAMILY_GREENLAND, "AMD Radeon RX640", kNull }, + { 0x699F, CHIP_FAMILY_GREENLAND, "AMD Radeon RX550", kNull }, + // Fiji + { 0x7300, CHIP_FAMILY_FIJI, "AMD Radeon R9 Fury", kNull }, + // Navi10 + { 0x731F, CHIP_FAMILY_NAVI10, "AMD Radeon RX5700", kNull }, + // Navi15 + { 0x7340, CHIP_FAMILY_NAVI10, "AMD Radeon RX5500", kNull }, + { 0x7360, CHIP_FAMILY_NAVI10, "AMD Radeon Pro RX5600M", kNull }, // found in MacBookPro16,4 + // Navi2x + { 0x73A5, CHIP_FAMILY_NAVI20, "AMD Radeon RX6950XT", kNull }, + { 0x73AF, CHIP_FAMILY_NAVI20, "AMD Radeon RX6900XT", kNull }, + { 0x73BF, CHIP_FAMILY_NAVI20, "AMD Radeon RX6800XT", kNull }, + { 0x73DF, CHIP_FAMILY_NAVI20, "AMD Radeon RX6700XT", kNull }, + { 0x73EF, CHIP_FAMILY_NAVI20, "AMD Radeon RX6650XT", kNull }, + { 0x73FF, CHIP_FAMILY_NAVI20, "AMD Radeon RX6600XT", kNull }, + { 0x0000, CHIP_FAMILY_UNKNOW, "AMD Unknown", kNull } }; @@ -1205,7 +1235,7 @@ Lexa-based WX 2100, WX 3100 and WX 3200 do NOT work. */ -#if ATI_LESS +#if 0 //ATI_LESS const CHAR8 *chip_family_name[] = { "UNKNOW", "Ellesmere", @@ -1281,6 +1311,9 @@ const CHAR8 *chip_family_name[] = { "Baffin", "Greenland", "Vega10", + "Vega20", + "Navi10", + "Navi20", // Vega11 // Navi "" @@ -1806,7 +1839,7 @@ XBool load_vbios_file(UINT16 vendor_id, UINT16 device_id) void get_vram_size(void) { //check card->vram_size in bytes! - ati_chip_family_t chip_family = card->info->chip_family; + ati_chip_family_t chip_family = CHIP_FAMILY_UNKNOW; //card->info->chip_family; card->vram_size = 128 << 20; //default 128Mb, this is minimum for OS if (gSettings.Graphics.VRAM != 0) { diff --git a/rEFIt_UEFI/Platform/smbios.cpp b/rEFIt_UEFI/Platform/smbios.cpp index ee855828a..493652bd3 100644 --- a/rEFIt_UEFI/Platform/smbios.cpp +++ b/rEFIt_UEFI/Platform/smbios.cpp @@ -160,7 +160,6 @@ SMBIOS_TABLE_STRING SMBIOS_TABLE_TYPE4_STR_IDX[] = { // validate the SMBIOS entry point structure XBool IsEntryPointStructureValid (IN SMBIOS_TABLE_ENTRY_POINT *EntryPointStructure) { - UINTN I; UINT8 Length; UINT8 Checksum = 0; UINT8 *BytePtr; @@ -171,7 +170,7 @@ XBool IsEntryPointStructureValid (IN SMBIOS_TABLE_ENTRY_POINT *EntryPointStructu BytePtr = (UINT8*) EntryPointStructure; Length = EntryPointStructure->EntryPointLength; - for (I = 0; I < Length; I++) { + for (UINTN I = 0; I < Length; I++) { Checksum = Checksum + (UINT8) BytePtr[I]; } @@ -181,10 +180,8 @@ XBool IsEntryPointStructureValid (IN SMBIOS_TABLE_ENTRY_POINT *EntryPointStructu void* FindOemSMBIOSPtr (void) { - UINTN Address; - // Search 0x0f0000 - 0x0fffff for SMBIOS Ptr - for (Address = 0xf0000; Address < 0xfffff; Address += 0x10) { + for (UINTN Address = 0xf0000; Address < 0xfffff; Address += 0x10) { if (*(UINT32 *)(Address) == SMBIOS_PTR && IsEntryPointStructureValid((SMBIOS_TABLE_ENTRY_POINT*)Address)) { return (void *)Address; } @@ -217,7 +214,7 @@ void* GetSmbiosTablesFromHob (void) void* GetSmbiosTablesFromConfigTables (void) { EFI_STATUS Status; - EFI_PHYSICAL_ADDRESS *Table; + EFI_PHYSICAL_ADDRESS *Table = NULL; Status = EfiGetSystemConfigurationTable (&gEfiSmbiosTableGuid, (void **)&Table); if (EFI_ERROR(Status) || Table == NULL) { @@ -1604,41 +1601,42 @@ void PatchTableType17(const SmbiosInjectedSettings& smbiosSettings, XArray gRAM.SMBIOS.size()) { - DBG("Not trusting SMBIOS because SPD reports more modules...\n"); - trustSMBIOS = false; - } else if (gRAM.SPD.doesSlotForIndexExist(0) || !gRAM.SMBIOS.doesSlotForIndexExist(0)) { - if (gRAM.SPD.size() > 1) { - DBG("Not trusting SMBIOS because SPD reports different modules...\n"); - trustSMBIOS = false; - } else if (gRAM.SMBIOS.size() == 1) { - channels = 1; - } - } else if (gRAM.SPD.size() == 1) { - // The SMBIOS may contain table for built-in module - if (gRAM.SMBIOS.size() <= 2) { - if (!gRAM.SMBIOS.doesSlotForIndexExist(0) || !gRAM.SPD.doesSlotForIndexExist(2) || - (gRAM.SMBIOS.getSlotInfoForSlotIndex(0).Frequency != gRAM.SPD.getSlotInfoForSlotIndex(2).Frequency) || - (gRAM.SMBIOS.getSlotInfoForSlotIndex(0).ModuleSize != gRAM.SPD.getSlotInfoForSlotIndex(2).ModuleSize)) { - channels = 1; - } - } else { - DBG("Not trusting SMBIOS because SPD reports only one module...\n"); - trustSMBIOS = false; - } - } else { - DBG("Not trusting SMBIOS because SPD reports less modules...\n"); - trustSMBIOS = false; - } - } else if (gRAM.SPD.doesSlotForIndexExist(0) != gRAM.SMBIOS.doesSlotForIndexExist(0)) { - // Never trust a sneaky SMBIOS! - DBG("Not trusting SMBIOS because it's being sneaky...\n"); - trustSMBIOS = false; - } - } else if (gRAM.SMBIOS.size() == 1) { +// if (gRAM.SPD.size() != 0) { +// if (gRAM.SPD.size() != gRAM.SMBIOS.size()) { +// // Prefer the SPD information -- no, we trust SMBIOS! +// if (gRAM.SPD.size() > gRAM.SMBIOS.size()) { +// DBG("Not trusting SMBIOS because SPD reports more modules...\n"); +// trustSMBIOS = false; +// } else if (gRAM.SPD.doesSlotForIndexExist(0) || !gRAM.SMBIOS.doesSlotForIndexExist(0)) { +// if (gRAM.SPD.size() > 1) { +// DBG("Not trusting SMBIOS because SPD reports different modules...\n"); +// trustSMBIOS = false; +// } else if (gRAM.SMBIOS.size() == 1) { +// channels = 1; +// } +// } else if (gRAM.SPD.size() == 1) { +// // The SMBIOS may contain table for built-in module +// if (gRAM.SMBIOS.size() <= 2) { +// if (!gRAM.SMBIOS.doesSlotForIndexExist(0) || !gRAM.SPD.doesSlotForIndexExist(2) || +// (gRAM.SMBIOS.getSlotInfoForSlotIndex(0).Frequency != gRAM.SPD.getSlotInfoForSlotIndex(2).Frequency) || +// (gRAM.SMBIOS.getSlotInfoForSlotIndex(0).ModuleSize != gRAM.SPD.getSlotInfoForSlotIndex(2).ModuleSize)) { +// channels = 1; +// } +// } else { +// DBG("Not trusting SMBIOS because SPD reports only one module...\n"); +// trustSMBIOS = false; +// } +// } else { +// DBG("Not trusting SMBIOS because SPD reports less modules...\n"); +// trustSMBIOS = false; +// } +// } else if (gRAM.SPD.doesSlotForIndexExist(0) != gRAM.SMBIOS.doesSlotForIndexExist(0)) { +// // Never trust a sneaky SMBIOS! +// DBG("Not trusting SMBIOS because it's being sneaky...\n"); +// trustSMBIOS = false; +// } +// } else + if (gRAM.SMBIOS.size() == 1) { channels = 1; } } @@ -1656,7 +1654,7 @@ void PatchTableType17(const SmbiosInjectedSettings& smbiosSettings, XArray MAX_UINT8 ) { - log_technical_bug("smbiosSettings.RamSlotCount > MAX_UINT8"); + // log_technical_bug("smbiosSettings.RamSlotCount > MAX_UINT8"); expectedCount = MAX_RAM_SLOTS; }else{ expectedCount = (UINT8)smbiosSettings.RamSlotCount; @@ -2279,7 +2277,7 @@ void PatchSmbios(const SmbiosInjectedSettings& smbiosSettings) //continue PatchTableTypeSome(); auto SlotCounts = smbiosSettings.RamSlotCount; if ( SlotCounts > MAX_RAM_SLOTS ) { - log_technical_bug("GetTableType16() assign smbiosSettings.RamSlotCount a value bigger than MAX_RAM_SLOTS"); +// log_technical_bug("GetTableType16() assign smbiosSettings.RamSlotCount a value bigger than MAX_RAM_SLOTS"); SlotCounts = MAX_RAM_SLOTS; } XArray mMemory17; diff --git a/rEFIt_UEFI/refit/main.cpp b/rEFIt_UEFI/refit/main.cpp index 866a72f86..bf69f3038 100644 --- a/rEFIt_UEFI/refit/main.cpp +++ b/rEFIt_UEFI/refit/main.cpp @@ -3520,7 +3520,7 @@ displayFreeMemory("Before RunMainMenu"_XS8); AfterTool = true; } #ifdef ENABLE_SECURE_BOOT -log_technical_bug("not done yet"); +//log_technical_bug("not done yet"); // if ( ChosenEntry->getREFIT_MENU_ENTRY_SECURE_BOOT() ) { // Try to enable secure boot // EnableSecureBoot(); // MainLoopRunning = false;