]>
Commit | Line | Data |
---|---|---|
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 | |
039a40aa | 17 | # Copyright (c) 2010 - 2013, 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 | |
25a4e71a | 75 | gEfiSmmAccess2ProtocolGuid ## ALWAYS_CONSUMES\r |
6ab9f441 | 76 | gEfiSmmEndOfDxeProtocolGuid ## ALWAYS_CONSUMES\r |
0c18794e | 77 | \r |
78 | [Guids]\r | |
2d3fb919 | 79 | gEfiAuthenticatedVariableGuid ## PRODUCES ## Configuration Table Guid\r |
0c18794e | 80 | gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid\r |
2d3fb919 | 81 | gSmmVariableWriteGuid ## PRODUCES ## SMM Variable Write Guid\r |
85560919 | 82 | gEfiCertTypeRsa2048Sha256Guid\r |
0c18794e | 83 | gEfiImageSecurityDatabaseGuid\r |
84 | gEfiCertX509Guid\r | |
85 | gEfiCertPkcs7Guid\r | |
beda2356 | 86 | gEfiCertRsa2048Guid\r |
87 | gEfiSecureBootEnableDisableGuid\r | |
ecc722ad | 88 | gEfiCustomModeEnableGuid\r |
4d832aab | 89 | gEfiSystemNvDataFvGuid ## CONSUMES\r |
ed47ae02 | 90 | gEfiCertDbGuid\r |
a5f15e30 | 91 | gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES\r |
039a40aa | 92 | gEdkiiFaultTolerantWriteGuid ## CONSUMES\r |
0c18794e | 93 | \r |
94 | [Pcd]\r | |
95 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r | |
96 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase\r | |
97 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64\r | |
98 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize\r | |
99 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r | |
100 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize\r | |
101 | gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize\r | |
2d3fb919 | 102 | \r |
0c18794e | 103 | [FeaturePcd]\r |
104 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)\r | |
105 | \r | |
106 | [Depex]\r | |
2d3fb919 | 107 | TRUE\r |
108 | \r | |
0c18794e | 109 | \r |