]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Ppi/Security/Security.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Ppi / Security / Security.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
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 Security.h\r
15\r
16Abstract:\r
17\r
18 Security Architectural PPI as defined in Tiano\r
19\r
20--*/\r
21\r
22#ifndef _SECURITY_PPI_H_\r
23#define _SECURITY_PPI_H_\r
24\r
25#define PEI_SECURITY_PPI_GUID \\r
26 { \\r
27 0x1388066e, 0x3a57, 0x4efa, 0x98, 0xf3, 0xc1, 0x2f, 0x3a, 0x95, 0x8a, 0x29 \\r
28 }\r
29\r
30EFI_FORWARD_DECLARATION (PEI_SECURITY_PPI);\r
31\r
32typedef\r
33EFI_STATUS\r
34(EFIAPI *PEI_SECURITY_AUTHENTICATION_STATE) (\r
35 IN EFI_PEI_SERVICES **PeiServices,\r
36 IN PEI_SECURITY_PPI * This,\r
37 IN UINT32 AuthenticationStatus,\r
38 IN EFI_FFS_FILE_HEADER * FfsFileHeader,\r
39 IN OUT BOOLEAN *StartCrisisRecovery\r
40 );\r
41\r
42typedef struct _PEI_SECURITY_PPI {\r
43 PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState;\r
44} PEI_SECURITY_PPI;\r
45\r
46extern EFI_GUID gPeiSecurityPpiGuid;\r
47\r
48#endif\r