UefiCpuPkg: change name of gMpInformationHobGuid2
Change name of gMpInformationHobGuid2 to gMpInformation2HobGuid. It's to align with the file name MpInformation2.h and the structure name MP_INFORMATION2_HOB_DATA. Signed-off-by: Dun Tan <dun.tan@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
@@ -776,7 +776,7 @@ GetMpInformation (
|
||||
HobIndex = 0;
|
||||
HobCount = 0;
|
||||
|
||||
FirstMpInfo2Hob = GetFirstGuidHob (&gMpInformationHobGuid2);
|
||||
FirstMpInfo2Hob = GetFirstGuidHob (&gMpInformation2HobGuid);
|
||||
ASSERT (FirstMpInfo2Hob != NULL);
|
||||
GuidHob = FirstMpInfo2Hob;
|
||||
while (GuidHob != NULL) {
|
||||
@@ -792,7 +792,7 @@ GetMpInformation (
|
||||
|
||||
HobCount++;
|
||||
*NumberOfCpus += MpInformation2HobData->NumberOfProcessors;
|
||||
GuidHob = GetNextGuidHob (&gMpInformationHobGuid2, GET_NEXT_HOB (GuidHob));
|
||||
GuidHob = GetNextGuidHob (&gMpInformation2HobGuid, GET_NEXT_HOB (GuidHob));
|
||||
}
|
||||
|
||||
ASSERT (*NumberOfCpus <= PcdGet32 (PcdCpuMaxLogicalProcessorNumber));
|
||||
@@ -820,7 +820,7 @@ GetMpInformation (
|
||||
GuidHob = FirstMpInfo2Hob;
|
||||
while (HobIndex < HobCount) {
|
||||
MpInfo2Hobs[HobIndex++] = GET_GUID_HOB_DATA (GuidHob);
|
||||
GuidHob = GetNextGuidHob (&gMpInformationHobGuid2, GET_NEXT_HOB (GuidHob));
|
||||
GuidHob = GetNextGuidHob (&gMpInformation2HobGuid, GET_NEXT_HOB (GuidHob));
|
||||
}
|
||||
|
||||
ProcessorInfo = (EFI_PROCESSOR_INFORMATION *)AllocatePool (sizeof (EFI_PROCESSOR_INFORMATION) * (*MaxNumberOfCpus));
|
||||
|
Reference in New Issue
Block a user