TianoCore EDK2 master
Loading...
Searching...
No Matches
InternalS3SaveState.h
Go to the documentation of this file.
1
10#ifndef _INTERNAL_S3_SAVE_STATE_H_
11#define _INTERNAL_S3_SAVE_STATE_H_
12#include <PiDxe.h>
13
15
16#include <Library/BaseLib.h>
17#include <Library/DebugLib.h>
22#include <Library/SmbusLib.h>
23#include <Library/PcdLib.h>
25#include <Guid/EventGroup.h>
26
34VOID
35EFIAPI
37 IN EFI_EVENT Event,
38 IN VOID *Context
39 );
40
69EFIAPI
72 IN UINTN OpCode,
73 ...
74 );
75
105EFIAPI
108 IN BOOLEAN BeforeOrAfter,
109 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
110 IN UINTN OpCode,
111 ...
112 );
113
141EFIAPI
144 IN BOOLEAN BeforeOrAfter,
145 IN BOOLEAN CreateIfNotFound,
146 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
147 IN CONST CHAR8 *Label
148 );
149
167EFIAPI
170 IN EFI_S3_BOOT_SCRIPT_POSITION Position1,
171 IN EFI_S3_BOOT_SCRIPT_POSITION Position2,
172 OUT UINTN *RelativePosition
173 );
174
175#endif //_INTERNAL_S3_SAVE_STATE_H_
UINT64 UINTN
EFI_STATUS EFIAPI BootScriptLabel(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.c:856
VOID EFIAPI AcpiS3ContextSaveOnEndOfDxe(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS EFIAPI BootScriptWrite(IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This, IN UINTN OpCode,...)
Definition: S3SaveState.c:543
EFI_STATUS EFIAPI BootScriptInsert(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.c:697
EFI_STATUS EFIAPI BootScriptCompare(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.c:886
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37