mirror of https://github.com/acidanthera/audk.git
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@8877 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f9289719f8
commit
0995a97400
|
@ -746,7 +746,7 @@ UpdateFrontPageStrings (
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CompareGuid (&Record->DataRecordGuid, &gEfiProcessorSubClassGuid) &&
|
if (CompareGuid (&Record->DataRecordGuid, &gEfiProcessorSubClassGuid) &&
|
||||||
(DataHeader->RecordType == EFI_PROCESSOR_VERSION_RECORD_NUMBER)
|
(DataHeader->RecordType == ProcessorVersionRecordType)
|
||||||
) {
|
) {
|
||||||
ProcessorVersion = (EFI_PROCESSOR_VERSION_DATA *) (DataHeader + 1);
|
ProcessorVersion = (EFI_PROCESSOR_VERSION_DATA *) (DataHeader + 1);
|
||||||
GetProducerString (&Record->ProducerName, *ProcessorVersion, &NewString);
|
GetProducerString (&Record->ProducerName, *ProcessorVersion, &NewString);
|
||||||
|
@ -757,7 +757,7 @@ UpdateFrontPageStrings (
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CompareGuid (&Record->DataRecordGuid, &gEfiProcessorSubClassGuid) &&
|
if (CompareGuid (&Record->DataRecordGuid, &gEfiProcessorSubClassGuid) &&
|
||||||
(DataHeader->RecordType == EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER)
|
(DataHeader->RecordType == ProcessorCoreFrequencyRecordType)
|
||||||
) {
|
) {
|
||||||
ProcessorFrequency = (EFI_PROCESSOR_CORE_FREQUENCY_DATA *) (DataHeader + 1);
|
ProcessorFrequency = (EFI_PROCESSOR_CORE_FREQUENCY_DATA *) (DataHeader + 1);
|
||||||
ConvertProcessorToString (ProcessorFrequency, &NewString);
|
ConvertProcessorToString (ProcessorFrequency, &NewString);
|
||||||
|
|
Loading…
Reference in New Issue