UefiCpuPkg/MpInitLib: Add support for multiple HOBs to SwitchApContext()

Rename the MpHandOff parameter to FirstMpHandOff.  Add loops so the
function inspects all HOBs present in the system.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20240222160106.686484-4-kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann
2024-02-22 17:01:03 +01:00
committed by mergify[bot]
parent b485230462
commit e2c9d8eba4
2 changed files with 24 additions and 13 deletions

View File

@@ -482,7 +482,7 @@ GetWakeupBuffer (
**/
VOID
SwitchApContext (
IN MP_HAND_OFF *MpHandOff
IN CONST MP_HAND_OFF *FirstMpHandOff
);
/**