## @file\r
-# Component description file for Variable SmmRuntimeDxe module.\r
+# This module is the Runtime DXE part correspond to SMM variable module.\r
#\r
-# This module is the Runtime DXE part correspond to SMM variable module. It \r
-# installs variable arch protocol and variable write arch protocol and works \r
-# with SMM variable module together. \r
-# Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>\r
+# It installs variable arch protocol and variable write arch protocol to provide\r
+# four EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName and QueryVariableInfo\r
+# and works with SMM variable module together.\r
+#\r
+# Caution: This module requires additional review when modified.\r
+# This driver will have external input - variable data.\r
+# This external input must be validated carefully to avoid security issues such as\r
+# buffer overflow or integer overflow.\r
+#\r
+# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = VariableSmmRuntimeDxe\r
+ MODULE_UNI_FILE = VariableSmmRuntimeDxe.uni\r
FILE_GUID = 9F7DCADE-11EA-448a-A46F-76E003657DD1\r
MODULE_TYPE = DXE_RUNTIME_DRIVER\r
VERSION_STRING = 1.0\r
PcdLib \r
\r
[Protocols]\r
- gEfiVariableWriteArchProtocolGuid ## ALWAYS_PRODUCES\r
- gEfiVariableArchProtocolGuid ## ALWAYS_PRODUCES \r
- gEfiSmmCommunicationProtocolGuid\r
+ gEfiVariableWriteArchProtocolGuid ## PRODUCES\r
+ gEfiVariableArchProtocolGuid ## PRODUCES\r
+ gEfiSmmCommunicationProtocolGuid ## CONSUMES\r
+ ## CONSUMES\r
+ ## NOTIFY\r
+ ## UNDEFINED # Used to do smm communication\r
gEfiSmmVariableProtocolGuid\r
- gEdkiiVariableLockProtocolGuid ## ALWAYS_PRODUCES\r
+ gEdkiiVariableLockProtocolGuid ## PRODUCES\r
+ gEdkiiVarCheckProtocolGuid ## PRODUCES\r
\r
[Guids]\r
- gEfiEventVirtualAddressChangeGuid ## PRODUCES ## Event\r
+ gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r
+ gEfiEventExitBootServicesGuid ## CONSUMES ## Event\r
+ ## CONSUMES ## GUID # Locate protocol\r
+ ## CONSUMES ## GUID # Protocol notify\r
gSmmVariableWriteGuid\r
\r
[Pcd]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES\r
\r
[Depex]\r
gEfiSmmCommunicationProtocolGuid\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ VariableSmmRuntimeDxeExtra.uni\r