]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Fix coding style issues
authorBi, Dandan <dandan.bi@intel.com>
Fri, 1 Feb 2019 06:02:00 +0000 (14:02 +0800)
committerLiming Gao <liming.gao@intel.com>
Sat, 2 Feb 2019 13:41:47 +0000 (21:41 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1478

Fix issues that reported by Edk2 coding style check tool(ECC) that:
in Comment, <@param SystemTable> does NOT consistent with parameter
name MmSystemTable.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Library/StandaloneMmDriverEntryPoint.h
MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c
MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.c

index d6189986222849e22a3947806359511dcad82918..fbc75add73258cc6aad5165b389255ce53727fb6 100644 (file)
@@ -36,8 +36,8 @@ extern CONST UINT32                   _gMmRevision;
   If _gMmRevision is not zero and MmSystemTable->Hdr.Revision is\r
   less than _gMmRevision, then return EFI_INCOMPATIBLE_VERSION.\r
 \r
-  @param  ImageHandle  The image handle of the Standalone MM Driver.\r
-  @param  SystemTable  A pointer to the EFI System Table.\r
+  @param  ImageHandle    The image handle of the Standalone MM Driver.\r
+  @param  MmSystemTable  A pointer to the MM System Table.\r
 \r
   @retval  EFI_SUCCESS               The Standalone MM Driver exited normally.\r
   @retval  EFI_INCOMPATIBLE_VERSION  _gMmRevision is greater than\r
@@ -68,8 +68,8 @@ _ModuleEntryPoint (
   constructors in the proper order based upon each of the library instances own\r
   dependencies.\r
 \r
-  @param  ImageHandle  The image handle of the Standalone MM Driver.\r
-  @param  SystemTable  A pointer to the MM System Table.\r
+  @param  ImageHandle    The image handle of the Standalone MM Driver.\r
+  @param  MmSystemTable  A pointer to the MM System Table.\r
 \r
 **/\r
 VOID\r
@@ -94,8 +94,8 @@ ProcessLibraryConstructorList (
   have destructors, and calling the library destructors in the proper order\r
   based upon each of the library instances own dependencies.\r
 \r
-  @param  ImageHandle  The image handle of the Standalone MM Driver.\r
-  @param  SystemTable  A pointer to the MM System Table.\r
+  @param  ImageHandle    The image handle of the Standalone MM Driver.\r
+  @param  MmSystemTable  A pointer to the MM System Table.\r
 \r
 **/\r
 VOID\r
@@ -115,8 +115,8 @@ ProcessLibraryDestructorList (
   responsible for collecting the module entry points and calling them in a\r
   specified order.\r
 \r
-  @param  ImageHandle  The image handle of the Standalone MM Driver.\r
-  @param  SystemTable  A pointer to the EFI System Table.\r
+  @param  ImageHandle    The image handle of the Standalone MM Driver.\r
+  @param  MmSystemTable  A pointer to the MM System Table.\r
 \r
   @retval  EFI_SUCCESS   The Standalone MM Driver executed normally.\r
   @retval  !EFI_SUCCESS  The Standalone MM Driver failed to execute normally.\r
index 4fb494d8cbcbf5af7fe4acd8020bbcc001013c37..b6652331427a5917f358a8b89318719c87e6021f 100644 (file)
@@ -34,8 +34,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   If _gMmRevision is not zero and SystemTable->Hdr.Revision is\r
   less than _gMmRevision, then return EFI_INCOMPATIBLE_VERSION.\r
 \r
-  @param  ImageHandle  The image handle of the Standalone MM Driver.\r
-  @param  SystemTable  A pointer to the EFI System Table.\r
+  @param  ImageHandle    The image handle of the Standalone MM Driver.\r
+  @param  MmSystemTable  A pointer to the MM System Table.\r
 \r
   @retval  EFI_SUCCESS               The Standalone MM Driver exited normally.\r
   @retval  EFI_INCOMPATIBLE_VERSION  _gMmRevision is greater than\r
index b870f25fcfeda87ad6cf1190d4efa36746d83afc..de7c980c7b9e6e166f7f0139aed81b80b36b1bce 100644 (file)
@@ -22,8 +22,8 @@ EFI_MM_SYSTEM_TABLE   *gMmst             = NULL;
 /**\r
   The constructor function caches the pointer of the MM Services Table.\r
 \r
-  @param  ImageHandle   The firmware allocated handle for the EFI image.\r
-  @param  SystemTable   A pointer to the EFI System Table.\r
+  @param  ImageHandle     The firmware allocated handle for the EFI image.\r
+  @param  MmSystemTable   A pointer to the MM System Table.\r
 \r
   @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r
 \r