From 79ce631d7a082d98f5f8293ebe4bafed172f2999 Mon Sep 17 00:00:00 2001 From: Leoyzen Date: Fri, 27 Mar 2020 23:11:18 +0800 Subject: [PATCH] Add MceDisabler and Tested More comments on ACPI --- .../Contents/Info.plist | 64 +++++++++++++ EFI/OC/config.plist | 92 +++++++++++++++++-- README.md | 2 +- 3 files changed, 147 insertions(+), 11 deletions(-) create mode 100755 EFI/OC/Kexts/MCEReporterDisabler.kext/Contents/Info.plist diff --git a/EFI/OC/Kexts/MCEReporterDisabler.kext/Contents/Info.plist b/EFI/OC/Kexts/MCEReporterDisabler.kext/Contents/Info.plist new file mode 100755 index 0000000..a8b1ccd --- /dev/null +++ b/EFI/OC/Kexts/MCEReporterDisabler.kext/Contents/Info.plist @@ -0,0 +1,64 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleGetInfoString + MCEReporterDisabler 0.5, Copyright (GPLv2) © 2017 by RehabMan. All rights reserved. + CFBundleIdentifier + org.rehabman.disabler.MCEReporter + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + MCEReporterDisabler + CFBundlePackageType + KEXT + CFBundleVersion + 0.5 + IOKitPersonalities + + MCEInterruptControllerDisabler + + CFBundleIdentifier + com.apple.driver.AppleIntelMCEReporter + IOClass + IOService + IOMatchCategory + AppleIntelMCEInterruptController + IOProbeScore + 5000 + IOPropertyMatch + + + board-id + Mac-F60DEB81FF30ACF6 + + + board-id + Mac-7BA5B2D9E42DDD94 + + + board-id + Mac-27AD2F918AE68F61 + + + IOProviderClass + IOPlatformExpertDevice + + MCEReporterDisabler + + CFBundleIdentifier + com.apple.driver.AppleIntelMCEReporter + IOClass + IOService + IOMatchCategory + AppleIntelMCEReporter + IOProbeScore + 5000 + IOProviderClass + AppleIntelMCEInterruptNub + + + + diff --git a/EFI/OC/config.plist b/EFI/OC/config.plist index 6a3859d..381babc 100755 --- a/EFI/OC/config.plist +++ b/EFI/OC/config.plist @@ -8,7 +8,7 @@ Comment - + add DTGP method Enabled Path @@ -16,7 +16,7 @@ Comment - + Fake EC and USBX Power Enabled Path @@ -24,7 +24,7 @@ Comment - + USB 2.0 Injection Enabled Path @@ -32,7 +32,7 @@ Comment - + CPU AGPM Plugin=1 Enabled Path @@ -281,6 +281,22 @@ PlistPath Contents/Info.plist + + BundlePath + MCEReporterDisabler.kext + Comment + + Enabled + + ExecutablePath + + MaxKernel + + MinKernel + + PlistPath + Contents/Info.plist + Block @@ -300,35 +316,91 @@ Emulate Cpuid1Data - + VAYFAAAAAAAAAAAAAAAAAA== Cpuid1Mask - + ////AAAAAAAAAAAAAAAAAA== Patch Base - + _cpu_topology_sort Comment - algrey - cpuid_set_generic_info - disable check to allow leaf7 + algrey - cpu_topology_sort -disable _x86_validate_topology Count 1 Enabled Find - ADoPgg== + 6AAA//8= Identifier kernel Limit 0 Mask + /wAA//8= + MaxKernel + 19.99.99 + MinKernel + 17.0.0 + Replace + Dx9EAAA= + ReplaceMask + Skip + 0 + + + Base + + Comment + algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN + Count + 1 + Enabled + + Find + MduAPQAAAAAGdQA= + Identifier + kernel + Limit + 0 + Mask + /////wAAAP///wA= MaxKernel 19.99.99 MinKernel 17.0.0 Replace - AAAPgg== + u7xP6njpXQAAAJA= + ReplaceMask + + Skip + 0 + + + Base + + Comment + Ranem board-id to board-ix + Count + 1 + Enabled + + Find + Ym9hcmQtaWQ= + Identifier + com.apple.driver.AppleGraphicsDevicePolicy + Limit + 0 + Mask + + MaxKernel + 19.99.99 + MinKernel + 19.0.0 + Replace + Ym9hcmQtaXg= ReplaceMask Skip diff --git a/README.md b/README.md index aff0ac8..470ce2b 100644 --- a/README.md +++ b/README.md @@ -97,4 +97,4 @@ If you did it right, then there is no much differeces between VM and normal setu We use EHC/UHC from qemu now(XHCI(nec/qemu) can't be recognized by MacOS now).USB port mapping(EHC) and USB Power injection(with fake EC ioreg) already included. # Known Problems/Help -see issues. +see issues. \ No newline at end of file