]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | SecPlatformInformation.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Sec Platform Information PPI as defined in Tiano\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _PEI_SEC_PLATFORM_INFORMATION_PPI_H\r | |
23 | #define _PEI_SEC_PLATFORM_INFORMATION_PPI_H\r | |
24 | \r | |
25 | #define EFI_SEC_PLATFORM_INFORMATION_GUID \\r | |
26 | { \\r | |
7ccf38a3 | 27 | 0x6f8c2b35, 0xfef4, 0x448d, {0x82, 0x56, 0xe1, 0x1b, 0x19, 0xd6, 0x10, 0x77} \\r |
3eb9473e | 28 | }\r |
29 | \r | |
30 | EFI_FORWARD_DECLARATION (EFI_SEC_PLATFORM_INFORMATION_PPI);\r | |
31 | \r | |
32 | extern EFI_GUID gEfiSecPlatformInformationPpiGuid;\r | |
33 | \r | |
34 | typedef union {\r | |
35 | struct {\r | |
36 | UINT32 Status : 2;\r | |
37 | UINT32 Tested : 1;\r | |
38 | UINT32 Reserved1 :13;\r | |
39 | UINT32 VirtualMemoryUnavailable : 1;\r | |
40 | UINT32 Ia32ExecutionUnavailable : 1;\r | |
41 | UINT32 FloatingPointUnavailable : 1;\r | |
42 | UINT32 MiscFeaturesUnavailable : 1;\r | |
43 | UINT32 Reserved2 :12;\r | |
44 | } Bits;\r | |
45 | UINT32 Uint32;\r | |
46 | } EFI_HEALTH_FLAGS;\r | |
47 | \r | |
48 | typedef struct {\r | |
49 | EFI_HEALTH_FLAGS HealthFlags;\r | |
50 | } SEC_PLATFORM_INFORMATION_RECORD;\r | |
51 | \r | |
52 | typedef struct {\r | |
53 | UINTN BootPhase; // entry r20 value\r | |
54 | UINTN UniqueId; // PAL arbitration ID\r | |
55 | UINTN HealthStat; // Health Status\r | |
56 | UINTN PALRetAddress; // return address to PAL\r | |
57 | } IPF_HANDOFF_STATUS;\r | |
58 | \r | |
59 | typedef\r | |
60 | EFI_STATUS\r | |
61 | (EFIAPI *SEC_PLATFORM_INFORMATION) (\r | |
62 | IN EFI_PEI_SERVICES **PeiServices,\r | |
63 | IN OUT UINT64 *StructureSize,\r | |
64 | IN OUT SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord\r | |
65 | );\r | |
66 | \r | |
8cdb2112 | 67 | struct _EFI_SEC_PLATFORM_INFORMATION_PPI {\r |
3eb9473e | 68 | SEC_PLATFORM_INFORMATION PlatformInformation;\r |
8cdb2112 | 69 | };\r |
3eb9473e | 70 | \r |
71 | #endif\r |