]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/IntelTdx: Add Sec to bring up both Legacy and Tdx guest
authorMin Xu <min.m.xu@intel.com>
Sat, 18 Dec 2021 13:36:08 +0000 (21:36 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 2 Apr 2022 10:09:47 +0000 (10:09 +0000)
commit1f29de4d2079876d66582886a6cd7335c98d527e
treeefc3bac2475272ce6a2bfdc178a397433a6649ae
parent4fe26784112328fb9dff6fe85f973845d5d7d49e
OvmfPkg/IntelTdx: Add Sec to bring up both Legacy and Tdx guest

RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429

OvmfPkg/IntelTdx/Sec is a simplied version of OvmfPkg/Sec. There
are below differences between these 2 Sec
 - IntelTdx/Sec only supports Legacy guest and Tdx guest in X64.
 - IntelTdx/Sec calls PeilessStartup () to jump from SEC to DXE directly.
 - IntelTdx/Sec uses MemoryAllocationLib / HobLib / PrePiLib in
   EmbeddedPkg.

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>
OvmfPkg/IntelTdx/Sec/SecMain.c [new file with mode: 0644]
OvmfPkg/IntelTdx/Sec/SecMain.inf [new file with mode: 0644]
OvmfPkg/IntelTdx/Sec/X64/SecEntry.nasm [new file with mode: 0644]