audk/OvmfPkg/Include
Min Xu 4fe2678411 OvmfPkg: Add PeilessStartupLib
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429

PeilessStarupLib provides a function (PeilessStartup) which brings
up both Legacy and Tdx guest from SEC phase to DXE phase. PEI phase
is skipped so that the attack surfaces are reduced as much as possible.

PeilessStartup() does below tasks:
1. Contruct the FW hoblist.
   Since PEI is skipped, we must find a memory region which is the
   largest one below 4GB. Then this memory region will be used as the
   firmware hoblist.
2. Initialize the platform.
3. Build various Hobs, such as SecFv Hob, DxeFv Hob, Stack Hob, etc.
4. At last DXE Core is located / loaded and transfer control to it.

Cc: Michael D Kinney <michael.d.kinney@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>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
2022-04-02 10:09:47 +00:00
..
Guid OvmfPkg/AmdSev: expose the SNP reserved pages through configuration table 2021-12-09 06:28:10 +00:00
IndustryStandard OvmfPkg: Add IntelTdx.h in OvmfPkg/Include/IndustryStandard 2022-04-02 08:15:12 +00:00
Library OvmfPkg: Add PeilessStartupLib 2022-04-02 10:09:47 +00:00
Pcd OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Protocol OvmfPkg: Update AcpiPlatformDxe to alter MADT table 2022-04-02 08:15:12 +00:00
Register OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
OvmfPlatforms.h OvmfPkg: Handle Cloud Hypervisor host bridge 2021-12-11 14:26:05 +00:00
TdxCommondefs.inc OvmfPkg: Update Sec to support Tdx 2022-04-02 08:15:12 +00:00
WorkArea.h OvmfPkg: Add TdxWorkArea definition 2022-04-02 10:09:47 +00:00