diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 10:15:41 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 10:15:41 +0000 |
commit | f9289719f8c2fc791f7cef173da236d8e0a7ac46 (patch) | |
tree | 58bbc8849cebd7fa747cc55ad37b53d478822090 /Nt32Pkg | |
parent | 03fb2d31d5719ea6b7fdde0242a3a0e1b75992d2 (diff) | |
download | edk2-platforms-f9289719f8c2fc791f7cef173da236d8e0a7ac46.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@8876 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg')
-rw-r--r-- | Nt32Pkg/CpuRuntimeDxe/Cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Nt32Pkg/CpuRuntimeDxe/Cpu.c b/Nt32Pkg/CpuRuntimeDxe/Cpu.c index 705652be45..f0a138d96d 100644 --- a/Nt32Pkg/CpuRuntimeDxe/Cpu.c +++ b/Nt32Pkg/CpuRuntimeDxe/Cpu.c @@ -448,7 +448,7 @@ Returns: 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);
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
//
- RecordBuffer.DataRecord->DataRecordHeader.RecordType = EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER;
+ RecordBuffer.DataRecord->DataRecordHeader.RecordType = ProcessorCoreFrequencyRecordType;
RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Value = 1234;
RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Exponent = 6;
TotalSize = HeaderSize + sizeof (EFI_PROCESSOR_CORE_FREQUENCY_DATA);
|