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