]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/MdePkg.dsc
MdePkg: Add CcProbeLibNull
authorMin Xu <min.m.xu@intel.com>
Tue, 19 Apr 2022 00:26:24 +0000 (08:26 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 19 Apr 2022 01:26:08 +0000 (01:26 +0000)
commit74a3eb975da7059b825c84bed759d2845de8de68
tree42095c4fcaaa3a8debd230f8566a25a8befae362
parentd020ac55b6968d3bcaf631307152b51738286583
MdePkg: Add CcProbeLibNull

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902

CcProbeLib is used to probe the Confidential Computing guest type.
This library is designed to run on SEC / PEI / DXE phases. A null
instance of the library always returns CCGuestTypeNonEncrypted.
A platform specific CcProbeLib will be implemented, for example,
in OvmfPkg.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
MdePkg/Include/Library/CcProbeLib.h [new file with mode: 0644]
MdePkg/Library/CcProbeLibNull/CcProbeLibNull.c [new file with mode: 0644]
MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf [new file with mode: 0644]
MdePkg/MdePkg.dec
MdePkg/MdePkg.dsc