]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/CcProbeLib.h
MdePkg: Add CcProbeLibNull
[mirror_edk2.git] / MdePkg / Include / Library / CcProbeLib.h
diff --git a/MdePkg/Include/Library/CcProbeLib.h b/MdePkg/Include/Library/CcProbeLib.h
new file mode 100644 (file)
index 0000000..2857ddd
--- /dev/null
@@ -0,0 +1,26 @@
+/** @file\r
+\r
+Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef CC_PROBE_LIB_H_\r
+#define CC_PROBE_LIB_H_\r
+\r
+#include <ConfidentialComputingGuestAttr.h>\r
+\r
+/**\r
+  Probe the ConfidentialComputing Guest type. See defition of\r
+  CC_GUEST_TYPE in <ConfidentialComputingGuestAttr.h>.\r
+\r
+  @return The guest type\r
+\r
+**/\r
+UINT8\r
+EFIAPI\r
+CcProbe (\r
+  VOID\r
+  );\r
+\r
+#endif\r