From nobody Mon Feb 9 00:30:35 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68576+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 160753966819331.88412885396474; Wed, 9 Dec 2020 10:47:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1AD1YY1788612xRiuGGGCHbH; Wed, 09 Dec 2020 10:47:47 -0800 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.83]) by mx.groups.io with SMTP id smtpd.web10.451.1607539665555883933 for ; Wed, 09 Dec 2020 10:47:46 -0800 X-Received: from DB3PR08CA0014.eurprd08.prod.outlook.com (2603:10a6:8::27) by AM7PR08MB5463.eurprd08.prod.outlook.com (2603:10a6:20b:106::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:41 +0000 X-Received: from DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:8:0:cafe::6c) by DB3PR08CA0014.outlook.office365.com (2603:10a6:8::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18 via Frontend Transport; Wed, 9 Dec 2020 18:47:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68576+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT027.mail.protection.outlook.com (10.152.20.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:41 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Wed, 09 Dec 2020 18:47:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d1fe9f0ae9380945 X-CR-MTA-TID: 64aa7808 X-Received: from 09f6f5cd0dbd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3BA824EE-53EC-4567-96FF-E2D2639182D3.1; Wed, 09 Dec 2020 18:47:26 +0000 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 09f6f5cd0dbd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RafLTrhuBBz/MxrCbli4wHPJhFiHr/RXN3clhXw5qC5peqCk0bohva2lrXHoGVriPCDDyEno2ZLP0dOXRsiL1aZ2GuhoxRNU5BAILwUmecLp1AMdEzYF51ix67HzXvQtuApaK/ToZ3/9oizhCdPjwfkRVDHAS7SQpSzl5p3aGrL4TlbxkPKL/58zfw/MKyHde9r/DiZ8UXgO/duDdX5eeb9X4Eu7PPae8XI8MIhmx2EI7b31KFjV0E8RE+FwFyzaCTLnHZ4cJnjhI91TaHJ+oVqC2QuQx8Ips5wiWrTnudwqcotoPPYjFPez7ON8MJ7pCpSfxAqUkfSuN73ZMZ+4tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ROwr97iPlBC2vldsJCrLCvdXuDcOcTtLA2lvP1/uxrM=; b=W6aXhWeCr417hTmtXpthS62Ce/hJEXgSvdIXFvcUp5blYAfthvw/xYu4CX3ztbiOs53HGS2E+/X2/cBJ8gihdnDzpGoGXP4QAk60kO1DwMDPAHVCO0Z1IcCebE9AK5QOYleQFUJhWkcVD7VlYZq+T5HLe3o1aJ8L+3awhqfqwLx2WTfpqmN2BNeMeyLhTyU0Dunda9upYs/LXyM60rlvUrlYAoirAX8dASvQE5tkytgQZXXtCrdCjWIPNK29SCyIKT7BsLcNY16IRoQYaoUU1dMe4TzjccoFVeSRCdE5xommLV2epCzb0laZOkaGpL6lX63Bza3yQ/X4wtviZ1nfZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from DB7PR02CA0035.eurprd02.prod.outlook.com (2603:10a6:10:52::48) by DB8PR08MB4186.eurprd08.prod.outlook.com (2603:10a6:10:b1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::f8) by DB7PR02CA0035.outlook.office365.com (2603:10a6:10:52::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:18 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 12/25] StandaloneMmPkg: Fix ECC error 4002 and 9002 in StandaloneMmCore Date: Wed, 9 Dec 2020 18:46:57 +0000 Message-ID: <20201209184710.20912-13-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 19c0a832-ef4a-448f-fdfb-08d89c72e895 X-MS-TrafficTypeDiagnostic: DB8PR08MB4186:|AM7PR08MB5463: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ijC6+mNWUTvjqLOl4syhCtadr5cjhxEpJOUtOax2tURgbcwbtyQD29dhHHPrLtCBCufIdEjbA4KTcDD7eojEbinl6RnNJMUMOS5OKgm1rRLZUAU610/AT9nnV6S1krW4RMvbmUDnRbmhgLtyEZBi/HxpWzZ2uO6H9Nb+O3oizc7rbe7U98w62/SX/ELECBICic/HrkChaHE9cvCwtRgPmUfhFYbM1LLwCBc3Ffashtuf7+skjy2HGk1LIOLUKqlT60gU41ngSCBCHqNWpeBbxZQSbITZZrC6elWzsds8z4P1XKDhxDCGq4/dFA0bbrX2CsR3Pi1N4/AWDcoDezVMMNmG01vyB+B1RYCiFMs+pj5k9nzz9gd/K3MOWvQ9Ynwr7Q4pyc9wu5mcqUf8Oiegbw== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(86362001)(44832011)(5660300002)(83380400001)(6916009)(54906003)(6666004)(36756003)(4326008)(8676002)(186003)(2906002)(81166007)(356005)(1076003)(7696005)(82310400003)(47076004)(2616005)(70206006)(8936002)(426003)(336012)(70586007)(508600001)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4186 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 12580952-0c99-4ea7-fa3d-08d89c72ddb5 X-Microsoft-Antispam-Message-Info: aSFf+fgztZvWbZdHftksdJzMXBq3RtI+mXMaOzDsDiLwz3/EelF/vHjjUVePVDw+9WR12SePb4POCjawPqtX98NMlU5FFZqMC0pydwB0P52Xxoup3YUsnOADwf/8rDM3XkPk2WTCJMxWB/s24b9nvtPKkjOH/DvPtr5NVYtEGG1IDMUw0gu6rcd6uCwAOR24V7rw84+IfyFipp7uSAOiqM2ndu2aDhM0aiylykNeW4+JFp1SbJHT0dBegOW/PGc67MwIvKxM1gMInq5tpf2wLKWp3urApNcX2MZf8Ih9vTTj0o/QCV3IlcJk98KzPCTYHfsviiCvYCeWQDYd+PY4T/oGPBUqgSNERrLrww8KvHmAIjHbRR4TaFbBvRbc3rCA5fhMKVeZcuqQ00XpbjNSlQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:41.5204 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19c0a832-ef4a-448f-fdfb-08d89c72e895 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5463 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sami.mujawar@arm.com X-Gm-Message-State: XKRznxapx1rsCNLFc8hkIWawx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539667; bh=FXDW4t+V/Hfqz2l3avVPaJnkce13okwEnGEAlN7r4hs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=UConHYr7coxt41wt4hiVRCtjfstDwB485HjbW3UzUoE/li7C0ifqyOcDg+JF4RMFiRN lP78Q3hrWcpnqxWypDByNdWS5CHV19O3V0cG/B9fgHz8qJq5S+HdimGvfS8sjM+1h1+OU 3X99ePjcobHzQw2PdgWP2cHuOpCAvsYm0w4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add doxygen style function documentation headers to fix the ECC reported errors: - [4002] Function header doesn't exist. - [9002] The function headers should follow Doxygen special documentation blocks in section 2.3.5. Signed-off-by: Sami Mujawar --- StandaloneMmPkg/Core/StandaloneMmCore.c | 23 +++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core= /StandaloneMmCore.c index 803d7605ece7f6a3400866a04e39acf74cda8144..b04a9f985c6ecc601a6d7caf8fd= 433a1d4cf73c4 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -414,6 +414,15 @@ MmEntryPoint ( DEBUG ((DEBUG_INFO, "MmEntryPoint Done\n")); } =20 +/** Register the MM Entry Point provided by the MM Core with the + MM Configuration protocol. + + @param [in] Protocol Pointer to the protocol. + @param [in] Interface Pointer to the MM Configuration protocol. + @param [in] Handle Handle. + + @retval EFI_SUCCESS Success. +**/ EFI_STATUS EFIAPI MmConfigurationMmNotify ( @@ -448,6 +457,12 @@ MmConfigurationMmNotify ( return EFI_SUCCESS; } =20 +/** Returns the HOB list size. + + @param [in] HobStart Pointer to the start of the HOB list. + + @retval Size of the HOB list. +**/ UINTN GetHobListSize ( IN VOID *HobStart @@ -475,12 +490,10 @@ GetHobListSize ( =20 Note: This function is called for both DXE invocation and MMRAM invocati= on. =20 - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the EFI System Table. - - @retval EFI_SUCCESS The entry point is executed successfully. - @retval Other Some error occurred when executing this entry poi= nt. + @param HobStart Pointer to the start of the HOB list. =20 + @retval EFI_SUCCESS Success. + @retval EFI_UNSUPPORTED Unsupported operation. **/ EFI_STATUS EFIAPI --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#68576): https://edk2.groups.io/g/devel/message/68576 Mute This Topic: https://groups.io/mt/78836544/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-