ConfidentialComputingSecret.h 850 B

12345678910111213141516171819202122232425262728
  1. /** @file
  2. UEFI Configuration Table for exposing the SEV Launch Secret location to UEFI
  3. applications (boot loaders).
  4. Copyright (C) 2020 James Bottomley, IBM Corporation.
  5. SPDX-License-Identifier: BSD-2-Clause-Patent
  6. **/
  7. #ifndef CONFIDENTIAL_COMPUTING_SECRET_H_
  8. #define CONFIDENTIAL_COMPUTING_SECRET_H_
  9. #include <Uefi/UefiBaseType.h>
  10. #define CONFIDENTIAL_COMPUTING_SECRET_GUID \
  11. { 0xadf956ad, \
  12. 0xe98c, \
  13. 0x484c, \
  14. { 0xae, 0x11, 0xb5, 0x1c, 0x7d, 0x33, 0x64, 0x47 }, \
  15. }
  16. typedef struct {
  17. UINT64 Base;
  18. UINT64 Size;
  19. } CONFIDENTIAL_COMPUTING_SECRET_LOCATION;
  20. extern EFI_GUID gConfidentialComputingSecretGuid;
  21. #endif // SEV_LAUNCH_SECRET_H_