]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmm.inf
Add comment for modules which have external input.
[mirror_edk2.git] / SecurityPkg / VariableAuthenticated / RuntimeDxe / VariableSmm.inf
CommitLineData
0c18794e 1## @file\r
2# Component description file for SMM Authenticated Variable module.\r
3#\r
4# This module installs SMM variable protocol into SMM protocol database,\r
2d3fb919 5# which can be used by SMM driver, and installs SMM variable protocol\r
0c18794e 6# into BS protocol database, which can be used to notify the SMM Runtime\r
7# Dxe driver that the SMM variable service is ready.\r
2d3fb919 8# This module should be used with SMM Runtime DXE module together. The\r
9# SMM Runtime DXE module would install variable arch protocol and variable\r
0c18794e 10# write arch protocol based on SMM variable module.\r
11#\r
dc204d5a
JY
12# Caution: This module requires additional review when modified.\r
13# This driver will have external input - variable data and communicate buffer in SMM mode.\r
14# This external input must be validated carefully to avoid security issue like\r
15# buffer overflow, integer overflow.\r
16#\r
ecc722ad 17# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
0c18794e 18# This program and the accompanying materials\r
19# are licensed and made available under the terms and conditions of the BSD License\r
20# which accompanies this distribution. The full text of the license may be found at\r
21# http://opensource.org/licenses/bsd-license.php\r
22# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
23# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
24#\r
25##\r
26\r
27[Defines]\r
28 INF_VERSION = 0x00010005\r
29 BASE_NAME = VariableSmm\r
30 FILE_GUID = D34BDC5E-968A-40f5-A48C-E594F45AE211\r
31 MODULE_TYPE = DXE_SMM_DRIVER\r
32 VERSION_STRING = 1.0\r
33 PI_SPECIFICATION_VERSION = 0x0001000A\r
34 ENTRY_POINT = VariableServiceInitialize\r
35\r
36#\r
37# The following information is for reference only and not required by the build tools.\r
38#\r
39# VALID_ARCHITECTURES = IA32 X64\r
40#\r
41\r
42\r
43[Sources]\r
44 Reclaim.c\r
45 Variable.c\r
46 VariableSmm.c\r
47 AuthService.c\r
48 Variable.h\r
49 AuthService.h\r
50\r
51[Packages]\r
52 MdePkg/MdePkg.dec\r
53 MdeModulePkg/MdeModulePkg.dec\r
54 CryptoPkg/CryptoPkg.dec\r
55 SecurityPkg/SecurityPkg.dec\r
56\r
57[LibraryClasses]\r
58 UefiDriverEntryPoint\r
59 MemoryAllocationLib\r
60 BaseLib\r
61 SynchronizationLib\r
62 UefiLib\r
63 SmmServicesTableLib\r
64 BaseMemoryLib\r
65 DebugLib\r
66 DxeServicesTableLib\r
67 BaseCryptLib\r
2d3fb919 68 PlatformSecureLib\r
9a000b46 69 HobLib\r
0c18794e 70\r
71[Protocols]\r
72 gEfiSmmFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r
73 gEfiSmmVariableProtocolGuid ## ALWAYS_PRODUCES\r
74 gEfiSmmFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES\r
75\r
76[Guids]\r
2d3fb919 77 gEfiAuthenticatedVariableGuid ## PRODUCES ## Configuration Table Guid\r
0c18794e 78 gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid\r
2d3fb919 79 gSmmVariableWriteGuid ## PRODUCES ## SMM Variable Write Guid\r
85560919 80 gEfiCertTypeRsa2048Sha256Guid\r
0c18794e 81 gEfiImageSecurityDatabaseGuid\r
82 gEfiCertX509Guid\r
83 gEfiCertPkcs7Guid\r
beda2356 84 gEfiCertRsa2048Guid\r
85 gEfiSecureBootEnableDisableGuid\r
ecc722ad 86 gEfiCustomModeEnableGuid\r
4d832aab 87 gEfiSystemNvDataFvGuid ## CONSUMES\r
ed47ae02 88 gEfiCertDbGuid\r
a5f15e30 89 gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES\r
0c18794e 90\r
91[Pcd]\r
92 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r
93 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase\r
94 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64\r
95 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize\r
96 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r
97 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize\r
98 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize\r
2d3fb919 99\r
0c18794e 100[FeaturePcd]\r
101 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)\r
102\r
103[Depex]\r
2d3fb919 104 TRUE\r
105\r
0c18794e 106\r