MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SmmVariableCommon.h File Reference

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

Macro Definition Documentation

#define EFI_SMM_VARIABLE_WRITE_GUID   { 0x93ba1826, 0xdffb, 0x45dd, { 0x82, 0xa7, 0xe7, 0xdc, 0xaa, 0x3b, 0xbd, 0xf3 } }
#define SMM_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (EFI_MM_COMMUNICATE_HEADER, Data))

Size of SMM communicate header, without including the payload.

#define SMM_VARIABLE_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (SMM_VARIABLE_COMMUNICATE_HEADER, Data))

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

#define SMM_VARIABLE_FUNCTION_EXIT_BOOT_SERVICE   6
#define SMM_VARIABLE_FUNCTION_GET_NEXT_VARIABLE_NAME   2
#define SMM_VARIABLE_FUNCTION_GET_PAYLOAD_SIZE   11
#define SMM_VARIABLE_FUNCTION_GET_RUNTIME_CACHE_INFO   14
#define SMM_VARIABLE_FUNCTION_GET_STATISTICS   7
#define SMM_VARIABLE_FUNCTION_GET_VARIABLE   1
#define SMM_VARIABLE_FUNCTION_INIT_RUNTIME_VARIABLE_CACHE_CONTEXT   12
#define SMM_VARIABLE_FUNCTION_LOCK_VARIABLE   8
#define SMM_VARIABLE_FUNCTION_QUERY_VARIABLE_INFO   4
#define SMM_VARIABLE_FUNCTION_READY_TO_BOOT   5
#define SMM_VARIABLE_FUNCTION_SET_VARIABLE   3
#define SMM_VARIABLE_FUNCTION_SYNC_RUNTIME_CACHE   13
#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_GET   10
#define SMM_VARIABLE_FUNCTION_VAR_CHECK_VARIABLE_PROPERTY_SET   9

Typedef Documentation

Variable Documentation

EFI_GUID gSmmVariableWriteGuid