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