[edk2-devel] [PATCH V4 08/31] MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic

Gerd Hoffmann kraxel at redhat.com
Wed Dec 15 07:02:04 UTC 2021


On Mon, Dec 13, 2021 at 08:56:39PM +0800, Min Xu wrote:
> 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.

Acked-by: Gerd Hoffmann <kraxel at redhat.com>

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84862): https://edk2.groups.io/g/devel/message/84862
Mute This Topic: https://groups.io/mt/87696564/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list