]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Ppi/SecPlatformInformation.h
Rename EFI_PEI_PCI_CFG_PPI_IO to EFI_PEI_PCI_CFG2_PPI_IO to avoid collision with...
[mirror_edk2.git] / MdePkg / Include / Ppi / SecPlatformInformation.h
CommitLineData
5879b875 1/** @file\r
2 This file declares Sec Platform Information PPI.\r
3\r
4 Copyright (c) 2006 - 2007, Intel Corporation \r
5 All rights reserved. This program and the accompanying materials \r
6 are licensed and made available under the terms and conditions of the BSD License \r
7 which accompanies this distribution. The full text of the license may be found at \r
8 http://opensource.org/licenses/bsd-license.php \r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
5879b875 13 @par Revision Reference:\r
14 This PPI is defined in PI.\r
15 Version 1.00.\r
16\r
17**/\r
18\r
19#ifndef __SEC_PLATFORM_INFORMATION_PPI_H__\r
20#define __SEC_PLATFORM_INFORMATION_PPI_H__\r
21\r
22#define EFI_SEC_PLATFORM_INFORMATION_GUID \\r
23 { \\r
24 0x6f8c2b35, 0xfef4, 0x448d, {0x82, 0x56, 0xe1, 0x1b, 0x19, 0xd6, 0x10, 0x77 } \\r
25 }\r
26\r
27typedef struct _EFI_SEC_PLATFORM_INFORMATION_PPI EFI_SEC_PLATFORM_INFORMATION_PPI;\r
28\r
29\r
30///\r
31/// EFI_HEALTH_FLAGS\r
32///\r
33typedef union {\r
34 struct {\r
35 UINT32 Status : 2;\r
36 UINT32 Tested : 1;\r
37 UINT32 Reserved1 :13;\r
38 UINT32 VirtualMemoryUnavailable : 1;\r
39 UINT32 Ia32ExecutionUnavailable : 1;\r
40 UINT32 FloatingPointUnavailable : 1;\r
41 UINT32 MiscFeaturesUnavailable : 1;\r
42 UINT32 Reserved2 :12;\r
43 } Bits;\r
44 UINT32 Uint32;\r
45} EFI_HEALTH_FLAGS;\r
46\r
47typedef struct {\r
48 EFI_HEALTH_FLAGS HealthFlags;\r
49} EFI_SEC_PLATFORM_INFORMATION_RECORD;\r
50\r
51\r
52\r
53/**\r
54 This interface conveys state information out of the Security (SEC) phase into PEI.\r
55\r
56 @param PeiServices Pointer to the PEI Services Table.\r
57 @param StructureSize Pointer to the variable describing size of the input buffer.\r
58 @param PlatformInformationRecord Pointer to the EFI_SEC_PLATFORM_INFORMATION_RECORD.\r
59\r
60 @retval EFI_SUCCESS The data was successfully returned.\r
61 @retval EFI_BUFFER_TOO_SMALL The buffer was too small.\r
62\r
63**/\r
64typedef\r
65EFI_STATUS\r
66(EFIAPI *EFI_SEC_PLATFORM_INFORMATION) (\r
00edb218
A
67 IN CONST EFI_PEI_SERVICES **PeiServices,\r
68 IN OUT UINT64 *StructureSize,\r
69 OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord\r
5879b875 70);\r
71\r
72\r
73/**\r
00edb218 74 Ppi Description:\r
5879b875 75\r
76 @param Name\r
77\r
78**/\r
79struct _EFI_SEC_PLATFORM_INFORMATION_PPI {\r
80 EFI_SEC_PLATFORM_INFORMATION PlatformInformation;\r
81};\r
82\r
83\r
84extern EFI_GUID gEfiSecPlatformInformationPpiGuid;\r
85\r
86#endif\r