]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/TdxDxe: Install MpInitLibDepLib protocols
authorMin M Xu <min.m.xu@intel.com>
Sat, 7 May 2022 01:36:22 +0000 (09:36 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 11 May 2022 08:40:53 +0000 (08:40 +0000)
commit73d6d41de0ceeadb49b05ba75ca39dea84ae799d
treeb2b41f560d6cb6cc4a1531a8e329d0c5c0585cdf
parentb63a49e056ea2ea64ff89d81da9583534f5e5117
OvmfPkg/TdxDxe: Install MpInitLibDepLib protocols

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3918

In Td guest CpuDxe driver uses the MpInitLibUp, the other guest type
use the MpInitLib. So we install different Protocols according to
the current working guest type.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
OvmfPkg/TdxDxe/TdxDxe.c
OvmfPkg/TdxDxe/TdxDxe.inf