Thanks,
Ray
> -----Original Message-----
> From: Gerd Hoffmann <[email protected]>
> Sent: Friday, February 23, 2024 12:01 AM
> To: [email protected]
> Cc: Laszlo Ersek <[email protected]>; Ni, Ray <[email protected]>; Kumar,
> Rahul R <[email protected]>; Oliver Steffen <[email protected]>;
> Gerd Hoffmann <[email protected]>
> 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 <[email protected]>
> ---
> 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 <[email protected]>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115863): https://edk2.groups.io/g/devel/message/115863
Mute This Topic: https://groups.io/mt/104510911/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-