Skip to content

Commit

Permalink
OpenCorePlatform: Fix setting InitialTSC for automatic mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed May 23, 2019
1 parent 17fa218 commit 2e0b1f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Platform/OpenCore/OpenCorePlatform.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ OcPlatformUpdateDataHub (
OC_DATA_HUB_DATA Data;
EFI_GUID Uuid;
UINT64 StartupPowerEvents;
UINT64 InitialTSC;
EFI_DATA_HUB_PROTOCOL *DataHub;

DataHub = OcDataHubInstallProtocol (FALSE);
Expand Down Expand Up @@ -145,6 +146,8 @@ OcPlatformUpdateDataHub (
Data.BoardRevision = &MacInfo->DataHub.BoardRevision[0];
StartupPowerEvents = 0;
Data.StartupPowerEvents = &StartupPowerEvents;
InitialTSC = 0;
Data.InitialTSC = &InitialTSC;
Data.DevicePathsSupported = &MacInfo->DataHub.DevicePathsSupported[0];

Data.SmcRevision = &MacInfo->DataHub.SmcRevision[0];
Expand Down

0 comments on commit 2e0b1f7

Please sign in to comment.