summaryrefslogtreecommitdiff
path: root/SignedCapsulePkg
diff options
context:
space:
mode:
authorMin Xu <min.m.xu@intel.com>2021-10-22 13:48:28 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-04-02 08:15:12 +0000
commitb6b2de8848648bbba1ab74b0752d6650bc03018a (patch)
tree5bc04a9c8f8beaa3f97e282c5039f2dc9fb1b73d /SignedCapsulePkg
parentab9d790901c13b458fab3637efdf53a425bc7502 (diff)
downloadedk2-b6b2de8848648bbba1ab74b0752d6650bc03018a.zip
edk2-b6b2de8848648bbba1ab74b0752d6650bc03018a.tar.gz
edk2-b6b2de8848648bbba1ab74b0752d6650bc03018a.tar.bz2
MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 TDVF access MMIO with TDG.VP.VMCALL to invoke VMM provided emulation functions. If the access to MMIO fails, it fall backs to the direct access. BaseIoLibIntrinsic.inf is the IoLib used by other packages. It will not support I/O in Td guest. But some files are shared between BaseIoLibIntrinsic and BaseIoLibIntrinsicSev (IoLib.c is the example). So IoLibInternalTdxNull.c (which holds the null stub of the Td I/O routines) is included in BaseIoLibIntrinsic.inf. BaseIoLibIntrinsic.inf doesn't import TdxLib so that the Pkgs which include BaseIoLibIntrinsic.inf need not include TdxLib. 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>
Diffstat (limited to 'SignedCapsulePkg')
0 files changed, 0 insertions, 0 deletions