audk/MdePkg/Library/BaseIoLibIntrinsic
Min Xu 3571fc906f MdePkg: Support IoRead/IoWrite for Tdx guest in BaseIoLibIntrinsic
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429

This commit supports IoRead/IoWrite for SEV/TDX/Legacy guest in one
binary. It checks the guest type in runtime and then call corresponding
functions.

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>
2022-04-02 08:15:12 +00:00
..
AArch64 MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Arm MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Ia32 MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
X64 MdePkg: Support IoFifo for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
BaseIoLibIntrinsic.inf MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
BaseIoLibIntrinsic.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
BaseIoLibIntrinsicArmVirt.inf MdePkg/IoLib: Filter/trace port IO/MMIO access 2021-04-08 02:02:57 +00:00
BaseIoLibIntrinsicArmVirt.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
BaseIoLibIntrinsicInternal.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseIoLibIntrinsicSev.inf MdePkg: Support IoFifo for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoHighLevel.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IoLib.c MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoLibArmVirt.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IoLibEbc.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IoLibFifo.c MdePkg: Support IoFifo for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoLibGcc.c MdePkg: Support IoRead/IoWrite for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoLibInternalTdx.c MdePkg: Add helper functions for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoLibInternalTdxNull.c MdePkg: Add helper functions for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoLibMmioBuffer.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IoLibMsc.c MdePkg: Support IoRead/IoWrite for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoLibNoIo.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IoLibSev.h MdePkg: Support IoFifo for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00
IoLibTdx.h MdePkg: Add helper functions for Tdx guest in BaseIoLibIntrinsic 2022-04-02 08:15:12 +00:00