summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 10:16:50 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 10:16:50 +0000
commit1257e058d71e51c2700f1cde036c9f29fc7d3545 (patch)
treeb6cd2c715b997f0ab178b62f1e65a56fd3d2a739
parent0995a9740086a8750ca20fe3ebaf2d0c1391342a (diff)
downloadedk2-platforms-1257e058d71e51c2700f1cde036c9f29fc7d3545.tar.xz
roll back the change on the naming of DataHubRecords.h for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8878 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--DuetPkg/DataHubGenDxe/DataHubGen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/DataHubGenDxe/DataHubGen.c b/DuetPkg/DataHubGenDxe/DataHubGen.c
index a5e3340967..89169c2b24 100644
--- a/DuetPkg/DataHubGenDxe/DataHubGen.c
+++ b/DuetPkg/DataHubGenDxe/DataHubGen.c
@@ -84,7 +84,7 @@ InstallProcessorDataHub (
//
// Record Type 1
//
- DataRecord.DataRecordHeader.RecordType = EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER;
+ DataRecord.DataRecordHeader.RecordType = ProcessorCoreFrequencyRecordType;
DataRecord.VariableRecord.ProcessorCoreFrequency.Value = SmbiosTable.Type4->CurrentSpeed;
DataRecord.VariableRecord.ProcessorCoreFrequency.Exponent = 6;
@@ -112,7 +112,7 @@ InstallProcessorDataHub (
}
gBS->FreePool (UString);
- DataRecord.DataRecordHeader.RecordType = EFI_PROCESSOR_VERSION_RECORD_NUMBER;
+ DataRecord.DataRecordHeader.RecordType = ProcessorVersionRecordType;
DataRecord.VariableRecord.ProcessorVersion = Token;
Status = gDataHub->LogData (