--- /dev/null
+## @file\r
+# This driver measures microcode patches to TPM.\r
+#\r
+# This driver consumes gEdkiiMicrocodePatchHobGuid, packs all unique\r
+# microcode patch found in gEdkiiMicrocodePatchHobGuid to a binary blob,\r
+# and measures the binary blob to TPM.\r
+#\r
+# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = MicrocodeMeasurementDxe\r
+ MODULE_UNI_FILE = MicrocodeMeasurementDxe.uni\r
+ FILE_GUID = 0A32A803-ACDF-4C89-8293-91011548CD91\r
+ MODULE_TYPE = DXE_DRIVER\r
+ VERSION_STRING = 1.0\r
+ ENTRY_POINT = MicrocodeMeasurementDriverEntryPoint\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64\r
+#\r
+\r
+[Sources]\r
+ MicrocodeMeasurementDxe.c\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+ UefiCpuPkg/UefiCpuPkg.dec\r
+\r
+[LibraryClasses]\r
+ UefiBootServicesTableLib\r
+ MemoryAllocationLib\r
+ BaseMemoryLib\r
+ BaseLib\r
+ UefiLib\r
+ UefiDriverEntryPoint\r
+ DebugLib\r
+ HobLib\r
+ MicrocodeLib\r
+ TpmMeasurementLib\r
+\r
+[Guids]\r
+ gEdkiiMicrocodePatchHobGuid ## CONSUMES ## HOB\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ MicrocodeMeasurementDxeExtra.uni\r
+\r
+[Depex]\r
+ TRUE\r