17#ifndef __S3_SAVE_STATE_H__
18#define __S3_SAVE_STATE_H__
20#define EFI_S3_SAVE_STATE_PROTOCOL_GUID \
21 { 0xe857caf6, 0xc046, 0x45dc, { 0xbe, 0x3f, 0xee, 0x7, 0x65, 0xfb, 0xa8, 0x87 }}
23typedef VOID *EFI_S3_BOOT_SCRIPT_POSITION;
92 IN BOOLEAN BeforeOrAfter,
129 IN BOOLEAN BeforeOrAfter,
130 IN BOOLEAN CreateIfNotFound,
155 IN EFI_S3_BOOT_SCRIPT_POSITION Position1,
156 IN EFI_S3_BOOT_SCRIPT_POSITION Position2,
167extern EFI_GUID gEfiS3SaveStateProtocolGuid;
EFI_STATUS(EFIAPI * EFI_S3_SAVE_STATE_WRITE)(IN CONST EFI_S3_SAVE_STATE_PROTOCOL *This, IN UINTN OpCode,...)
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)
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)
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,...)