TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuFwCfgS3Lib.h
Go to the documentation of this file.
1
13#ifndef __FW_CFG_S3_LIB__
14#define __FW_CFG_S3_LIB__
15
16#include <Base.h>
17
29BOOLEAN
30EFIAPI
32 VOID
33 );
34
87typedef
88VOID(EFIAPI FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION)(
89 IN OUT VOID *Context OPTIONAL,
90 IN OUT VOID *ScratchBuffer
91 );
92
150RETURN_STATUS
151EFIAPI
153 IN FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION *Callback,
154 IN OUT VOID *Context OPTIONAL,
155 IN UINTN ScratchBufferSize
156 );
157
198RETURN_STATUS
199EFIAPI
201 IN INT32 FirmwareConfigItem,
202 IN UINTN NumberOfBytes
203 );
204
244RETURN_STATUS
245EFIAPI
247 IN INT32 FirmwareConfigItem,
248 IN UINTN NumberOfBytes
249 );
250
283RETURN_STATUS
284EFIAPI
286 IN INT32 FirmwareConfigItem,
287 IN UINTN NumberOfBytes
288 );
289
340RETURN_STATUS
341EFIAPI
343 IN VOID *ScratchData,
344 IN UINT8 ValueSize,
345 IN UINT64 ValueMask,
346 IN UINT64 Value
347 );
348
349#endif
UINT64 UINTN
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
BOOLEAN EFIAPI QemuFwCfgS3Enabled(VOID)
RETURN_STATUS EFIAPI QemuFwCfgS3ScriptReadBytes(IN INT32 FirmwareConfigItem, IN UINTN NumberOfBytes)
RETURN_STATUS EFIAPI QemuFwCfgS3ScriptWriteBytes(IN INT32 FirmwareConfigItem, IN UINTN NumberOfBytes)
RETURN_STATUS EFIAPI QemuFwCfgS3CallWhenBootScriptReady(IN FW_CFG_BOOT_SCRIPT_CALLBACK_FUNCTION *Callback, IN OUT VOID *Context OPTIONAL, IN UINTN ScratchBufferSize)
RETURN_STATUS EFIAPI QemuFwCfgS3ScriptCheckValue(IN VOID *ScratchData, IN UINT8 ValueSize, IN UINT64 ValueMask, IN UINT64 Value)
RETURN_STATUS EFIAPI QemuFwCfgS3ScriptSkipBytes(IN INT32 FirmwareConfigItem, IN UINTN NumberOfBytes)