diff options
author | Dun Tan <dun.tan@intel.com> | 2023-11-24 15:53:33 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-12 01:37:41 +0000 |
commit | e10f1f5a043a402fb2daf2091b8f725fd2951743 (patch) | |
tree | ba8c9dff39b0d48e523fb476cf15132b0b04aa02 /UefiCpuPkg/CpuMpPei/CpuMpPei.inf | |
parent | c02eed8e5a5497f26f2163d44c2239f5549f9fb0 (diff) | |
download | edk2-e10f1f5a043a402fb2daf2091b8f725fd2951743.tar.gz edk2-e10f1f5a043a402fb2daf2091b8f725fd2951743.tar.bz2 edk2-e10f1f5a043a402fb2daf2091b8f725fd2951743.zip |
UefiCpuPkg: Build MpInfo2HOB in CpuMpPei
Build MpInfo2HOB in CpuMpPei module so that later
PiSmmCpuDxe or other StandaloneMm module can consume
the HOB.
Since there might be more one gMpInformationHobGuid2
in HOB list, CpuMpPei create a gMpInformationHobGuid2
with 0 value NumberOfProcessors field in the end of the
process to indicate it's the last MP_INFORMATION2_HOB.
Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'UefiCpuPkg/CpuMpPei/CpuMpPei.inf')
-rw-r--r-- | UefiCpuPkg/CpuMpPei/CpuMpPei.inf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.inf b/UefiCpuPkg/CpuMpPei/CpuMpPei.inf index 865be5627e..812fa179bd 100644 --- a/UefiCpuPkg/CpuMpPei/CpuMpPei.inf +++ b/UefiCpuPkg/CpuMpPei/CpuMpPei.inf @@ -1,7 +1,7 @@ ## @file
# CPU driver installs CPU PI Multi-processor PPI.
#
-# Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2015 - 2023, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -50,6 +50,7 @@ [Guids]
gEdkiiMigratedFvInfoGuid ## SOMETIMES_CONSUMES ## HOB
+ gMpInformationHobGuid2 ## PRODUCES
[Ppis]
gEfiPeiMpServicesPpiGuid ## PRODUCES
|