MdePkg: Support IoFifo for Tdx guest in BaseIoLibIntrinsic
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Previously IoFifo functions are in X64/IoFifoSev.nasm which supports both SEV guest and Legacy guest. IoLibFifo.c is introduced to support SEV/TDX/Legacy guest in one binary. It checks the guest type in runtime and call corresponding functions then. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@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: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
BaseIoLibIntrinsicInternal.h
|
||||
IoHighLevel.c
|
||||
IoLibTdx.h
|
||||
IoLibSev.h
|
||||
|
||||
[Sources.IA32]
|
||||
IoLibGcc.c | GCC
|
||||
@@ -44,6 +45,7 @@
|
||||
IoLibMsc.c | MSFT
|
||||
IoLib.c
|
||||
IoLibInternalTdx.c
|
||||
IoLibFifo.c
|
||||
X64/IoFifoSev.nasm
|
||||
|
||||
[Packages]
|
||||
|
Reference in New Issue
Block a user