]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Protocol/SmmVariable.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / SmmVariable.h
1 /** @file
2 EFI SMM Variable Protocol is related to EDK II-specific implementation of variables
3 and intended for use as a means to store data in the EFI SMM environment.
4
5 Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef __SMM_VARIABLE_H__
11 #define __SMM_VARIABLE_H__
12
13 #define EFI_SMM_VARIABLE_PROTOCOL_GUID \
14 { \
15 0xed32d533, 0x99e6, 0x4209, { 0x9c, 0xc0, 0x2d, 0x72, 0xcd, 0xd9, 0x98, 0xa7 } \
16 }
17
18 typedef struct _EFI_SMM_VARIABLE_PROTOCOL EFI_SMM_VARIABLE_PROTOCOL;
19
20 ///
21 /// EFI SMM Variable Protocol is intended for use as a means
22 /// to store data in the EFI SMM environment.
23 ///
24 struct _EFI_SMM_VARIABLE_PROTOCOL {
25 EFI_GET_VARIABLE SmmGetVariable;
26 EFI_GET_NEXT_VARIABLE_NAME SmmGetNextVariableName;
27 EFI_SET_VARIABLE SmmSetVariable;
28 EFI_QUERY_VARIABLE_INFO SmmQueryVariableInfo;
29 };
30
31 extern EFI_GUID gEfiSmmVariableProtocolGuid;
32
33 #endif