mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +02:00
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
This commit is contained in:
parent
9e8c32c6a4
commit
59d2a62262
@ -84,7 +84,7 @@ InstallProcessorDataHub (
|
|||||||
//
|
//
|
||||||
// Record Type 1
|
// 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.Value = SmbiosTable.Type4->CurrentSpeed;
|
||||||
DataRecord.VariableRecord.ProcessorCoreFrequency.Exponent = 6;
|
DataRecord.VariableRecord.ProcessorCoreFrequency.Exponent = 6;
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ InstallProcessorDataHub (
|
|||||||
}
|
}
|
||||||
gBS->FreePool (UString);
|
gBS->FreePool (UString);
|
||||||
|
|
||||||
DataRecord.DataRecordHeader.RecordType = ProcessorVersionRecordType;
|
DataRecord.DataRecordHeader.RecordType = EFI_PROCESSOR_VERSION_RECORD_NUMBER;
|
||||||
DataRecord.VariableRecord.ProcessorVersion = Token;
|
DataRecord.VariableRecord.ProcessorVersion = Token;
|
||||||
|
|
||||||
Status = gDataHub->LogData (
|
Status = gDataHub->LogData (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user