• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#
11# A platform may use its own policy to filter some fields in SMBIOS table.
12#
13# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
14#
15#  This program and the accompanying materials
16#  are licensed and made available under the terms and conditions of the BSD License
17#  which accompanies this distribution. The full text of the license may be found at
18#  http://opensource.org/licenses/bsd-license.php
19#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21#
22#
23##
24
25[Defines]
26  INF_VERSION                    = 0x00010005
27  BASE_NAME                      = SmbiosMeasurementDxe
28  MODULE_UNI_FILE                = SmbiosMeasurementDxe.uni
29  FILE_GUID                      = D27FED59-ABB4-4FED-BEAD-2A878C7E4A7E
30  MODULE_TYPE                    = DXE_DRIVER
31  VERSION_STRING                 = 1.0
32  ENTRY_POINT                    = SmbiosMeasurementDriverEntryPoint
33
34#
35# The following information is for reference only and not required by the build tools.
36#
37#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC ARM AARCH64
38#
39
40[Sources]
41  SmbiosMeasurementDxe.c
42
43[Packages]
44  MdePkg/MdePkg.dec
45  MdeModulePkg/MdeModulePkg.dec
46
47[LibraryClasses]
48  UefiBootServicesTableLib
49  MemoryAllocationLib
50  BaseMemoryLib
51  BaseLib
52  UefiLib
53  UefiDriverEntryPoint
54  DebugLib
55  TpmMeasurementLib
56
57[Protocols]
58  gEfiSmbiosProtocolGuid                            ## CONSUMES
59
60[Guids]
61  gEfiSmbiosTableGuid                               ## SOMETIMES_CONSUMES ## SystemTable
62  gEfiSmbios3TableGuid                              ## SOMETIMES_CONSUMES ## SystemTable
63
64[Depex]
65  gEfiSmbiosProtocolGuid
66
67[UserExtensions.TianoCore."ExtraFiles"]
68  SmbiosMeasurementDxeExtra.uni
69