diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2024-02-22 19:01:04 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-27 00:56:21 +0300 |
| commit | c8e77454b5ffccfc39f48d5a792bc0aac311b634 (patch) | |
| tree | c8413c2472c72b57ac6bfa6aaab3c1d2df952ac1 /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
| parent | e2c9d8eba49754b644ed4599331395d777afc379 (diff) | |
| download | edk2-c8e77454b5ffccfc39f48d5a792bc0aac311b634.tar.xz | |
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 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions
