]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/SmmVariable.h
MdeModulePkg/ResetSystemRuntimeDxe: Add platform filter and handler
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / SmmVariable.h
CommitLineData
8a2d4996 1/** @file\r
2 EFI SMM Variable Protocol is related to EDK II-specific implementation of variables\r
3 and intended for use as a means to store data in the EFI SMM environment.\r
4\r
5 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
6 This program and the accompanying materials \r
7 are licensed and made available under the terms and conditions of the BSD License \r
8 which accompanies this distribution. The full text of the license may be found at \r
9 http://opensource.org/licenses/bsd-license.php \r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
13\r
14**/\r
15\r
16#ifndef __SMM_VARIABLE_H__\r
17#define __SMM_VARIABLE_H__\r
18\r
19#define EFI_SMM_VARIABLE_PROTOCOL_GUID \\r
20 { \\r
21 0xed32d533, 0x99e6, 0x4209, { 0x9c, 0xc0, 0x2d, 0x72, 0xcd, 0xd9, 0x98, 0xa7 } \\r
22 }\r
23\r
24typedef struct _EFI_SMM_VARIABLE_PROTOCOL EFI_SMM_VARIABLE_PROTOCOL;\r
25\r
26///\r
27/// EFI SMM Variable Protocol is intended for use as a means \r
28/// to store data in the EFI SMM environment.\r
29///\r
30struct _EFI_SMM_VARIABLE_PROTOCOL {\r
31 EFI_GET_VARIABLE SmmGetVariable;\r
32 EFI_GET_NEXT_VARIABLE_NAME SmmGetNextVariableName;\r
33 EFI_SET_VARIABLE SmmSetVariable;\r
34 EFI_QUERY_VARIABLE_INFO SmmQueryVariableInfo;\r
35};\r
36\r
37extern EFI_GUID gEfiSmmVariableProtocolGuid;\r
38\r
39#endif \r