UefiCpuPkg/PiSmmCpuDxeSmm: Handle the NULL gMpInformation2HobGuid
If gMpInformation2HobGuid HOB is NULL, then fall back to an older way of collecting CPU information from the MP services library. Reviewed-by: Ray Ni <ray.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#
|
||||
# Copyright (c) 2009 - 2023, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
|
||||
# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
|
||||
# Copyright (C) 2023 - 2024 Advanced Micro Devices, Inc. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
@@ -114,6 +114,7 @@
|
||||
gEdkiiSmmMemoryAttributeProtocolGuid ## PRODUCES
|
||||
gEfiMmMpProtocolGuid ## PRODUCES
|
||||
gEdkiiSmmCpuRendezvousProtocolGuid ## PRODUCES
|
||||
gEfiMpServiceProtocolGuid ## CONSUMES
|
||||
|
||||
[Guids]
|
||||
gEfiAcpiVariableGuid ## SOMETIMES_CONSUMES ## HOB # it is used for S3 boot.
|
||||
|
Reference in New Issue
Block a user