diff options
author | Star Zeng <star.zeng@intel.com> | 2015-10-29 01:13:59 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-10-29 01:13:59 +0000 |
commit | 35a19d4840167c4fca31baca675c39ad1c401b48 (patch) | |
tree | 733c64b718e9a42fda9c0e9ffdc618cc41c15984 /MdeModulePkg/Universal/SmbiosMeasurementDxe | |
parent | 14c218b398b994b7685e372ce3ed043379964326 (diff) | |
download | edk2-platforms-35a19d4840167c4fca31baca675c39ad1c401b48.tar.xz |
MdeModulePkg SmbiosMeasurementDxe: Correct the comments
1. Correct the return comments of entrypoint function.
2. Add parameters' comments for MeasureSmbiosTable().
3. Correct the Protocols and Guids usage comments in SmbiosMeasurementDxe.inf.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18695 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SmbiosMeasurementDxe')
-rw-r--r-- | MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c | 9 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf | 6 |
2 files changed, 9 insertions, 6 deletions
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
|