diff --git a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c index 9a73f299b1..5aafabfced 100644 --- a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c +++ b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c @@ -432,7 +432,11 @@ FilterSmbiosTable ( } /** - Measure SMBIOS with EV_EFI_HANDOFF_TABLES to PCR[1] + Measure SMBIOS with EV_EFI_HANDOFF_TABLES to PCR[1]. + + @param[in] Event Event whose notification function is being invoked. + @param[in] Context Pointer to the notification function's context. + **/ VOID EFIAPI @@ -575,8 +579,7 @@ MeasureSmbiosTable ( @param ImageHandle Module's image handle @param SystemTable Pointer of EFI_SYSTEM_TABLE - @retval EFI_SUCCESS Smbios protocol installed - @retval Other No protocol installed, unload driver. + @return Status returned from EfiCreateEventReadyToBootEx(). **/ EFI_STATUS diff --git a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf index 3193a6df6e..c5a779cca7 100644 --- a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf +++ b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf @@ -55,11 +55,11 @@ TpmMeasurementLib [Protocols] - gEfiSmbiosProtocolGuid ## PRODUCES + gEfiSmbiosProtocolGuid ## CONSUMES [Guids] - gEfiSmbiosTableGuid ## SOMETIMES_PRODUCES ## SystemTable - gEfiSmbios3TableGuid ## SOMETIMES_PRODUCES ## SystemTable + gEfiSmbiosTableGuid ## SOMETIMES_CONSUMES ## SystemTable + gEfiSmbios3TableGuid ## SOMETIMES_CONSUMES ## SystemTable [Depex] gEfiSmbiosProtocolGuid