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@8876 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2009-07-10 10:15:41 +00:00
parent 03fb2d31d5
commit f9289719f8
1 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ Returns:
CopyMem (RecordBuffer.Raw, &mCpuDataRecordHeader, HeaderSize); CopyMem (RecordBuffer.Raw, &mCpuDataRecordHeader, HeaderSize);
RecordBuffer.DataRecord->DataRecordHeader.RecordType = EFI_PROCESSOR_VERSION_RECORD_NUMBER; RecordBuffer.DataRecord->DataRecordHeader.RecordType = ProcessorVersionRecordType;
RecordBuffer.DataRecord->VariableRecord.ProcessorVersion = STRING_TOKEN (STR_PROCESSOR_VERSION); RecordBuffer.DataRecord->VariableRecord.ProcessorVersion = STRING_TOKEN (STR_PROCESSOR_VERSION);
TotalSize = HeaderSize + sizeof (EFI_PROCESSOR_VERSION_DATA); TotalSize = HeaderSize + sizeof (EFI_PROCESSOR_VERSION_DATA);
@ -464,7 +464,7 @@ Returns:
// //
// Store CPU frequency data record to data hub - It's an emulator so make up a value // Store CPU frequency data record to data hub - It's an emulator so make up a value
// //
RecordBuffer.DataRecord->DataRecordHeader.RecordType = EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER; RecordBuffer.DataRecord->DataRecordHeader.RecordType = ProcessorCoreFrequencyRecordType;
RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Value = 1234; RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Value = 1234;
RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Exponent = 6; RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Exponent = 6;
TotalSize = HeaderSize + sizeof (EFI_PROCESSOR_CORE_FREQUENCY_DATA); TotalSize = HeaderSize + sizeof (EFI_PROCESSOR_CORE_FREQUENCY_DATA);