From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.54]) by mx.groups.io with SMTP id smtpd.web12.13534.1609766596664580461 for ; Mon, 04 Jan 2021 05:23:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=2ZCyrwvb; spf=pass (domain: arm.com, ip: 40.107.8.54, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8uVdpN+UldAqS3GxdK180hY0yQ0bl/vLn4jnODK7+9w=; b=2ZCyrwvba1cuD9lmzaH8SNNh+7MDh6zAsdZaBsJqB7lzzPcFk99nsMSsYMnjlqpUA25Atie76L3l2SIcIloyWniQqdgOe94SLhsZLPJ53M6Pr4PiZ6AieWx7s3RWRQ6dgZqnGu9KT98FDMzO7OOwrLj5Z/8flzsKlqoa2Ytow34= Received: from AM5PR1001CA0035.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:2::48) by DB7PR08MB3883.eurprd08.prod.outlook.com (2603:10a6:10:76::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20; Mon, 4 Jan 2021 13:23:12 +0000 Received: from AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:2:cafe::88) by AM5PR1001CA0035.outlook.office365.com (2603:10a6:206:2::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20 via Frontend Transport; Mon, 4 Jan 2021 13:23:12 +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 (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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT044.mail.protection.outlook.com (10.152.17.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21 via Frontend Transport; Mon, 4 Jan 2021 13:23:12 +0000 Received: ("Tessian outbound eeda57fffe7b:v71"); Mon, 04 Jan 2021 13:23:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d8eff734ffd00fc8 X-CR-MTA-TID: 64aa7808 Received: from a2b2e0d7cc76.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8CB3C4AA-9839-4700-9390-B1C3375CD077.1; Mon, 04 Jan 2021 13:22:45 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a2b2e0d7cc76.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bjgt74xyCGn0A4JHmhGv2BPYJo1S+HDkTkLtvJexN/CtVFqbwanNoPpd8qO/8uYrQ3ldEuP2r9PRFA7+OPduLkWHlc4bcpuaxKePEmQoCKgr1EPyTGC3vJHU8XQFMQrE0DiqbloJ9Ta2Nw8769b7k99JluqKBpcS6WlcJbBbj2RAtvVdsK1YbkA0cqNafrQkZ3U4O+p4OeJmE0y+vpOVEG6v6Q+nCbGxzNVMKoyniAT0xKbDCRhZWaMNQbIKeuP5brcUDcnGNKy+MmxH9KeFtrgytrD7SXZev0C+w2ANqC/CuQ2W2A8ZWjM3nkpHqHhyihfepLSjZbkfOY8d2DSYsA== 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=8uVdpN+UldAqS3GxdK180hY0yQ0bl/vLn4jnODK7+9w=; b=L1u7MNy/1n/5z4McQ+gaqAKJo60JYDZpeyW0OFGERRPaKJO93FF7YPYHcUzwGAPE3xJgtVFd4r9LlUiw10rBHMyfYXRchnkKmzgzpOuagM/9oqKURH/VtNJlmifTMXP3aRqgXjaix2QhjRoxqBBDu4TaTCAivX5VAPfhnqSGuCh/aLjPsXNtGIDSAKv0nU4iY8j3786vovkKSw4H32rf1zD47L61yOw11kQcUpSBaaMQ/UfI1IlZYVFVJ0DSkEVKg2jF+nZSCRwXcfGGx60HYyjfOMYVKZD3M5cbt96NVMi9opMQgRJ8AfYQE+XmBN8vQpVfHM4wG2RwjdKAWWNtCA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8uVdpN+UldAqS3GxdK180hY0yQ0bl/vLn4jnODK7+9w=; b=2ZCyrwvba1cuD9lmzaH8SNNh+7MDh6zAsdZaBsJqB7lzzPcFk99nsMSsYMnjlqpUA25Atie76L3l2SIcIloyWniQqdgOe94SLhsZLPJ53M6Pr4PiZ6AieWx7s3RWRQ6dgZqnGu9KT98FDMzO7OOwrLj5Z/8flzsKlqoa2Ytow34= Received: from DB6PR0501CA0048.eurprd05.prod.outlook.com (2603:10a6:4:67::34) by AM5PR0801MB2065.eurprd08.prod.outlook.com (2603:10a6:203:4a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20; Mon, 4 Jan 2021 13:22:44 +0000 Received: from DB5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:67:cafe::b3) by DB6PR0501CA0048.outlook.office365.com (2603:10a6:4:67::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19 via Frontend Transport; Mon, 4 Jan 2021 13:22:44 +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; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT024.mail.protection.outlook.com (10.152.20.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3721.21 via Frontend Transport; Mon, 4 Jan 2021 13:22:44 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:32 +0000 Received: from E107187.Arm.com (10.57.38.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Mon, 4 Jan 2021 13:22:31 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [PATCH v3 20/26] StandaloneMmPkg: Fix ECC error 9002 in CoreMemoryAllocationLib Date: Mon, 4 Jan 2021 13:22:07 +0000 Message-ID: <20210104132213.22376-21-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20210104132213.22376-1-sami.mujawar@arm.com> References: <20210104132213.22376-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: 1d89437d-5301-4905-d073-08d8b0b3e2a6 X-MS-TrafficTypeDiagnostic: AM5PR0801MB2065:|DB7PR08MB3883: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6108;OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: o/CEn9Qq8T3vGEne34ruA7NyamTBF2r+QgOpcmC390TUrZr0JvbYsEl7ZgsbFQHtOltNfKQcNbPX8QW1AiksHcCL/EXp+Hrhrb2ufnUvbg7pwgUQXnXMtCAIekWS3825dD10QgBtMsDWvSaDev7NrXJ5d4M+zdECJDVl5GGnkRLEleIHNe33mpi4YL9tVgsV4n/4bQD+rcd8E3j1Ob9j8qwrsXP8cu/WrimiTfFRGcMqi/yHKUIO7APWxGn1ETTepqdpGR+uqTo8RDBujT11X0aevMoPechyRy7yFfaKhGJxYAHm2LI6tKwnPUKvL7IJCIcl2OumTzLuLSa0eIu2dCEQMy0j1VJ+Tkh0ThZcXEGF/iGiu3HDkN6oow5vNWJoE3N8dTYGT9DY9Wnl61rKKyKC5MOLmJFRaY3gylqxH3sn9Ul1j/dUS1qRQRpB9SV6o+Xna5fBHUxKVuazbXhQVBwivH6l+K6+g/dQi4cqApsFX4CmRjyb91fpImN+LAudKuv10GuNsut4U7ibkvIto4OWmprQAolNi6Cl9j+QmDY= 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)(39860400002)(376002)(136003)(346002)(396003)(46966006)(478600001)(2616005)(83380400001)(70206006)(2906002)(6666004)(336012)(6916009)(426003)(44832011)(86362001)(70586007)(36756003)(186003)(26005)(47076005)(1076003)(5660300002)(4326008)(7696005)(82310400003)(81166007)(356005)(82740400003)(54906003)(316002)(8936002)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB2065 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 79e705e6-0649-461e-f3ae-08d8b0b3d230 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JVwVi/KD5mh2dINldF4s3lY5tzgZjPut8snw+WPD0c6h4/IAXuqeCPaj3iKO4UNPVPqNmFSWsdYdzPRiqdgT/DJsFFwc1RTl3oMeDasj+nmOuTRr3M2qY3nDieetoTrAW0Uuqu5+BpubU07+YtOn2NOsv9SU2mLpfo23F6sdFQ0we0mfxrfsV34bvN1RLqEHcwK1T8lXGI8Gv2R7mma+M3ChChcGB/YhaRBo86G1NCcj61n9Lm6ciYT3/TQjaHhGORXWgSOJskHI0EPUSVgshwBuSzm0NowZIfIfE3kyyeh/O9Cy2w1JZs/7yUxlJ7T1V+tX9VWQ0qKSDBQ/FJs2FVufOixUoTcZtUgYiik1ZvFY9i836XbYUmTPqZgu2jvV+Zr5cSAwTGPfMJqJo0p07e2x5Pf2Lw5y+v3d6UDpMWYqIAZWdY/mTDCud89ZG6Krnz0vb+tmwcP4xmgUdjH8yoZbhlMnNd39rGahPABnp5XhG1t9kfayRpBn1ZQJxa6xsPhBg0gCRSyXfY85cIrt+/Hj6ZKecKWs2SbT4/eL4R0= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(6029001)(4636009)(39860400002)(396003)(346002)(136003)(376002)(46966006)(2906002)(5660300002)(478600001)(70586007)(2616005)(81166007)(26005)(36756003)(7696005)(8936002)(82740400003)(336012)(6916009)(82310400003)(186003)(4326008)(6666004)(54906003)(47076005)(86362001)(1076003)(316002)(83380400001)(44832011)(426003)(8676002)(70206006);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:12.0543 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1d89437d-5301-4905-d073-08d8b0b3e2a6 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: AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3883 Content-Type: text/plain 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". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c index eb3d772e18c5bf54f3b2f210d53c5821b3358eb4..2313deabbc9836ba30070876cff8125d97eb65fd 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c @@ -2,7 +2,7 @@ Support routines for memory allocation routines based on Standalone MM Core internal functions. Copyright (c) 2015, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -822,8 +822,8 @@ FreePool ( The constructor function calls MmInitializeMemoryServices to initialize memory in MMRAM and caches EFI_MM_SYSTEM_TABLE pointer. - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the Management mode System Table. + @param [in] ImageHandle The firmware allocated handle for the EFI image. + @param [in] MmSystemTable A pointer to the Management mode System Table. @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'