|
@@ -1,5 +1,5 @@
|
|
|
/** @file
|
|
|
-Definitions for Confidential Computing Attribute
|
|
|
+Definitions for Confidential Computing Guest Attributes
|
|
|
|
|
|
Copyright (c) 2021 AMD Inc. All rights reserved.<BR>
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
@@ -9,6 +9,15 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
#ifndef CONFIDENTIAL_COMPUTING_GUEST_ATTR_H_
|
|
|
#define CONFIDENTIAL_COMPUTING_GUEST_ATTR_H_
|
|
|
|
|
|
+//
|
|
|
+// Confidential computing guest type
|
|
|
+//
|
|
|
+typedef enum {
|
|
|
+ CcGuestTypeNonEncrypted = 0,
|
|
|
+ CcGuestTypeAmdSev,
|
|
|
+ CcGuestTypeIntelTdx,
|
|
|
+} CC_GUEST_TYPE;
|
|
|
+
|
|
|
typedef enum {
|
|
|
/* The guest is running with memory encryption disabled. */
|
|
|
CCAttrNotEncrypted = 0,
|