diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-02-22 17:01:04 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-26 21:56:21 +0000 |
commit | c8e77454b5ffccfc39f48d5a792bc0aac311b634 (patch) | |
tree | c8413c2472c72b57ac6bfa6aaab3c1d2df952ac1 /MdePkg | |
parent | e2c9d8eba49754b644ed4599331395d777afc379 (diff) | |
download | edk2-c8e77454b5ffccfc39f48d5a792bc0aac311b634.tar.gz edk2-c8e77454b5ffccfc39f48d5a792bc0aac311b634.tar.bz2 edk2-c8e77454b5ffccfc39f48d5a792bc0aac311b634.zip |
UefiCpuPkg/MpInitLib: Add support for multiple HOBs to MpInitLibInitialize
Loop over all MP_HAND_OFF HOBs instead of expecting a single HOB
covering all CPUs in the system.
Add a new FirstMpHandOff variable, which caches the first HOB body for
faster lookups. It is also used to check whenever MP_HAND_OFF HOBs are
present. Using the MpHandOff pointer for that does not work any more
because the variable will be NULL at the end of HOB loops.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Message-Id: <20240222160106.686484-5-kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions