]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Implements ACPI metholds for the TCG feature\r | |
3 | #\r | |
4 | # This driver implements TPM definition block in ACPI table and registers SMI \r | |
5 | # callback functions for physical presence and MemoryClear to handle the requests \r | |
6 | # from ACPI method.\r | |
7 | #\r | |
8 | # Caution: This module requires additional review when modified.\r | |
9 | # This driver will have external input - variable and ACPINvs data in SMM mode.\r | |
10 | # This external input must be validated carefully to avoid security issue.\r | |
11 | #\r | |
12 | # Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
13 | # This program and the accompanying materials\r | |
14 | # are licensed and made available under the terms and conditions of the BSD License\r | |
15 | # which accompanies this distribution. The full text of the license may be found at\r | |
16 | # http://opensource.org/licenses/bsd-license.php\r | |
17 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
18 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
19 | #\r | |
20 | ##\r | |
21 | \r | |
22 | [Defines]\r | |
23 | INF_VERSION = 0x00010005\r | |
24 | BASE_NAME = TcgSmm\r | |
25 | MODULE_UNI_FILE = TcgSmm.uni\r | |
26 | FILE_GUID = 42293093-76B9-4482-8C02-3BEFDEA9B35D\r | |
27 | MODULE_TYPE = DXE_SMM_DRIVER\r | |
28 | PI_SPECIFICATION_VERSION = 0x0001000A\r | |
29 | VERSION_STRING = 1.0\r | |
30 | ENTRY_POINT = InitializeTcgSmm\r | |
31 | \r | |
32 | [Sources]\r | |
33 | TcgSmm.c\r | |
34 | TcgSmm.h\r | |
35 | Tpm.asl\r | |
36 | \r | |
37 | [Packages]\r | |
38 | MdePkg/MdePkg.dec\r | |
39 | MdeModulePkg/MdeModulePkg.dec\r | |
40 | SecurityPkg/SecurityPkg.dec\r | |
41 | \r | |
42 | [LibraryClasses]\r | |
43 | BaseLib\r | |
44 | BaseMemoryLib\r | |
45 | UefiDriverEntryPoint\r | |
46 | SmmServicesTableLib\r | |
47 | UefiBootServicesTableLib\r | |
48 | DebugLib\r | |
49 | DxeServicesLib\r | |
50 | TpmMeasurementLib\r | |
51 | PcdLib\r | |
52 | \r | |
53 | [Guids]\r | |
54 | ## SOMETIMES_PRODUCES ## Variable:L"PhysicalPresence"\r | |
55 | ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresence"\r | |
56 | ## SOMETIMES_CONSUMES ## Variable:L"PhysicalPresenceFlags"\r | |
57 | gEfiPhysicalPresenceGuid\r | |
58 | \r | |
59 | ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControl"\r | |
60 | ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl"\r | |
61 | gEfiMemoryOverwriteControlDataGuid\r | |
62 | \r | |
63 | gEfiTpmDeviceInstanceTpm12Guid ## PRODUCES ## GUID # TPM device identifier\r | |
64 | \r | |
65 | [Protocols]\r | |
66 | gEfiSmmSwDispatch2ProtocolGuid ## CONSUMES\r | |
67 | gEfiSmmVariableProtocolGuid ## CONSUMES\r | |
68 | gEfiAcpiTableProtocolGuid ## CONSUMES\r | |
69 | \r | |
70 | [Pcd]\r | |
71 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES\r | |
72 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES\r | |
73 | \r | |
74 | [Depex]\r | |
75 | gEfiAcpiTableProtocolGuid AND\r | |
76 | gEfiSmmSwDispatch2ProtocolGuid AND\r | |
77 | gEfiSmmVariableProtocolGuid AND\r | |
78 | gEfiTcgProtocolGuid\r | |
79 | \r | |
80 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
81 | TcgSmmExtra.uni\r | |
82 |