RepublishSecPpi.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /** @file
  2. This file declares Sec Platform Information PPI.
  3. This service is the primary handoff state into the PEI Foundation.
  4. The Security (SEC) component creates the early, transitory memory
  5. environment and also encapsulates knowledge of at least the
  6. location of the Boot Firmware Volume (BFV).
  7. Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  8. SPDX-License-Identifier: BSD-2-Clause-Patent
  9. @par Revision Reference:
  10. This PPI is introduced in PI Version 1.0.
  11. **/
  12. #ifndef __REPUBLISH_SEC_PPI_H__
  13. #define __REPUBLISH_SEC_PPI_H__
  14. #include <Pi/PiPeiCis.h>
  15. #define REPUBLISH_SEC_PPI_PPI_GUID \
  16. { \
  17. 0x27a71b1e, 0x73ee, 0x43d6, { 0xac, 0xe3, 0x52, 0x1a, 0x2d, 0xc5, 0xd0, 0x92 } \
  18. }
  19. typedef struct _REPUBLISH_SEC_PPI_PPI REPUBLISH_SEC_PPI_PPI;
  20. /**
  21. This interface re-installs PPIs installed in SecCore from a post-memory PEIM.
  22. This is to allow a platform that may not support relocation of SecCore to update the PPI instance to a post-memory
  23. copy from a PEIM that has been shadowed to permanent memory.
  24. @retval EFI_SUCCESS The SecCore PPIs were re-installed successfully.
  25. @retval Others An error occurred re-installing the SecCore PPIs.
  26. **/
  27. typedef
  28. EFI_STATUS
  29. (EFIAPI *REPUBLISH_SEC_PPI_REPUBLISH_SEC_PPIS)(
  30. VOID
  31. );
  32. ///
  33. /// Republish SEC PPIs
  34. ///
  35. struct _REPUBLISH_SEC_PPI_PPI {
  36. REPUBLISH_SEC_PPI_REPUBLISH_SEC_PPIS RepublishSecPpis;
  37. };
  38. extern EFI_GUID gRepublishSecPpiPpiGuid;
  39. #endif