From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.45]) by mx.groups.io with SMTP id smtpd.web09.462.1607539669555670050 for ; Wed, 09 Dec 2020 10:47:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=sv78gPX3; spf=pass (domain: arm.com, ip: 40.107.4.45, 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=jmwEOZum/1BSKipgPuSpqimFl8rrXYx7IEbfBZ0gWmE=; b=sv78gPX3QGlxB4bqDBYjZgcO13/xJMTwvQfxHmI3tytFWHOYZpPQj5lQVZY1SUMj/DpN2fSLVoiQMjYKobdbaOE79hEddBA7ekrz7zP9h2+0H/chqjWYB/8lDcCnfBfXtCrZ+OL6yeG75fr4mNHqtEKavhV/nQP7pA3w8usttJw= Received: from AS8PR04CA0151.eurprd04.prod.outlook.com (2603:10a6:20b:331::6) by VI1PR08MB4606.eurprd08.prod.outlook.com (2603:10a6:803:bb::33) 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:47 +0000 Received: from AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:331:cafe::3f) by AS8PR04CA0151.outlook.office365.com (2603:10a6:20b:331::6) 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:47 +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 AM5EUR03FT054.mail.protection.outlook.com (10.152.16.212) 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:47 +0000 Received: ("Tessian outbound 665ba7fbdfd9:v71"); Wed, 09 Dec 2020 18:47:47 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 655e1c0c1be611fd X-CR-MTA-TID: 64aa7808 Received: from ffc06fbd25a6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ACA2B9C3-ED80-4A14-9E36-9D0DB5894EE3.1; Wed, 09 Dec 2020 18:47:31 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ffc06fbd25a6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lZIgYOGGaD3Bu82gX20ZRtLbz17D21dXxkN5+O13mMZ577QU14Lnr1RAj7Bi+zMUAHxl+hBqfKUDRszXo2HAZZPZBeozr9ZcvPQ0+8sfyZg1swskjMSOrCXRZZR6x69IOuUrTSi4XySIYWW+UQsVKqd0kYlc10cwOe/2XpOClTIeeIk1TU5NJqb8Rthfz2vZcoVN1iF3HUiWbJVzPXi+vytkzYC1Luu9Mn03DtIjcC554koX181DXJTmSNXGkfXzj6vSupmJSW7dNpcoZDMTSufcnjjIQri6f7uowsyuQP+aLDIMQT3DfK1XQWKmNNpUH/JlRfKsfqSWi+aF7xdPAg== 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=jmwEOZum/1BSKipgPuSpqimFl8rrXYx7IEbfBZ0gWmE=; b=K2rthLgyAn2ULlUTn2HWdI4RmZkM0Z1W/2722Szjv77O7UgWmpJoaNH2HV3JAAQsxHfkaL++702gY78ojsgvVnIcQ9A9W0uWR57liaAH0webn1zXYW93sxEP8hw+GBNbIUGP2/ivY+itjGiVxCsJ6GRIiqOINbD3e+tFJXSki0JTgn6LRFzhvMjbugu8QG6R/Gpahp91Mzi9FgneVjdpeLQ9vmu0b0F2ZFds1wg6nS90AmuTkAbYc973RxzBaZdU45sWz+VWtwXks69HdoUQRgGzCjxpczwwcJ3K6wnGsa4C2PynuA0PkS85T2Qxl/O71TVKcnM/o7X2v0KfnYj4WQ== 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=jmwEOZum/1BSKipgPuSpqimFl8rrXYx7IEbfBZ0gWmE=; b=sv78gPX3QGlxB4bqDBYjZgcO13/xJMTwvQfxHmI3tytFWHOYZpPQj5lQVZY1SUMj/DpN2fSLVoiQMjYKobdbaOE79hEddBA7ekrz7zP9h2+0H/chqjWYB/8lDcCnfBfXtCrZ+OL6yeG75fr4mNHqtEKavhV/nQP7pA3w8usttJw= Received: from DB7PR02CA0031.eurprd02.prod.outlook.com (2603:10a6:10:52::44) by AM0PR08MB4241.eurprd08.prod.outlook.com (2603:10a6:208:140::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 18:47:29 +0000 Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::b4) by DB7PR02CA0031.outlook.office365.com (2603:10a6:10:52::44) 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:29 +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 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:29 +0000 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:23 +0000 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:22 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v1 20/25] StandaloneMmPkg: Fix ECC error 9002 in CoreMemoryAllocationLib Date: Wed, 9 Dec 2020 18:47:05 +0000 Message-ID: <20201209184710.20912-21-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 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: 324c5509-d39e-43a1-b13d-08d89c72ebff X-MS-TrafficTypeDiagnostic: AM0PR08MB4241:|VI1PR08MB4606: 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: L++P9MJFlk+A23XIbnSwPntJvyrSTAnGezvfzFBCQzk+SddqqUhMRGdhjZjt7Pds3++RSx+w6xSaxBeQ8voj9fuhTP0qlAIHT76h3Zqb02Ug9Pw9et8weyvVCpopwQ+DSogKF8H5FUUuAw4jvbUVgDCw/EaUK3QC3G8cY/W8pJkMGi50l+u0gkX1GNG5nJ+fZkwqIDOKLHUh9hSGenfv+io2NmjtIt0Xo80fohr+Zi3tTUoQM56u09srPp0PD0X91wYU1XkjVB3xB5LWYejUp4hkiVZ+BIbksiu/nrNtanXds/iHiAEeuWuJTTz8iX4eZlM+Kz/pFy32LlZniCXl5hc+MqRCxRUYh/1+r+edGm5sUobYyke+UEeQSDNie4mGvPqqgWb8L9mMaiZHd3+2ew== 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)(136003)(376002)(346002)(46966005)(8936002)(83380400001)(2906002)(81166007)(26005)(4326008)(70206006)(2616005)(44832011)(186003)(82310400003)(7696005)(36756003)(70586007)(508600001)(8676002)(6916009)(54906003)(86362001)(6666004)(336012)(426003)(1076003)(356005)(5660300002)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4241 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a0dffceb-eb08-4f6f-cd7a-08d89c72e166 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KiR7FE6HYoizJ97c1ka5AU9JPoCcJ2vDbqGr0ElmQpXT/HZyaYfRW2ixobVMxn8fGWcsDbXx8TmERg40lmKNYAeI90650pOfhouz5c5sYqB9gHhPRpXba793Z1A1YUDGpE7ZkphzjFcTPhnxI9PM/b9O9H6326UeGYxzKRVkb0SvKE8RvqnjQaSGgga0HNA6gRjPOO5rafAmy4q6EEKs5nF3ONzHQGOpMRk0p5+Xa4ioLM+n8JKKIPItGkkDuE+/cDUJEjIRKADpHq1A0b0eOaHgp2QSuzFXc/xRFIHnI/8g+PB1nnaOvO8kuWb1aig6lprJwnQ70/mRV7U8SIXT/y1dfj8rYkLaXCxSdQHG1Epw6w7yEvBr2tYSX3koRW2qyX4LdJaqxmNWJh9h36Bzyg== 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)(376002)(346002)(136003)(46966005)(26005)(86362001)(2906002)(186003)(7696005)(36756003)(82310400003)(2616005)(70206006)(4326008)(70586007)(8936002)(5660300002)(8676002)(44832011)(426003)(6916009)(36906005)(81166007)(6666004)(54906003)(508600001)(1076003)(47076004)(336012)(83380400001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:47.1953 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 324c5509-d39e-43a1-b13d-08d89c72ebff 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: AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4606 Content-Type: text/plain 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 --- 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)'