]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Ppi/SectionExtraction/SectionExtraction.h
MdePkg: introduce standalone MM entry point library implementation
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / SectionExtraction / SectionExtraction.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 SectionExtraction.h\r
15\r
16Abstract:\r
17\r
18 Section Extraction PPI as defined in Tiano\r
19\r
20--*/\r
21\r
22#ifndef _SECTION_EXTRACTION_PPI_H_\r
23#define _SECTION_EXTRACTION_PPI_H_\r
24\r
25#define EFI_PEI_SECTION_EXTRACTION_PPI_GUID \\r
26 { \\r
7ccf38a3 27 0x4F89E208, 0xE144, 0x4804, {0x9E, 0xC8, 0x0F, 0x89, 0x4F, 0x7E, 0x36, 0xD7} \\r
3eb9473e 28 }\r
29\r
30EFI_FORWARD_DECLARATION (EFI_PEI_SECTION_EXTRACTION_PPI);\r
31\r
32typedef\r
33EFI_STATUS\r
34(EFIAPI *EFI_PEI_GET_SECTION) (\r
35 IN EFI_PEI_SERVICES **PeiServices,\r
36 IN EFI_PEI_SECTION_EXTRACTION_PPI * This,\r
37 IN EFI_SECTION_TYPE * SectionType,\r
38 IN EFI_GUID * SectionDefinitionGuid, OPTIONAL\r
39 IN UINTN SectionInstance,\r
40 IN VOID **Buffer,\r
41 IN OUT UINT32 *BufferSize,\r
42 OUT UINT32 *AuthenticationStatus\r
43 );\r
44\r
45//\r
46// Bit values for AuthenticationStatus\r
47//\r
48#define EFI_PEI_AUTH_STATUS_PLATFORM_OVERRIDE 0x01\r
49#define EFI_PEI_AUTH_STATUS_IMAGE_SIGNED 0x02\r
50#define EFI_PEI_AUTH_STATUS_NOT_TESTED 0x04\r
51#define EFI_PEI_AUTH_STATUS_TEST_FAILED 0x08\r
52\r
8cdb2112 53struct _EFI_PEI_SECTION_EXTRACTION_PPI {\r
3eb9473e 54 EFI_PEI_GET_SECTION PeiGetSection;\r
8cdb2112 55};\r
3eb9473e 56\r
57extern EFI_GUID gPeiSectionExtractionPpiGuid;\r
58\r
59#endif\r