OvmfPkg/PeilessStartupLib: Find NCCFV in non-td guest

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

As described in BZ#4152, NCCFV includes the DXE phase drivers for non-cc
guest. PeilessStartupLib is updated to find NCCFV for non-cc guest.

Cc: Gerd Hoffmann <kraxel@redhat.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>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Min M Xu
2023-01-17 07:31:58 +08:00
committed by mergify[bot]
parent c3f4f5a949
commit 70d1481b55
3 changed files with 140 additions and 1 deletions

View File

@@ -21,6 +21,12 @@ DxeLoadCore (
IN INTN FvInstance
);
EFI_STATUS
EFIAPI
FindDxeNonCc (
IN INTN FvInstance
);
VOID
EFIAPI
TransferHobList (