]>
Commit | Line | Data |
---|---|---|
8a2d4996 | 1 | /** @file\r |
2 | \r | |
3 | The internal header file includes the common header files shared \r | |
4 | by VariableSmm module and VariableSmmRuntimeDxe module.\r | |
5 | \r | |
6 | Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r | |
7 | This program and the accompanying materials \r | |
8 | are licensed and made available under the terms and conditions of the BSD License \r | |
9 | which accompanies this distribution. The full text of the license may be found at \r | |
10 | http://opensource.org/licenses/bsd-license.php \r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef _VARIABLE_SMM_COMMON_H_\r | |
18 | #define _VARIABLE_SMM_COMMON_H_\r | |
19 | \r | |
20 | #include <PiDxe.h>\r | |
21 | \r | |
22 | #include <Protocol/SmmVariable.h>\r | |
23 | #include <Protocol/SmmFirmwareVolumeBlock.h>\r | |
24 | #include <Guid/VariableFormat.h>\r | |
25 | \r | |
26 | #define EFI_SMM_VARIABLE_WRITE_GUID \\r | |
27 | { 0x93ba1826, 0xdffb, 0x45dd, { 0x82, 0xa7, 0xe7, 0xdc, 0xaa, 0x3b, 0xbd, 0xf3 } }\r | |
28 | \r | |
29 | ///\r | |
30 | /// Size of SMM communicate header, without including the payload.\r | |
31 | ///\r | |
32 | #define SMM_COMMUNICATE_HEADER_SIZE (OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data))\r | |
33 | \r | |
34 | ///\r | |
35 | /// Size of SMM variable communicate header, without including the payload.\r | |
36 | ///\r | |
37 | #define SMM_VARIABLE_COMMUNICATE_HEADER_SIZE (OFFSET_OF (SMM_VARIABLE_COMMUNICATE_HEADER, Data))\r | |
38 | \r | |
39 | \r | |
40 | #endif\r |