TianoCore EDK2
master
Loading...
Searching...
No Matches
SmmS3CommunicationInfoGuid.h
Go to the documentation of this file.
1
9
#ifndef PAYLOAD_S3_COMMUNICATION_GUID_H_
10
#define PAYLOAD_S3_COMMUNICATION_GUID_H_
11
12
extern
EFI_GUID
gS3CommunicationGuid;
13
14
#pragma pack(1)
15
16
typedef
struct
{
17
EFI_SMRAM_DESCRIPTOR
CommBuffer;
18
BOOLEAN PldAcpiS3Enable;
19
}
PLD_S3_COMMUNICATION
;
20
28
29
typedef
struct
{
30
UINT32 ApicId;
31
UINT32 SmmBase;
32
}
CPU_SMMBASE
;
33
34
typedef
struct
{
35
UINT8 SwSmiData;
36
UINT8 SwSmiTriggerValue;
37
UINT16 Reserved;
38
UINT32 CpuCount;
39
CPU_SMMBASE
SmmBase[0];
40
}
SMM_S3_INFO
;
41
42
//
43
// Payload would save this structure to S3 communication area in normal boot.
44
// In S3 path, bootloader need restore SMM base and writie IO port 0xB2 with SwSmiTriggerValue
45
// to trigger SMI to let payload to restore S3.
46
//
47
typedef
struct
{
48
EFI_HOB_GUID_TYPE
Header;
49
SMM_S3_INFO
S3Info;
50
}
PLD_TO_BL_SMM_INFO
;
51
52
#pragma pack()
53
54
#endif
CPU_SMMBASE
Definition:
SmmS3CommunicationInfoGuid.h:29
EFI_HOB_GUID_TYPE
Definition:
PiHob.h:339
EFI_MMRAM_DESCRIPTOR
Definition:
PiMultiPhase.h:116
GUID
Definition:
Base.h:213
PLD_S3_COMMUNICATION
Definition:
SmmS3CommunicationInfoGuid.h:16
PLD_TO_BL_SMM_INFO
Definition:
SmmS3CommunicationInfoGuid.h:47
SMM_S3_INFO
Definition:
SmmS3CommunicationInfoGuid.h:34
UefiPayloadPkg
Include
Guid
SmmS3CommunicationInfoGuid.h
Generated on Fri Nov 15 2024 18:01:26 for TianoCore EDK2 by
1.9.6