diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-08 07:26:01 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-08 07:26:01 +0000 |
commit | 59d2a62262e832b10d72ddc15e215dc6bbcf45d6 (patch) | |
tree | 048ddd8d087c60f508173afb47b96671941532a1 /DuetPkg/DataHubGenDxe | |
parent | 9e8c32c6a479d1abaf21f187082f3b50b5415f50 (diff) | |
download | edk2-platforms-59d2a62262e832b10d72ddc15e215dc6bbcf45d6.tar.xz |
change ProcessorCoreFrequencyRecordType to EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER. the latter is defined by spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8810 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DataHubGenDxe')
-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 (
|