原文:
https://www.insanelymac.com/forum/topic/338516-opencore-discussion/?do=findComment&comment=2724463
Got solution for Ivy Bridge XCPM patch for Catalina 10.15.5.
I compared the Kernels from 10.15.4 and 10.15.5 with a Disassembler and examined the _xcpm_bootstrap looking for 0xC4 & 0x3B (which were patched in 10.15.4).
In 10.15.5, they changed code a bit and “CMP BL, 0x3B” is not there but offset to a table dereference to 0xC4 was there.
Changing the 0xC4 to 0xC6 (for Ivy Bridge) enables XCPM.
The patch is (ONLY for 10.15.5):
Find: 8D43C43C42
Replace: 8D43C63C42
Full OC entry in Kernel->Patch:
<dict>
<key>Base</key>
<string>_xcpm_bootstrap</string>
<key>Comment</key>
<string>_xcpm_bootstrap (For Ivy Bridge) 10.15.5 by MacNB</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
jUPEPEI=
</data>
<key>Identifier</key>
<string>kernel</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<key>MaxKernel</key>
<string>19.99.99</string>
<key>MinKernel</key>
<string>19.5.0</string>
<key>Replace</key>
<data>
jUPGPEI=
</data>
<key>ReplaceMask</key>
<data>
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
复制代码
I get P-States from 1.6Ghz up to my overclock 4.8Ghz.