diff --git a/OpenCorePkg b/OpenCorePkg index 8270a6fb8..0fcc050a4 160000 --- a/OpenCorePkg +++ b/OpenCorePkg @@ -1 +1 @@ -Subproject commit 8270a6fb81b95abf957d2b7acd945fcc039ffde6 +Subproject commit 0fcc050a44f6fa06788b349e65b4e10fcdabde67 diff --git a/PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c b/PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c index 3ad831b15..50b0c2b46 100644 --- a/PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c +++ b/PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c @@ -51,7 +51,7 @@ InternalCalculateTscFrequency ( // // Cached performance counter frequency // -UINT64 mPerformanceCounterFrequency = 0; +static UINT64 mAcpiTimerLibTscFrequency = 0; /** Internal function to retrieves the 64-bit frequency in Hz. @@ -66,7 +66,7 @@ InternalGetPerformanceCounterFrequency ( VOID ) { - return mPerformanceCounterFrequency; + return mAcpiTimerLibTscFrequency; } /** @@ -97,9 +97,9 @@ DxeAcpiTimerLibConstructor ( // GuidHob = GetFirstGuidHob (&mFrequencyHobGuid); if (GuidHob != NULL) { - mPerformanceCounterFrequency = *(UINT64*)GET_GUID_HOB_DATA (GuidHob); + mAcpiTimerLibTscFrequency = *(UINT64*)GET_GUID_HOB_DATA (GuidHob); } else { - mPerformanceCounterFrequency = InternalCalculateTscFrequency (); + mAcpiTimerLibTscFrequency = InternalCalculateTscFrequency (); } return EFI_SUCCESS;