TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmVariableCommon.h File Reference

Go to the source code of this file.

Data Structures

struct  SMM_VARIABLE_COMMUNICATE_HEADER
 
struct  SMM_VARIABLE_COMMUNICATE_ACCESS_VARIABLE
 
struct  SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME
 
struct  SMM_VARIABLE_COMMUNICATE_QUERY_VARIABLE_INFO
 
struct  SMM_VARIABLE_COMMUNICATE_VAR_CHECK_VARIABLE_PROPERTY
 
struct  SMM_VARIABLE_COMMUNICATE_GET_PAYLOAD_SIZE
 
struct  SMM_VARIABLE_COMMUNICATE_RUNTIME_VARIABLE_CACHE_CONTEXT
 
struct  SMM_VARIABLE_COMMUNICATE_GET_RUNTIME_CACHE_INFO
 

Macros

#define EFI_SMM_VARIABLE_WRITE_GUID    { 0x93ba1826, 0xdffb, 0x45dd, { 0x82, 0xa7, 0xe7, 0xdc, 0xaa, 0x3b, 0xbd, 0xf3 } }
 
#define SMM_VARIABLE_FUNCTION_GET_VARIABLE   1
 
#define SMM_VARIABLE_FUNCTION_GET_NEXT_VARIABLE_NAME   2
 
#define SMM_VARIABLE_FUNCTION_SET_VARIABLE   3
 
#define SMM_VARIABLE_FUNCTION_QUERY_VARIABLE_INFO   4
 
#define SMM_VARIABLE_FUNCTION_READY_TO_BOOT   5
 
#define SMM_VARIABLE_FUNCTION_EXIT_BOOT_SERVICE   6
 
#define SMM_VARIABLE_FUNCTION_GET_STATISTICS   7
 
#define SMM_VARIABLE_FUNCTION_LOCK_VARIABLE   8
 
#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_SET   9
 
#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_GET   10
 
#define SMM_VARIABLE_FUNCTION_GET_PAYLOAD_SIZE   11
 
#define SMM_VARIABLE_FUNCTION_INIT_RUNTIME_VARIABLE_CACHE_CONTEXT   12
 
#define SMM_VARIABLE_FUNCTION_SYNC_RUNTIME_CACHE   13
 
#define SMM_VARIABLE_FUNCTION_GET_RUNTIME_CACHE_INFO   14
 
#define SMM_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (EFI_MM_COMMUNICATE_HEADER, Data))
 
#define SMM_VARIABLE_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (SMM_VARIABLE_COMMUNICATE_HEADER, Data))
 

Typedefs

typedef SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME SMM_VARIABLE_COMMUNICATE_LOCK_VARIABLE
 

Variables

EFI_GUID gSmmVariableWriteGuid
 

Detailed Description

The file defined some common structures used for communicating between SMM variable module and SMM variable wrapper module.

Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SmmVariableCommon.h.

Macro Definition Documentation

◆ EFI_SMM_VARIABLE_WRITE_GUID

#define EFI_SMM_VARIABLE_WRITE_GUID    { 0x93ba1826, 0xdffb, 0x45dd, { 0x82, 0xa7, 0xe7, 0xdc, 0xaa, 0x3b, 0xbd, 0xf3 } }

Definition at line 15 of file SmmVariableCommon.h.

◆ SMM_COMMUNICATE_HEADER_SIZE

#define SMM_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (EFI_MM_COMMUNICATE_HEADER, Data))

Size of SMM communicate header, without including the payload.

Definition at line 84 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_COMMUNICATE_HEADER_SIZE

#define SMM_VARIABLE_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (SMM_VARIABLE_COMMUNICATE_HEADER, Data))

Size of SMM variable communicate header, without including the payload.

Definition at line 89 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_EXIT_BOOT_SERVICE

#define SMM_VARIABLE_FUNCTION_EXIT_BOOT_SERVICE   6

Definition at line 54 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_GET_NEXT_VARIABLE_NAME

#define SMM_VARIABLE_FUNCTION_GET_NEXT_VARIABLE_NAME   2

Definition at line 38 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_GET_PAYLOAD_SIZE

#define SMM_VARIABLE_FUNCTION_GET_PAYLOAD_SIZE   11

Definition at line 69 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_GET_RUNTIME_CACHE_INFO

#define SMM_VARIABLE_FUNCTION_GET_RUNTIME_CACHE_INFO   14

Definition at line 79 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_GET_STATISTICS

#define SMM_VARIABLE_FUNCTION_GET_STATISTICS   7

Definition at line 59 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_GET_VARIABLE

#define SMM_VARIABLE_FUNCTION_GET_VARIABLE   1

Definition at line 34 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_INIT_RUNTIME_VARIABLE_CACHE_CONTEXT

#define SMM_VARIABLE_FUNCTION_INIT_RUNTIME_VARIABLE_CACHE_CONTEXT   12

Definition at line 73 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_LOCK_VARIABLE

#define SMM_VARIABLE_FUNCTION_LOCK_VARIABLE   8

Definition at line 63 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_QUERY_VARIABLE_INFO

#define SMM_VARIABLE_FUNCTION_QUERY_VARIABLE_INFO   4

Definition at line 46 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_READY_TO_BOOT

#define SMM_VARIABLE_FUNCTION_READY_TO_BOOT   5

Definition at line 50 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_SET_VARIABLE

#define SMM_VARIABLE_FUNCTION_SET_VARIABLE   3

Definition at line 42 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_SYNC_RUNTIME_CACHE

#define SMM_VARIABLE_FUNCTION_SYNC_RUNTIME_CACHE   13

Definition at line 75 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_GET

#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_GET   10

Definition at line 67 of file SmmVariableCommon.h.

◆ SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_SET

#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_SET   9

Definition at line 65 of file SmmVariableCommon.h.

Typedef Documentation

◆ SMM_VARIABLE_COMMUNICATE_LOCK_VARIABLE