1 | ## @file
|
---|
2 | # Executes pending TPM 1.2 requests from OS or BIOS and Locks TPM
|
---|
3 | #
|
---|
4 | # This library will check and execute TPM 1.2 request from OS or BIOS. The request may
|
---|
5 | # ask for user confirmation before execution. This Library will also lock TPM physical
|
---|
6 | # presence at last.
|
---|
7 | #
|
---|
8 | # Caution: This module requires additional review when modified.
|
---|
9 | # This driver will have external input - variable.
|
---|
10 | # This external input must be validated carefully to avoid security issue.
|
---|
11 | #
|
---|
12 | # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
13 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
14 | #
|
---|
15 | ##
|
---|
16 |
|
---|
17 | [Defines]
|
---|
18 | INF_VERSION = 0x00010005
|
---|
19 | BASE_NAME = DxeTcgPhysicalPresenceLib
|
---|
20 | MODULE_UNI_FILE = DxeTcgPhysicalPresenceLib.uni
|
---|
21 | FILE_GUID = EBC43A46-34AC-4F07-A7F5-A5394619361C
|
---|
22 | MODULE_TYPE = DXE_DRIVER
|
---|
23 | VERSION_STRING = 1.0
|
---|
24 | LIBRARY_CLASS = TcgPhysicalPresenceLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
---|
25 | CONSTRUCTOR = TcgPhysicalPresenceLibConstructor
|
---|
26 |
|
---|
27 | #
|
---|
28 | # The following information is for reference only and not required by the build tools.
|
---|
29 | #
|
---|
30 | # VALID_ARCHITECTURES = IA32 X64 EBC
|
---|
31 | #
|
---|
32 |
|
---|
33 | [Sources]
|
---|
34 | DxeTcgPhysicalPresenceLib.c
|
---|
35 | PhysicalPresenceStrings.uni
|
---|
36 |
|
---|
37 | [Packages]
|
---|
38 | MdePkg/MdePkg.dec
|
---|
39 | MdeModulePkg/MdeModulePkg.dec
|
---|
40 | SecurityPkg/SecurityPkg.dec
|
---|
41 |
|
---|
42 | [LibraryClasses]
|
---|
43 | MemoryAllocationLib
|
---|
44 | UefiLib
|
---|
45 | UefiBootServicesTableLib
|
---|
46 | UefiDriverEntryPoint
|
---|
47 | UefiRuntimeServicesTableLib
|
---|
48 | BaseMemoryLib
|
---|
49 | DebugLib
|
---|
50 | PrintLib
|
---|
51 | HiiLib
|
---|
52 | TcgPpVendorLib
|
---|
53 |
|
---|
54 | [Protocols]
|
---|
55 | gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES
|
---|
56 | gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
|
---|
57 |
|
---|
58 | [Guids]
|
---|
59 | ## SOMETIMES_CONSUMES ## HII
|
---|
60 | ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"
|
---|
61 | ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"
|
---|
62 | ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresenceFlags"
|
---|
63 | ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"
|
---|
64 | gEfiPhysicalPresenceGuid
|
---|