Enhance TPM driver to protect TPM physical presence flags.
[mirror_edk2.git] / SecurityPkg / Library / DxeTcgPhysicalPresenceLib / DxeTcgPhysicalPresenceLib.inf
1 ## @file
2 # TCG physical presence library instance. This library will lock
3 # TPM after executing TPM request.
4 #
5 # Caution: This module requires additional review when modified.
6 # This driver will have external input - variable.
7 # This external input must be validated carefully to avoid security issue.
8 #
9 # Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
10 # This program and the accompanying materials
11 # are licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = DxeTcgPhysicalPresenceLib
22 FILE_GUID = EBC43A46-34AC-4F07-A7F5-A5394619361C
23 MODULE_TYPE = DXE_DRIVER
24 VERSION_STRING = 1.0
25 LIBRARY_CLASS = TcgPhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER
26 CONSTRUCTOR = TcgPhysicalPresenceLibConstructor
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
32 #
33
34 [Sources]
35 DxeTcgPhysicalPresenceLib.c
36 PhysicalPresenceStrings.uni
37
38 [Packages]
39 MdePkg/MdePkg.dec
40 MdeModulePkg/MdeModulePkg.dec
41 SecurityPkg/SecurityPkg.dec
42
43 [LibraryClasses]
44 MemoryAllocationLib
45 UefiLib
46 UefiBootServicesTableLib
47 UefiDriverEntryPoint
48 UefiRuntimeServicesTableLib
49 BaseMemoryLib
50 DebugLib
51 PrintLib
52 HiiLib
53
54 [Protocols]
55 gEfiTcgProtocolGuid
56 gEdkiiVariableLockProtocolGuid
57
58 [Guids]
59 gEfiPhysicalPresenceGuid