OcAppleKernelLib: Fix ProvideCurrentCpuInfo MSR patch on macOS 12

This commit is contained in:
John Davis 2021-07-02 12:22:15 -05:00
parent 3101739c1e
commit 378cc59adf
2 changed files with 1 additions and 4 deletions

View File

@ -18,6 +18,7 @@ OpenCore Changelog
- Added recommended `Apple12` and `Windows11` flavours
- Added `TpmInfo` tool to DEBUG TPM status
- Fixed incorrect OpenCanopy initial display when default entry beyond right of screen
- Fixed `ProvideCurrentCpuInfo` MSR patch on macOS 12
#### v0.7.0
- Fixed NVRAM reset on firmware with write-protected `BootOptionSupport`

View File

@ -954,8 +954,6 @@ mProvideCurrentCpuInfoTopologyValidationPatch = {
STATIC
UINT8
mProvideCurrentCpuInfoZeroMsrThreadCoreCountFind[] = {
// or rcx, rdx
0x48, 0x09, 0xD1,
// mov ecx, 0x10001
0xB9, 0x01, 0x00, 0x01, 0x00
};
@ -963,8 +961,6 @@ mProvideCurrentCpuInfoZeroMsrThreadCoreCountFind[] = {
STATIC
UINT8
mProvideCurrentCpuInfoZeroMsrThreadCoreCountReplace[] = {
// or rcx, rdx
0x48, 0x09, 0xD1,
// mov ecx, core/thread count
0xB9, 0x00, 0x00, 0x00, 0x00
};