]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Include/Guid/SevLaunchSecret.h
OvmfPkg/AmdSev: Expose the Sev Secret area using a configuration table
[mirror_edk2.git] / OvmfPkg / Include / Guid / SevLaunchSecret.h
CommitLineData
01726b6d
JB
1 /** @file\r
2 UEFI Configuration Table for exposing the SEV Launch Secret location to UEFI\r
3 applications (boot loaders).\r
4\r
5 Copyright (C) 2020 James Bottomley, IBM Corporation.\r
6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
7 **/\r
8\r
9#ifndef SEV_LAUNCH_SECRET_H_\r
10#define SEV_LAUNCH_SECRET_H_\r
11\r
12#include <Uefi/UefiBaseType.h>\r
13\r
14#define SEV_LAUNCH_SECRET_GUID \\r
15 { 0xadf956ad, \\r
16 0xe98c, \\r
17 0x484c, \\r
18 { 0xae, 0x11, 0xb5, 0x1c, 0x7d, 0x33, 0x64, 0x47 }, \\r
19 }\r
20\r
21typedef struct {\r
22 UINT32 Base;\r
23 UINT32 Size;\r
24} SEV_LAUNCH_SECRET_LOCATION;\r
25\r
26extern EFI_GUID gSevLaunchSecretGuid;\r
27\r
28#endif // SEV_LAUNCH_SECRET_H_\r