summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/UefiCpuPkg.dsc
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-07-22 10:12:51 +0800
committerJeff Fan <jeff.fan@intel.com>2016-08-17 20:06:30 +0800
commita1a4c7a467d12db1c4652fda504ada4f368c1e26 (patch)
treeda8b798c81a1b741c1f8cc7eafe86c368149aad3 /UefiCpuPkg/UefiCpuPkg.dsc
parentee78341e266d5442670c373c8ba33c75b5b04d3f (diff)
downloadedk2-a1a4c7a467d12db1c4652fda504ada4f368c1e26.tar.gz
edk2-a1a4c7a467d12db1c4652fda504ada4f368c1e26.tar.bz2
edk2-a1a4c7a467d12db1c4652fda504ada4f368c1e26.zip
UefiCpuPkg/CpuMpPei: Consume MpInitLib to produce CPU MP PPI services
Consume MP initialize library to produce CPU MP PPI, it could simply the code. Add STATIC for some internal functions to avoid build issue with the same functions name in PeiMpInit instance. They will be removed by the next patch. v4: 1. Update BistData type from UINT32 to EFI_HEALTH_FLAGS. v3: 1. Rename MpInitLibSwitchBSP to MpInitLibSwitchBSP 2. Add PeiMpInitLib.inf in DSC file Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'UefiCpuPkg/UefiCpuPkg.dsc')
-rw-r--r--UefiCpuPkg/UefiCpuPkg.dsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc
index 602ab6886a..467aa869a5 100644
--- a/UefiCpuPkg/UefiCpuPkg.dsc
+++ b/UefiCpuPkg/UefiCpuPkg.dsc
@@ -70,6 +70,7 @@
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
+ MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf