On 2/23/24 03:16, Ni, Ray wrote: > > > Thanks, > Ray >> -----Original Message----- >> From: Gerd Hoffmann <kra...@redhat.com> >> Sent: Friday, February 23, 2024 12:01 AM >> To: devel@edk2.groups.io >> Cc: Laszlo Ersek <ler...@redhat.com>; Ni, Ray <ray...@intel.com>; Kumar, >> Rahul R <rahul.r.ku...@intel.com>; Oliver Steffen <ostef...@redhat.com>; >> Gerd Hoffmann <kra...@redhat.com> >> Subject: [PATCH v3 5/6] UefiCpuPkg/MpInitLib: Add support for multiple >> HOBs to SaveCpuMpData() >> >> Add support for splitting Hand-Off data into multiple HOBs. >> This is required for VMs with thousands of CPUs. >> >> Signed-off-by: Gerd Hoffmann <kra...@redhat.com> >> --- >> UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 44 +++++++++++++++---------- >> 1 file changed, 27 insertions(+), 17 deletions(-) >> >> diff --git a/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c >> b/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c >> index f80e00edcff3..00d48c2ab531 100644 >> --- a/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c >> +++ b/UefiCpuPkg/Library/MpInitLib/PeiMpLib.c >> @@ -126,35 +126,45 @@ SaveCpuMpData ( >> IN CPU_MP_DATA *CpuMpData >> ) >> { >> + UINT32 MaxCpusPerHob, CpusInHob; >> UINT64 Data64; >> - UINTN Index; >> + UINT32 Index, HobBase; > > Can you please split the local variable declarations in multiple lines? > With that, Reviewed-by: Ray Ni <ray...@intel.com>
I'll edit the patch just before merging the series. Laszlo > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115963): https://edk2.groups.io/g/devel/message/115963 Mute This Topic: https://groups.io/mt/104510911/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-