]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
Vlv2TbltDevicePkg: Use the merged Variable driver
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / RuntimeDxe / VariableSmm.inf
index 279a9248e292e9a93ead06b49cdf7afc8162c949..00181dbea8c67c67792c91f73a9fa97b2437a434 100644 (file)
 #  This driver will have external input - variable data and communicate buffer in SMM mode.\r
 #  This external input must be validated carefully to avoid security issues such as \r
 #  buffer overflow or integer overflow.\r
+#    The whole SMM authentication variable design relies on the integrity of flash part and SMM.\r
+#  which is assumed to be protected by platform.  All variable code and metadata in flash/SMM Memory\r
+#  may not be modified without authorization. If platform fails to protect these resources, \r
+#  the authentication service provided in this driver will be broken, and the behavior is undefined.\r
 #\r
-# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution. The full text of the license may be found at\r
@@ -46,6 +50,7 @@
   Variable.c\r
   VariableSmm.c\r
   AuthService.c\r
+  VarCheck.c\r
   Variable.h\r
   AuthService.h\r
 \r
   BaseCryptLib\r
   PlatformSecureLib\r
   HobLib\r
+  PcdLib\r
+  DevicePathLib\r
+  SmmMemLib\r
 \r
 [Protocols]\r
   gEfiSmmFirmwareVolumeBlockProtocolGuid        ## CONSUMES\r
-  gEfiSmmAccess2ProtocolGuid                    ## CONSUMES\r
   \r
   ## PRODUCES\r
   ## UNDEFINED     # SmiHandlerRegister\r
@@ -80,7 +87,8 @@
   ## CONSUMES\r
   ## NOTIFY  \r
   gEfiSmmFaultTolerantWriteProtocolGuid\r
-  gEfiSmmEndOfDxeProtocolGuid              ## NOTIFY\r
+  gEfiSmmEndOfDxeProtocolGuid                   ## NOTIFY\r
+  gEdkiiSmmVarCheckProtocolGuid                 ## PRODUCES\r
 \r
 [Guids]\r
   ## PRODUCES             ## GUID # Variable store header\r
   gEfiSystemNvDataFvGuid                   ## CONSUMES               ## GUID\r
   gEfiHardwareErrorVariableGuid            ## SOMETIMES_CONSUMES     ## Variable:L"HwErrRec####"\r
   gEdkiiFaultTolerantWriteGuid             ## SOMETIMES_CONSUMES     ## HOB\r
-  \r
+  gEdkiiVarErrorFlagGuid                   ## CONSUMES               ## GUID\r
+\r
 [Pcd]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize       ## CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase       ## SOMETIMES_CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64     ## CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize                  ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize              ## CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize     ## CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize                ## CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize                 ## CONSUMES\r
-  \r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxUserNvVariableSpaceSize           ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdBoottimeReservedNvVariableSpaceSize  ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdReclaimVariableSpaceAtEndOfDxe   ## CONSUMES\r
+\r
 [FeaturePcd]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics        ## CONSUMES  # statistic the information of variable.\r
   gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate       ## CONSUMES  # Auto update PlatformLang/Lang\r
   TRUE\r
   \r
 [UserExtensions.TianoCore."ExtraFiles"]\r
-  VariableSmmExtra.uni
\ No newline at end of file
+  VariableSmmExtra.uni\r