diff options
-rw-r--r-- | DuetPkg/DataHubGenDxe/DataHubGen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/DataHubGenDxe/DataHubGen.c b/DuetPkg/DataHubGenDxe/DataHubGen.c index 89169c2b24..a5e3340967 100644 --- a/DuetPkg/DataHubGenDxe/DataHubGen.c +++ b/DuetPkg/DataHubGenDxe/DataHubGen.c @@ -84,7 +84,7 @@ InstallProcessorDataHub ( //
// Record Type 1
//
- DataRecord.DataRecordHeader.RecordType = ProcessorCoreFrequencyRecordType;
+ DataRecord.DataRecordHeader.RecordType = EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER;
DataRecord.VariableRecord.ProcessorCoreFrequency.Value = SmbiosTable.Type4->CurrentSpeed;
DataRecord.VariableRecord.ProcessorCoreFrequency.Exponent = 6;
@@ -112,7 +112,7 @@ InstallProcessorDataHub ( }
gBS->FreePool (UString);
- DataRecord.DataRecordHeader.RecordType = ProcessorVersionRecordType;
+ DataRecord.DataRecordHeader.RecordType = EFI_PROCESSOR_VERSION_RECORD_NUMBER;
DataRecord.VariableRecord.ProcessorVersion = Token;
Status = gDataHub->LogData (
|