diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-08 07:34:02 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-08 07:34:02 +0000 |
commit | 15aef294cf74c3ad6ec6c5e2373ee0ff6d5bd02b (patch) | |
tree | dfacbf29d241b35c5411c2584132311cbc29e8d9 /UnixPkg/CpuRuntimeDxe | |
parent | 51797e6dd571eacaad2a3cebdef10d284f22164e (diff) | |
download | edk2-15aef294cf74c3ad6ec6c5e2373ee0ff6d5bd02b.zip edk2-15aef294cf74c3ad6ec6c5e2373ee0ff6d5bd02b.tar.gz edk2-15aef294cf74c3ad6ec6c5e2373ee0ff6d5bd02b.tar.bz2 |
change the name of macro or data structure to follow DataHubSubclass/MemSubclass/CacheSubClass/ProcSubclass specs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8812 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/CpuRuntimeDxe')
-rw-r--r-- | UnixPkg/CpuRuntimeDxe/Cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnixPkg/CpuRuntimeDxe/Cpu.c b/UnixPkg/CpuRuntimeDxe/Cpu.c index 689a50a..45b217a 100644 --- a/UnixPkg/CpuRuntimeDxe/Cpu.c +++ b/UnixPkg/CpuRuntimeDxe/Cpu.c @@ -461,7 +461,7 @@ Returns: CopyMem (RecordBuffer.Raw, &mCpuDataRecordHeader, HeaderSize);
- RecordBuffer.DataRecord->DataRecordHeader.RecordType = ProcessorVersionRecordType;
+ RecordBuffer.DataRecord->DataRecordHeader.RecordType = EFI_PROCESSOR_VERSION_RECORD_NUMBER;
RecordBuffer.DataRecord->VariableRecord.ProcessorVersion = STRING_TOKEN (STR_INTEL_GENUINE_PROCESSOR);
TotalSize = HeaderSize + sizeof (EFI_PROCESSOR_VERSION_DATA);
@@ -477,7 +477,7 @@ Returns: //
// Store CPU frequency data record to data hub - It's an emulator so make up a value
//
- RecordBuffer.DataRecord->DataRecordHeader.RecordType = ProcessorCoreFrequencyRecordType;
+ RecordBuffer.DataRecord->DataRecordHeader.RecordType = EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER;
RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Value = 1234;
RecordBuffer.DataRecord->VariableRecord.ProcessorCoreFrequency.Exponent = 6;
TotalSize = HeaderSize + sizeof (EFI_PROCESSOR_CORE_FREQUENCY_DATA);
|