Skip to content

Commit

Permalink
OcAppleKernelLib: Fix incorrect offset in ProvideCurrentCpuInfo MSR p…
Browse files Browse the repository at this point in the history
…atch
  • Loading branch information
Goldfish64 committed Jul 2, 2021
1 parent 378cc59 commit be2d9fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/OcAppleKernelLib/CpuidPatches.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,8 @@ mProvideCurrentCpuInfoTopologyValidationPatch = {
.Limit = 0
};

#define CURRENT_CPU_INFO_CORE_COUNT_OFFSET 4
// Offset of value in below patch.
#define CURRENT_CPU_INFO_CORE_COUNT_OFFSET 1

STATIC
UINT8
Expand Down

0 comments on commit be2d9fe

Please sign in to comment.