mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcCpuLib: Fix FSB frequency calculation on Bonnel CPUs
This commit is contained in:
parent
2dae1c1007
commit
717ce18861
@ -306,7 +306,7 @@ SetMaxBusRatioAndMaxBusRatioDiv (
|
||||
//
|
||||
// Refer to Intel SDM (MSRs in Processors Based on Intel... table).
|
||||
//
|
||||
if (CpuModel >= CPU_MODEL_NEHALEM) {
|
||||
if (CpuModel >= CPU_MODEL_NEHALEM && CpuModel != CPU_MODEL_BONNELL) {
|
||||
PlatformInfo.Uint64 = AsmReadMsr64 (MSR_NEHALEM_PLATFORM_INFO);
|
||||
*MaxBusRatio = (UINT8) PlatformInfo.Bits.MaximumNonTurboRatio;
|
||||
*MaxBusRatioDiv = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user