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