TianoCore EDK2 master
SecPlatformInformation.h
Go to the documentation of this file.
1
17#ifndef __SEC_PLATFORM_INFORMATION_PPI_H__
18#define __SEC_PLATFORM_INFORMATION_PPI_H__
19
20#include <Pi/PiPeiCis.h>
21
22#define EFI_SEC_PLATFORM_INFORMATION_GUID \
23 { \
24 0x6f8c2b35, 0xfef4, 0x448d, {0x82, 0x56, 0xe1, 0x1b, 0x19, 0xd6, 0x10, 0x77 } \
25 }
26
28
34typedef union {
35 struct {
39 UINT32 Status : 2;
45 UINT32 Tested : 1;
49 UINT32 Reserved1 : 13;
77 UINT32 Reserved2 : 12;
78 } Bits;
79 UINT32 Uint32;
81
82#define NORMAL_BOOT_CALL 0x0
83#define RECOVERY_CHECK_CALL 0x3
84
90typedef struct {
95 UINT8 BootPhase;
99 UINT8 FWStatus;
100 UINT16 Reserved1;
101 UINT32 Reserved2;
105 UINT16 ProcId;
106 UINT16 Reserved3;
107 UINT8 IdMask;
108 UINT8 EidMask;
109 UINT16 Reserved4;
128 UINT64 MemoryBufferRequired;
130
134typedef union {
135 IA32_HANDOFF_STATUS IA32HealthFlags;
136 X64_HANDOFF_STATUS x64HealthFlags;
137 ITANIUM_HANDOFF_STATUS ItaniumHealthFlags;
139
160typedef
163 IN CONST EFI_PEI_SERVICES **PeiServices,
164 IN OUT UINT64 *StructureSize,
165 OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord
166 );
167
174 EFI_SEC_PLATFORM_INFORMATION PlatformInformation;
175};
176
177extern EFI_GUID gEfiSecPlatformInformationPpiGuid;
178
179#endif
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_SEC_PLATFORM_INFORMATION)(IN CONST EFI_PEI_SERVICES **PeiServices, IN OUT UINT64 *StructureSize, OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:28
Definition: Base.h:213