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
12extern EFI_GUID gS3CommunicationGuid;
13
14#pragma pack(1)
15
16typedef struct {
17 EFI_SMRAM_DESCRIPTOR CommBuffer;
18 BOOLEAN PldAcpiS3Enable;
20
28
29typedef struct {
30 UINT32 ApicId;
31 UINT32 SmmBase;
33
34typedef struct {
35 UINT8 SwSmiData;
36 UINT8 SwSmiTriggerValue;
37 UINT16 Reserved;
38 UINT32 CpuCount;
39 CPU_SMMBASE SmmBase[0];
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//
47typedef struct {
48 EFI_HOB_GUID_TYPE Header;
49 SMM_S3_INFO S3Info;
51
52#pragma pack()
53
54#endif
Definition: Base.h:213