1 | ## @file
|
---|
2 | # This driver measures SMBIOS table to TPM.
|
---|
3 | #
|
---|
4 | # This driver is a sample driver to follow TCG platform specification to
|
---|
5 | # filter some fields in SMBIOS table.
|
---|
6 | # - Platform configuration information that is automatically updated,
|
---|
7 | # such as clock registers, and system unique information, such as
|
---|
8 | # asset numbers or serial numbers, MUST NOT be measured into PCR [1],
|
---|
9 | # or any other PCR.
|
---|
10 | # The OEM types are skipped and platform code can measure them by self if required.
|
---|
11 | #
|
---|
12 | # A platform may use its own policy to filter some fields in SMBIOS table.
|
---|
13 | #
|
---|
14 | # Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
|
---|
15 | #
|
---|
16 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
17 | #
|
---|
18 | #
|
---|
19 | ##
|
---|
20 |
|
---|
21 | [Defines]
|
---|
22 | INF_VERSION = 0x00010005
|
---|
23 | BASE_NAME = SmbiosMeasurementDxe
|
---|
24 | MODULE_UNI_FILE = SmbiosMeasurementDxe.uni
|
---|
25 | FILE_GUID = D27FED59-ABB4-4FED-BEAD-2A878C7E4A7E
|
---|
26 | MODULE_TYPE = DXE_DRIVER
|
---|
27 | VERSION_STRING = 1.0
|
---|
28 | ENTRY_POINT = SmbiosMeasurementDriverEntryPoint
|
---|
29 |
|
---|
30 | #
|
---|
31 | # The following information is for reference only and not required by the build tools.
|
---|
32 | #
|
---|
33 | # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64
|
---|
34 | #
|
---|
35 |
|
---|
36 | [Sources]
|
---|
37 | SmbiosMeasurementDxe.c
|
---|
38 |
|
---|
39 | [Packages]
|
---|
40 | MdePkg/MdePkg.dec
|
---|
41 | MdeModulePkg/MdeModulePkg.dec
|
---|
42 |
|
---|
43 | [LibraryClasses]
|
---|
44 | UefiBootServicesTableLib
|
---|
45 | MemoryAllocationLib
|
---|
46 | BaseMemoryLib
|
---|
47 | BaseLib
|
---|
48 | UefiLib
|
---|
49 | UefiDriverEntryPoint
|
---|
50 | DebugLib
|
---|
51 | PcdLib
|
---|
52 | TpmMeasurementLib
|
---|
53 |
|
---|
54 | [Protocols]
|
---|
55 | gEfiSmbiosProtocolGuid ## CONSUMES
|
---|
56 |
|
---|
57 | [Guids]
|
---|
58 | gEfiSmbiosTableGuid ## SOMETIMES_CONSUMES ## SystemTable
|
---|
59 | gEfiSmbios3TableGuid ## SOMETIMES_CONSUMES ## SystemTable
|
---|
60 |
|
---|
61 | [Pcd]
|
---|
62 | gEfiMdeModulePkgTokenSpaceGuid.PcdTcgPfpMeasurementRevision ## CONSUMES
|
---|
63 |
|
---|
64 | [Depex]
|
---|
65 | gEfiSmbiosProtocolGuid
|
---|
66 |
|
---|
67 | [UserExtensions.TianoCore."ExtraFiles"]
|
---|
68 | SmbiosMeasurementDxeExtra.uni
|
---|