mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
StandaloneMmPkg: Fix ECC error 4002 in FwVol helper
Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3150) Fix ECC Error "[4002] Function header doesn't exist Function [MmCoreFfsFindMmDriver] has NO comment immediately preceding it." 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:
parent
a9da96ac2a
commit
92df3ca898
@ -1,7 +1,7 @@
|
|||||||
/**@file
|
/**@file
|
||||||
|
|
||||||
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
|
Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
**/
|
**/
|
||||||
@ -42,23 +42,24 @@ FvIsBeingProcessed (
|
|||||||
IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader
|
IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
Given the pointer to the Firmware Volume Header find the
|
||||||
|
MM driver and return its PE32 image.
|
||||||
|
|
||||||
|
@param [in] FwVolHeader Pointer to memory mapped FV
|
||||||
|
|
||||||
|
@retval EFI_SUCCESS Success.
|
||||||
|
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||||
|
@retval EFI_NOT_FOUND Could not find section data.
|
||||||
|
@retval EFI_OUT_OF_RESOURCES Out of resources.
|
||||||
|
@retval EFI_VOLUME_CORRUPTED Firmware volume is corrupted.
|
||||||
|
@retval EFI_UNSUPPORTED Operation not supported.
|
||||||
|
|
||||||
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
MmCoreFfsFindMmDriver (
|
MmCoreFfsFindMmDriver (
|
||||||
IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader
|
IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader
|
||||||
)
|
)
|
||||||
/*++
|
|
||||||
|
|
||||||
Routine Description:
|
|
||||||
Given the pointer to the Firmware Volume Header find the
|
|
||||||
MM driver and return its PE32 image.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
FwVolHeader - Pointer to memory mapped FV
|
|
||||||
|
|
||||||
Returns:
|
|
||||||
other - Failure
|
|
||||||
|
|
||||||
--*/
|
|
||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_STATUS DepexStatus;
|
EFI_STATUS DepexStatus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user