]>
Commit | Line | Data |
---|---|---|
8a2d4996 | 1 | ## @file\r |
6036e94d | 2 | # This module is the Runtime DXE part correspond to SMM variable module.\r |
8a2d4996 | 3 | #\r |
6036e94d SZ |
4 | # It installs variable arch protocol and variable write arch protocol to provide\r |
5 | # four EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName and QueryVariableInfo\r | |
6 | # and works with SMM variable module together.\r | |
7 | #\r | |
18a7dbbc SZ |
8 | # Caution: This module requires additional review when modified.\r |
9 | # This driver will have external input - variable data.\r | |
10 | # This external input must be validated carefully to avoid security issues such as\r | |
11 | # buffer overflow or integer overflow.\r | |
12 | #\r | |
6036e94d | 13 | # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r |
8a2d4996 | 14 | #\r |
15 | # This program and the accompanying materials\r | |
16 | # are licensed and made available under the terms and conditions of the BSD License\r | |
17 | # which accompanies this distribution. The full text of the license may be found at\r | |
18 | # http://opensource.org/licenses/bsd-license.php\r | |
19 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
20 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
21 | #\r | |
22 | #\r | |
23 | ##\r | |
24 | \r | |
25 | [Defines]\r | |
26 | INF_VERSION = 0x00010005\r | |
27 | BASE_NAME = VariableSmmRuntimeDxe\r | |
6036e94d | 28 | MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni\r |
8a2d4996 | 29 | FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1\r |
30 | MODULE_TYPE = DXE_RUNTIME_DRIVER\r | |
31 | VERSION_STRING = 1.0\r | |
32 | ENTRY_POINT = VariableSmmRuntimeInitialize\r | |
33 | \r | |
34 | #\r | |
35 | # The following information is for reference only and not required by the build tools.\r | |
36 | #\r | |
37 | # VALID_ARCHITECTURES = IA32 X64\r | |
38 | #\r | |
39 | # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableAddressChangeEvent\r | |
40 | #\r | |
41 | \r | |
42 | [Sources]\r | |
43 | VariableSmmRuntimeDxe.c\r | |
8a2d4996 | 44 | \r |
45 | [Packages]\r | |
46 | MdePkg/MdePkg.dec\r | |
47 | MdeModulePkg/MdeModulePkg.dec\r | |
8a2d4996 | 48 | \r |
49 | [LibraryClasses]\r | |
50 | MemoryAllocationLib\r | |
51 | BaseLib \r | |
52 | UefiBootServicesTableLib\r | |
53 | DebugLib\r | |
54 | UefiRuntimeLib\r | |
55 | DxeServicesTableLib\r | |
56 | UefiDriverEntryPoint\r | |
57 | PcdLib \r | |
58 | \r | |
59 | [Protocols]\r | |
6036e94d SZ |
60 | gEfiVariableWriteArchProtocolGuid ## PRODUCES\r |
61 | gEfiVariableArchProtocolGuid ## PRODUCES\r | |
62 | gEfiSmmCommunicationProtocolGuid ## CONSUMES\r | |
63 | ## CONSUMES\r | |
64 | ## NOTIFY\r | |
65 | ## UNDEFINED # Used to do smm communication\r | |
8a2d4996 | 66 | gEfiSmmVariableProtocolGuid\r |
6036e94d | 67 | gEdkiiVariableLockProtocolGuid ## PRODUCES\r |
8a2d4996 | 68 | \r |
69 | [Guids]\r | |
6036e94d SZ |
70 | gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r |
71 | gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r | |
72 | ## CONSUMES ## GUID # Locate protocol\r | |
73 | ## CONSUMES ## GUID # Protocol notify\r | |
d00ed85e | 74 | gSmmVariableWriteGuid\r |
8a2d4996 | 75 | \r |
76 | [Pcd]\r | |
6036e94d SZ |
77 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES\r |
78 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES\r | |
8a2d4996 | 79 | \r |
80 | [Depex]\r | |
81 | gEfiSmmCommunicationProtocolGuid\r | |
6036e94d SZ |
82 | \r |
83 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
84 | VariableSmmRuntimeDxeExtra.uni\r |