]>
Commit | Line | Data |
---|---|---|
26210f94 BS |
1 | /** @file\r |
2 | Definitions for Confidential Computing Attribute\r | |
3 | \r | |
4 | Copyright (c) 2021 AMD Inc. All rights reserved.<BR>\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | #ifndef CONFIDENTIAL_COMPUTING_GUEST_ATTR_H_\r | |
10 | #define CONFIDENTIAL_COMPUTING_GUEST_ATTR_H_\r | |
11 | \r | |
12 | typedef enum {\r | |
13 | /* The guest is running with memory encryption disabled. */\r | |
14 | CCAttrNotEncrypted = 0,\r | |
15 | \r | |
16 | /* The guest is running with AMD SEV memory encryption enabled. */\r | |
17 | CCAttrAmdSev = 0x100,\r | |
18 | CCAttrAmdSevEs = 0x101,\r | |
19 | CCAttrAmdSevSnp = 0x102,\r | |
20 | \r | |
21 | /* The guest is running with Intel TDX memory encryption enabled. */\r | |
22 | CCAttrIntelTdx = 0x200,\r | |
23 | } CONFIDENTIAL_COMPUTING_GUEST_ATTR;\r | |
24 | \r | |
25 | #endif\r |