TianoCore EDK2 master
S3SaveState.h
Go to the documentation of this file.
1
17#ifndef __S3_SAVE_STATE_H__
18#define __S3_SAVE_STATE_H__
19
20#define EFI_S3_SAVE_STATE_PROTOCOL_GUID \
21 { 0xe857caf6, 0xc046, 0x45dc, { 0xbe, 0x3f, 0xee, 0x7, 0x65, 0xfb, 0xa8, 0x87 }}
22
23typedef VOID *EFI_S3_BOOT_SCRIPT_POSITION;
24
26
44typedef
48 IN UINTN OpCode,
49 ...
50 );
51
88typedef
92 IN BOOLEAN BeforeOrAfter,
93 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
94 IN UINTN OpCode,
95 ...
96 );
97
125typedef
129 IN BOOLEAN BeforeOrAfter,
130 IN BOOLEAN CreateIfNotFound,
131 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
132 IN CONST CHAR8 *Label
133 );
134
151typedef
155 IN EFI_S3_BOOT_SCRIPT_POSITION Position1,
156 IN EFI_S3_BOOT_SCRIPT_POSITION Position2,
157 OUT UINTN *RelativePosition
158 );
159
165};
166
167extern EFI_GUID gEfiS3SaveStateProtocolGuid;
168
169#endif // __S3_SAVE_STATE_H__
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_S3_SAVE_STATE_WRITE)(IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This, IN UINTN OpCode,...)
Definition: S3SaveState.h:46
EFI_STATUS(EFIAPI * EFI_S3_SAVE_STATE_LABEL)(IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This, IN BOOLEAN BeforeOrAfter, IN BOOLEAN CreateIfNotFound, IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL, IN CONST CHAR8 *Label)
Definition: S3SaveState.h:127
EFI_STATUS(EFIAPI * EFI_S3_SAVE_STATE_COMPARE)(IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This, IN EFI_S3_BOOT_SCRIPT_POSITION Position1, IN EFI_S3_BOOT_SCRIPT_POSITION Position2, OUT UINTN *RelativePosition)
Definition: S3SaveState.h:153
EFI_STATUS(EFIAPI * EFI_S3_SAVE_STATE_INSERT)(IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This, IN BOOLEAN BeforeOrAfter, IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL, IN UINTN OpCode,...)
Definition: S3SaveState.h:90
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:28
Definition: Base.h:213