UefiCpuPkg: Extend measurement of microcode patches to TPM
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3683 TCG specification says BIOS should extend measurement of microcode to TPM. However, reference BIOS is not doing this. BIOS shall extend measurement of microcode to TPM. Cc: Eric Dong <eric.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min M Xu <min.m.xu@intel.com> Cc: Qi Zhang <qi1.zhang@intel.com> Signed-off-by: Longlong Yang <longlong.yang@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
15c596aeeb
commit
6612ff8561
@@ -0,0 +1,56 @@
|
||||
## @file
|
||||
# This driver measures microcode patches to TPM.
|
||||
#
|
||||
# This driver consumes gEdkiiMicrocodePatchHobGuid, packs all unique
|
||||
# microcode patch found in gEdkiiMicrocodePatchHobGuid to a binary blob,
|
||||
# and measures the binary blob to TPM.
|
||||
#
|
||||
# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = MicrocodeMeasurementDxe
|
||||
MODULE_UNI_FILE = MicrocodeMeasurementDxe.uni
|
||||
FILE_GUID = 0A32A803-ACDF-4C89-8293-91011548CD91
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = MicrocodeMeasurementDriverEntryPoint
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
MicrocodeMeasurementDxe.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
UefiCpuPkg/UefiCpuPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
UefiBootServicesTableLib
|
||||
MemoryAllocationLib
|
||||
BaseMemoryLib
|
||||
BaseLib
|
||||
UefiLib
|
||||
UefiDriverEntryPoint
|
||||
DebugLib
|
||||
HobLib
|
||||
MicrocodeLib
|
||||
TpmMeasurementLib
|
||||
|
||||
[Guids]
|
||||
gEdkiiMicrocodePatchHobGuid ## CONSUMES ## HOB
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
MicrocodeMeasurementDxeExtra.uni
|
||||
|
||||
[Depex]
|
||||
TRUE
|
Reference in New Issue
Block a user