StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmCoreEntryPoint

Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3150)

Fix the ECC reported error "[9002] The function headers should follow
Doxygen special documentation blocks in section 2.3.5 in Comment".

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Sami Mujawar 2020-12-07 12:10:43 +00:00 committed by mergify[bot]
parent 3ae63c2c55
commit 4779bc6c0b
3 changed files with 16 additions and 10 deletions

View File

@ -140,8 +140,9 @@ LocateStandaloneMmCorePeCoffData (
Use the boot information passed by privileged firmware to populate a HOB list Use the boot information passed by privileged firmware to populate a HOB list
suitable for consumption by the MM Core and drivers. suitable for consumption by the MM Core and drivers.
@param CpuDriverEntryPoint Address of MM CPU driver entrypoint @param [in, out] CpuDriverEntryPoint Address of MM CPU driver entrypoint
@param PayloadBootInfo Boot information passed by privileged firmware @param [in] PayloadBootInfo Boot information passed by privileged
firmware
**/ **/
VOID * VOID *
@ -155,9 +156,11 @@ CreateHobListFromBootInfo (
/** /**
The entry point of Standalone MM Foundation. The entry point of Standalone MM Foundation.
@param SharedBufAddress Pointer to the Buffer between SPM and SP. @param [in] SharedBufAddress Pointer to the Buffer between SPM and SP.
@param cookie1. @param [in] SharedBufSize Size of the shared buffer.
@param cookie2. @param [in] cookie1 Cookie 1
@param [in] cookie2 Cookie 2
**/ **/
VOID VOID
EFIAPI EFIAPI

View File

@ -2,7 +2,7 @@
Creates HOB during Standalone MM Foundation entry point Creates HOB during Standalone MM Foundation entry point
on ARM platforms. on ARM platforms.
Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.<BR> Copyright (c) 2017 - 2021, Arm Ltd. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent SPDX-License-Identifier: BSD-2-Clause-Patent
**/ **/
@ -46,7 +46,9 @@ extern EFI_GUID gEfiArmTfCpuDriverEpDescriptorGuid;
Use the boot information passed by privileged firmware to populate a HOB list Use the boot information passed by privileged firmware to populate a HOB list
suitable for consumption by the MM Core and drivers. suitable for consumption by the MM Core and drivers.
@param PayloadBootInfo Boot information passed by privileged firmware @param [in, out] CpuDriverEntryPoint Address of MM CPU driver entrypoint
@param [in] PayloadBootInfo Boot information passed by privileged
firmware
**/ **/
VOID * VOID *

View File

@ -214,9 +214,10 @@ GetSpmVersion (VOID)
/** /**
The entry point of Standalone MM Foundation. The entry point of Standalone MM Foundation.
@param SharedBufAddress Pointer to the Buffer between SPM and SP. @param [in] SharedBufAddress Pointer to the Buffer between SPM and SP.
@param cookie1. @param [in] SharedBufSize Size of the shared buffer.
@param cookie2. @param [in] cookie1 Cookie 1
@param [in] cookie2 Cookie 2
**/ **/
VOID VOID