ConfidentialComputingSevSnpBlob.h 966 B

123456789101112131415161718192021222324252627282930313233
  1. /** @file
  2. UEFI Configuration Table for exposing the SEV-SNP launch blob.
  3. Copyright (c) 2021, Advanced Micro Devices Inc. All right reserved.
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef CONFIDENTIAL_COMPUTING_SEV_SNP_BLOB_H_
  7. #define CONFIDENTIAL_COMPUTING_SEV_SNP_BLOB_H_
  8. #include <Uefi/UefiBaseType.h>
  9. #define CONFIDENTIAL_COMPUTING_SNP_BLOB_GUID \
  10. { 0x067b1f5f, \
  11. 0xcf26, \
  12. 0x44c5, \
  13. { 0x85, 0x54, 0x93, 0xd7, 0x77, 0x91, 0x2d, 0x42 }, \
  14. }
  15. typedef struct {
  16. UINT32 Header;
  17. UINT16 Version;
  18. UINT16 Reserved1;
  19. UINT64 SecretsPhysicalAddress;
  20. UINT32 SecretsSize;
  21. UINT64 CpuidPhysicalAddress;
  22. UINT32 CpuidLSize;
  23. } CONFIDENTIAL_COMPUTING_SNP_BLOB_LOCATION;
  24. extern EFI_GUID gConfidentialComputingSevSnpBlobGuid;
  25. #endif