summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Library/CcProbeLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Library/CcProbeLib.h')
-rw-r--r--MdePkg/Include/Library/CcProbeLib.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/MdePkg/Include/Library/CcProbeLib.h b/MdePkg/Include/Library/CcProbeLib.h
new file mode 100644
index 0000000000..2857dddfb2
--- /dev/null
+++ b/MdePkg/Include/Library/CcProbeLib.h
@@ -0,0 +1,26 @@
+/** @file
+
+Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef CC_PROBE_LIB_H_
+#define CC_PROBE_LIB_H_
+
+#include <ConfidentialComputingGuestAttr.h>
+
+/**
+ Probe the ConfidentialComputing Guest type. See defition of
+ CC_GUEST_TYPE in <ConfidentialComputingGuestAttr.h>.
+
+ @return The guest type
+
+**/
+UINT8
+EFIAPI
+CcProbe (
+ VOID
+ );
+
+#endif