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