summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuMpPei/CpuMpPei.c
diff options
context:
space:
mode:
authorDun Tan <dun.tan@intel.com>2024-01-11 15:49:46 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-01-15 01:46:36 +0000
commitf5b91c60ef24eecf5702e061dd7fd700943405b2 (patch)
tree5abcf479486846d5a8f3d7e6df8004c486345efb /UefiCpuPkg/CpuMpPei/CpuMpPei.c
parentdb59ff333dee07afdd64f9b2efc682d475a9c3ad (diff)
downloadedk2-f5b91c60ef24eecf5702e061dd7fd700943405b2.tar.gz
edk2-f5b91c60ef24eecf5702e061dd7fd700943405b2.tar.bz2
edk2-f5b91c60ef24eecf5702e061dd7fd700943405b2.zip
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>
Diffstat (limited to 'UefiCpuPkg/CpuMpPei/CpuMpPei.c')
-rw-r--r--UefiCpuPkg/CpuMpPei/CpuMpPei.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.c b/UefiCpuPkg/CpuMpPei/CpuMpPei.c
index 93919be94f..2ce4d6ab50 100644
--- a/UefiCpuPkg/CpuMpPei/CpuMpPei.c
+++ b/UefiCpuPkg/CpuMpPei/CpuMpPei.c
@@ -566,7 +566,7 @@ GetProcessorCoreType (
}
/**
- Create gMpInformationHobGuid2.
+ Create gMpInformation2HobGuid.
**/
VOID
BuildMpInformationHob (
@@ -618,13 +618,13 @@ BuildMpInformationHob (
//
// Create MP_INFORMATION2_HOB. when the max HobLength 0xFFF8 is not enough, there
// will be a MP_INFORMATION2_HOB series in the HOB list.
- // In the HOB list, there is a gMpInformationHobGuid2 with 0 value NumberOfProcessors
+ // In the HOB list, there is a gMpInformation2HobGuid with 0 value NumberOfProcessors
// fields to indicate it's the last MP_INFORMATION2_HOB.
//
while (NumberOfProcessorsInHob != 0) {
NumberOfProcessorsInHob = MIN (NumberOfProcessors - ProcessorIndex, MaxProcessorsPerHob);
MpInformation2HobData = BuildGuidHob (
- &gMpInformationHobGuid2,
+ &gMpInformation2HobGuid,
sizeof (MP_INFORMATION2_HOB_DATA) + sizeof (MP_INFORMATION2_ENTRY) * NumberOfProcessorsInHob
);
ASSERT (MpInformation2HobData != NULL);
@@ -744,7 +744,7 @@ InitializeCpuMpWorker (
ASSERT_EFI_ERROR (Status);
//
- // Create gMpInformationHobGuid2
+ // Create gMpInformation2HobGuid
//
BuildMpInformationHob ();