mirror of https://github.com/acidanthera/audk.git
MdePkg: Fix coding style issues
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>
This commit is contained in:
parent
44289eeafd
commit
6c61ec4c62
|
@ -36,8 +36,8 @@ extern CONST UINT32 _gMmRevision;
|
||||||
If _gMmRevision is not zero and MmSystemTable->Hdr.Revision is
|
If _gMmRevision is not zero and MmSystemTable->Hdr.Revision is
|
||||||
less than _gMmRevision, then return EFI_INCOMPATIBLE_VERSION.
|
less than _gMmRevision, then return EFI_INCOMPATIBLE_VERSION.
|
||||||
|
|
||||||
@param ImageHandle The image handle of the Standalone MM Driver.
|
@param ImageHandle The image handle of the Standalone MM Driver.
|
||||||
@param SystemTable A pointer to the EFI System Table.
|
@param MmSystemTable A pointer to the MM System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The Standalone MM Driver exited normally.
|
@retval EFI_SUCCESS The Standalone MM Driver exited normally.
|
||||||
@retval EFI_INCOMPATIBLE_VERSION _gMmRevision is greater than
|
@retval EFI_INCOMPATIBLE_VERSION _gMmRevision is greater than
|
||||||
|
@ -68,8 +68,8 @@ _ModuleEntryPoint (
|
||||||
constructors in the proper order based upon each of the library instances own
|
constructors in the proper order based upon each of the library instances own
|
||||||
dependencies.
|
dependencies.
|
||||||
|
|
||||||
@param ImageHandle The image handle of the Standalone MM Driver.
|
@param ImageHandle The image handle of the Standalone MM Driver.
|
||||||
@param SystemTable A pointer to the MM System Table.
|
@param MmSystemTable A pointer to the MM System Table.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
@ -94,8 +94,8 @@ ProcessLibraryConstructorList (
|
||||||
have destructors, and calling the library destructors in the proper order
|
have destructors, and calling the library destructors in the proper order
|
||||||
based upon each of the library instances own dependencies.
|
based upon each of the library instances own dependencies.
|
||||||
|
|
||||||
@param ImageHandle The image handle of the Standalone MM Driver.
|
@param ImageHandle The image handle of the Standalone MM Driver.
|
||||||
@param SystemTable A pointer to the MM System Table.
|
@param MmSystemTable A pointer to the MM System Table.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
@ -115,8 +115,8 @@ ProcessLibraryDestructorList (
|
||||||
responsible for collecting the module entry points and calling them in a
|
responsible for collecting the module entry points and calling them in a
|
||||||
specified order.
|
specified order.
|
||||||
|
|
||||||
@param ImageHandle The image handle of the Standalone MM Driver.
|
@param ImageHandle The image handle of the Standalone MM Driver.
|
||||||
@param SystemTable A pointer to the EFI System Table.
|
@param MmSystemTable A pointer to the MM System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The Standalone MM Driver executed normally.
|
@retval EFI_SUCCESS The Standalone MM Driver executed normally.
|
||||||
@retval !EFI_SUCCESS The Standalone MM Driver failed to execute normally.
|
@retval !EFI_SUCCESS The Standalone MM Driver failed to execute normally.
|
||||||
|
|
|
@ -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
|
If _gMmRevision is not zero and SystemTable->Hdr.Revision is
|
||||||
less than _gMmRevision, then return EFI_INCOMPATIBLE_VERSION.
|
less than _gMmRevision, then return EFI_INCOMPATIBLE_VERSION.
|
||||||
|
|
||||||
@param ImageHandle The image handle of the Standalone MM Driver.
|
@param ImageHandle The image handle of the Standalone MM Driver.
|
||||||
@param SystemTable A pointer to the EFI System Table.
|
@param MmSystemTable A pointer to the MM System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The Standalone MM Driver exited normally.
|
@retval EFI_SUCCESS The Standalone MM Driver exited normally.
|
||||||
@retval EFI_INCOMPATIBLE_VERSION _gMmRevision is greater than
|
@retval EFI_INCOMPATIBLE_VERSION _gMmRevision is greater than
|
||||||
|
|
|
@ -22,8 +22,8 @@ EFI_MM_SYSTEM_TABLE *gMmst = NULL;
|
||||||
/**
|
/**
|
||||||
The constructor function caches the pointer of the MM Services Table.
|
The constructor function caches the pointer of the MM Services Table.
|
||||||
|
|
||||||
@param ImageHandle The firmware allocated handle for the EFI image.
|
@param ImageHandle The firmware allocated handle for the EFI image.
|
||||||
@param SystemTable A pointer to the EFI System Table.
|
@param MmSystemTable A pointer to the MM System Table.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
|
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue