mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
Fix a building error due to check-in r8808
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8815 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ee0b896904
commit
5b3ea840c4
@ -746,7 +746,7 @@ UpdateFrontPageStrings (
|
||||
}
|
||||
|
||||
if (CompareGuid (&Record->DataRecordGuid, &gEfiProcessorSubClassGuid) &&
|
||||
(DataHeader->RecordType == ProcessorVersionRecordType)
|
||||
(DataHeader->RecordType == EFI_PROCESSOR_VERSION_RECORD_NUMBER)
|
||||
) {
|
||||
ProcessorVersion = (EFI_PROCESSOR_VERSION_DATA *) (DataHeader + 1);
|
||||
GetProducerString (&Record->ProducerName, *ProcessorVersion, &NewString);
|
||||
@ -757,7 +757,7 @@ UpdateFrontPageStrings (
|
||||
}
|
||||
|
||||
if (CompareGuid (&Record->DataRecordGuid, &gEfiProcessorSubClassGuid) &&
|
||||
(DataHeader->RecordType == ProcessorCoreFrequencyRecordType)
|
||||
(DataHeader->RecordType == EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER)
|
||||
) {
|
||||
ProcessorFrequency = (EFI_PROCESSOR_CORE_FREQUENCY_DATA *) (DataHeader + 1);
|
||||
ConvertProcessorToString (ProcessorFrequency, &NewString);
|
||||
|
Loading…
x
Reference in New Issue
Block a user