From: eric_tian Date: Wed, 8 Jul 2009 07:34:22 +0000 (+0000) Subject: change the name of macro or data structure to follow DataHubSubclass/MemSubclass... X-Git-Tag: edk2-stable201903~17495 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=4b703d39a96a73df5df4a0dfca58e1307ee6fc21 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@8813 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Nt32Pkg/CpuRuntimeDxe/Cpu.c b/Nt32Pkg/CpuRuntimeDxe/Cpu.c index f0a138d96d..705652be45 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 = ProcessorVersionRecordType; + RecordBuffer.DataRecord->DataRecordHeader.RecordType = EFI_PROCESSOR_VERSION_RECORD_NUMBER; 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 = 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);