From nobody Thu Apr 25 21:29:56 2024 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+69560+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 1609766567879839.9383810884281; Mon, 4 Jan 2021 05:22:47 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id YG4NYY1788612xoYRpqpGB0u; Mon, 04 Jan 2021 05:22:47 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.72]) by mx.groups.io with SMTP id smtpd.web11.13260.1609766555727010263 for ; Mon, 04 Jan 2021 05:22:36 -0800 X-Received: from AM5PR0201CA0006.eurprd02.prod.outlook.com (2603:10a6:203:3d::16) by VI1PR08MB3392.eurprd08.prod.outlook.com (2603:10a6:803:7b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:32 +0000 X-Received: from VE1EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:3d:cafe::c) by AM5PR0201CA0006.outlook.office365.com (2603:10a6:203:3d::16) 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:22:32 +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+69560+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 VE1EUR03FT027.mail.protection.outlook.com (10.152.18.154) 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:22:31 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Mon, 04 Jan 2021 13:22:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ccfee5019e90df2a X-CR-MTA-TID: 64aa7808 X-Received: from 7840a8cfebf4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 629F2ED5-0BCA-4F24-AD17-59EDB9989016.1; Mon, 04 Jan 2021 13:22:19 +0000 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7840a8cfebf4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cZJkhGci4bO3ts/C1D2t75XRBfEgOAwDjPQeJQhBwqzZjE6190GSwQz+FKUWESh8ZTvWm3LypYVhWO0Np7q10TFkKuZnA8DF0EMQYRn8sjX3wbdrSnIU0xEC+0l9RbHYZUv/EHKW2OgkRU7IcOoZmuDtbmELscOpAwz0uYPTIvRtbBSyiFrKp5H87QMdufgyP6Apb+1DgSHpO5UMoXQ0EJRdA5C5LZAwAAcaY713fUms7gsTdlAiQM60jXFEPHU3E7rdJrKTCpJJ096cm3c1gWg8dO0uur4TNVyWMkYpTFcLoRrCsGPWX2mgzZABVna7wWP+jsyySR9dowV/0b7ifQ== 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=SSZm/g8VJwkzWbIQaPyY7TozTVbgGy2uTYE6N0bR1as=; b=gx4ku5KGYgc1Xxy3IzaGDL8TmDJgvrNKtPjl8hSjMr8ad4Kebklb0mDtVi2ci+AV5rAc7jDIjBvxDL2If3daAzU1wXWwokUlReYQiIm+wL4FV0rvZiWXpwEdUmaPSUy9NAL0UAa3W4tPHwWDJDPiyjqUklaTUN+wcyEV8uw/LF8YQU12+VOoM4AA2LYymnsP3ydBEWO4UYIwzZ47T5bp7RAp2zAYW2IwXKVptuu7dAYprBSeFC8vSgCxFZCBgmGI2Zlrk6X8l+yQ6fevSaeZ61cUkZXDBwbYvAyksny39j9l1yiBbWpmKOPgvOfyMDH0UZbTFFmPmhiq9l8h/EVDJg== 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 DB6PR0802CA0036.eurprd08.prod.outlook.com (2603:10a6:4:a3::22) by AM9PR08MB5971.eurprd08.prod.outlook.com (2603:10a6:20b:2d9::22) 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:17 +0000 X-Received: from DB5EUR03FT030.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:a3:cafe::cf) by DB6PR0802CA0036.outlook.office365.com (2603:10a6:4:a3::22) 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:15 +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 DB5EUR03FT030.mail.protection.outlook.com (10.152.20.144) 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:15 +0000 X-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:14 +0000 X-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:14 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 01/26] StandaloneMmPkg: Add library header files to DEC Date: Mon, 4 Jan 2021 13:21:48 +0000 Message-ID: <20210104132213.22376-2-sami.mujawar@arm.com> 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: 2345e095-1b05-486f-f574-08d8b0b3cacf X-MS-TrafficTypeDiagnostic: AM9PR08MB5971:|VI1PR08MB3392: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4502;OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 1mQhqOEbgRdUulUq/5FLHMkb4bFELfnI88+D6Kjj8moXYt5E1wB5+hh0oeIpJ4paaHC6Z9btA3Wt3YUaXHZjuafmxpD9Tq7R2u87R/9H22z/EaWc54IX5/QUQV5nNpaPiWfYYCneueh0B1Lf+oqA8uublVDTa0Ky1GfCHJBji4XFfKbroSF046kAHBrST5+ZIkcW+Zgw+mRAnz25DIhMfYPQCF64MXJBMog1lOAKUQ6QvGcvzssdmMEicbT66vuAOT+290996qQhh4IaswA5f9kGyzDtbrR9raueDHt4x1aqMuIgYXjwWHSeMCUzULHz4bBRezq1O6wbp4/oS1eJM89Z2yH196PfUDFoLhQ0VrTXQEileH1Pb0dCvQsFaQiMuEHhUPyp5M1AaciaTuOalJgnu1mIqHRJiAfRmAHybdcbfRxvlDExrqHxDJaotcv74nGEi/l4/L8Zqs2ZB0Qac0pZW1hAafFYm/Ck6iS+7kfe6CY9aUNgAkitt9k+7MTGRIHpqqpyvnH/YzFuOzYGKopCdqXu77JDxSBLQI88yFY= 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)(396003)(346002)(39860400002)(46966006)(356005)(6916009)(7696005)(336012)(26005)(81166007)(2906002)(83380400001)(70586007)(70206006)(82310400003)(5660300002)(82740400003)(86362001)(186003)(36756003)(1076003)(8936002)(6666004)(2616005)(8676002)(478600001)(44832011)(4326008)(316002)(426003)(54906003)(47076005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB5971 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 72851384-4dd5-4379-f526-08d8b0b3c12a X-Microsoft-Antispam-Message-Info: bDrjn93ODr0/rGAFB+pfTY9lJCo4V52c+h9oURmR+sQkp+y/P5lwGgXioNAco0K57A8isJLw8kH33SUCPJDYl9oYOfBPfAPv61bjExDwlTZAuzszNhzTR4uOSNzNlIQUA8VDPUerU/+/BfxHwn3vC1Tn00ZPGLUIK9y1M38QwZfzKqos3NuKftK9VA7h3jWDUQXttCX+9SDdg1j/+XUW+nIyp/e3zsFepB4kpc0cyYEJ/laGmB3WjUQ2lLgWmCaj39W08ohWVMdwNVgk8CwEBcCEAEOjpNz1orWlEB/gPobJMoozmtQ77xmlqxPd0EIEmYeFjP0OypBPlS/wVluqKgAU7YdhDO4Jwnw6AdwacczgfWIDK0qEYwdWTJlg7wj+NQygptxIiIKyiZmBN4Xw0gpJGetFsPxt223ZsK30IHFwLnRX+3K1PoCKUZIRLYeJXBA0DAVSVPmBK4YqO7PHcUCwR+xJCSp7gNDOGpZQoRuatHLx2zaK4oP0CQ0v0SDGK34xzdBGEdfYM6WuDDMhgFPwMeXX38MvbfnV0dGQJjo= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:31.9926 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2345e095-1b05-486f-f574-08d8b0b3cacf 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: VE1EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3392 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: 1iD5SOimpygefXnbWUpCuWsRx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766567; bh=lFYEUbVwywdD3YUkSRO4+dapOfLqx5DbNbOjPYs87uc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=hutKWSO0HQli52mZiYfoNTohtv95lqVUuImLCRbwink2qoxwMjMZJ+XCyaPPhLWebcL hE83sLV0M7Lnt4ouRH2muCkFjhMoWWcnLQi8eGhxmLvj5+BqfszUf5PFnfoVWStM1CXwx ydl77MaHFDL40wTKZgwsbJQ027aHcqgiHDA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Declare the library header files in the package DEC file to fix errors reported by Core CI. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/StandaloneMmPkg.dec | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dec b/StandaloneMmPkg/Standalo= neMmPkg.dec index 82cb62568b5356091c263751e19846a64d0f3dcc..2514feab62e4264d400e922873b= 1ba3a48e00036 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dec +++ b/StandaloneMmPkg/StandaloneMmPkg.dec @@ -2,7 +2,7 @@ # This package is a platform package that provide platform module/library # required by Standalone MM platform. # -# Copyright (c) 2016-2018, ARM Ltd. All rights reserved.
+# Copyright (c) 2016-2020, Arm Ltd. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -19,6 +19,24 @@ [Includes] =20 [LibraryClasses] =20 + ## @libraryclass Defines a set of helper methods. + FvLib|Include/Library/FvLib.h + + ## @libraryclass Defines a set of interfaces for the MM core entrypoin= t. + StandaloneMmCoreEntryPoint|Include/Library/StandaloneMmCoreEntryPoint.h + + ## @libraryclass Defines a set of interfaces for the MM driver entrypo= int. + StandaloneMmDriverEntryPoint|Include/Library/StandaloneMmDriverEntryPoin= t.h + + ## @libraryclass Defines a set of interfaces that provides services for + ## MM Memory Operation. + MemLib|Include/Library/StandaloneMmMemLib.h + +[LibraryClasses.AArch64] + ## @libraryclass Defines a set of interfaces for the MM core entrypoin= t for + ## AArch64. + StandaloneMmCoreEntryPoint|Include/Library/AArch64/StandaloneMmCoreEntry= Point.h + [Guids] gStandaloneMmPkgTokenSpaceGuid =3D { 0x18fe7632, 0xf5c8, 0x4e6= 3, { 0x8d, 0xe8, 0x17, 0xa5, 0x5c, 0x59, 0x13, 0xbd }} gMpInformationHobGuid =3D { 0xba33f15d, 0x4000, 0x45c= 1, { 0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3 }} --=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 (#69560): https://edk2.groups.io/g/devel/message/69560 Mute This Topic: https://groups.io/mt/79423263/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- From nobody Thu Apr 25 21:29:56 2024 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+69558+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 1609766557601136.50393663366685; Mon, 4 Jan 2021 05:22:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id y8i2YY1788612xirquJr8qhp; Mon, 04 Jan 2021 05:22:37 -0800 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.42]) by mx.groups.io with SMTP id smtpd.web09.13158.1609766555396416835 for ; Mon, 04 Jan 2021 05:22:35 -0800 X-Received: from MRXP264CA0019.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:15::31) by HE1PR0802MB2298.eurprd08.prod.outlook.com (2603:10a6:3:c4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:31 +0000 X-Received: from VE1EUR03FT048.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:15:cafe::4b) by MRXP264CA0019.outlook.office365.com (2603:10a6:500:15::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.23 via Frontend Transport; Mon, 4 Jan 2021 13:22:31 +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+69558+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 VE1EUR03FT048.mail.protection.outlook.com (10.152.19.8) 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:22:31 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Mon, 04 Jan 2021 13:22:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6df120b8ffefdf96 X-CR-MTA-TID: 64aa7808 X-Received: from be6e424863cc.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F3BCD922-8B57-4B92-ADE9-94D509DF3C0B.1; Mon, 04 Jan 2021 13:22:25 +0000 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id be6e424863cc.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IUT3JQRtLqvi6qTHbf3xSKzyR0nv1VQn4IF/4u6G/8MC5l3YLedCxBjAG6OQe+Q+oxKFYGb1Ero8+d43xilsEI0gaaHxqJV3zFiB6crOyIDQ2RGCDT+ABsuFRIYr8ZpJI46ewOerL8R/nSSpfhSqgyaQnXy6vHcp3ZxN9sr1aaCVRqSZv++IPVdNdqZMlttVv22apqQ3PKCb+KDE42G9EotWtSJlJ4sUXVpvKFmNyuDih4e8xtiHq/mLsdsqrrP4eaVQTGJok60RqfhI++toM/GPkRZKtUeVVzFJjP29fGwW7ZEY7nZ52Uom3A5847XsgZvCmQBlu9gzE85glQNRew== 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=CQsoe2deTLqQFkd3FOTtk1bK8882sWxAGupIAJSz5Mc=; b=aVF2IcvPYvfpFj8AKIjJxx3RTBo8o347XV8wJANDkNbxptYoc5iGbxEFGSA3HEZoqVhuJf5uLNWzcY1CJG4PEYfRwcD9vmbn7sDUBoNm5Ikf2LOY4wDhnmGJhSkMqNjx2VMpASSmbVfbkd7D/znruJ+zHk2xLra8n36EOGcCfvJpZBTXYdQAAgvJF3WNmakCiY9VQQ9A6Rz6eGrabZsbOSXeINmIf0HmnFCacnga3tSmsvKcrRCSqp7KkN2RhEYqd/WDRxssA0Gg4LkAWYcCoaUIZTdSnRhZ1zetOKhevzMF27jA6gRVls4HX0q8JYU1AeXatzK9X37ID+UVBpifeA== 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 DB6PR0501CA0017.eurprd05.prod.outlook.com (2603:10a6:4:8f::27) by VI1PR08MB4527.eurprd08.prod.outlook.com (2603:10a6:803:f8::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:22 +0000 X-Received: from DB5EUR03FT030.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:8f:cafe::5e) by DB6PR0501CA0017.outlook.office365.com (2603:10a6:4:8f::27) 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:22:22 +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 DB5EUR03FT030.mail.protection.outlook.com (10.152.20.144) 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:22 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:16 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Mon, 4 Jan 2021 13:22:15 +0000 X-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:15 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 02/26] StandaloneMmPkg: Add library files to DSC Date: Mon, 4 Jan 2021 13:21:49 +0000 Message-ID: <20210104132213.22376-3-sami.mujawar@arm.com> 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: da96df26-dc1c-4c11-770c-08d8b0b3ca43 X-MS-TrafficTypeDiagnostic: VI1PR08MB4527:|HE1PR0802MB2298: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6430;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: S3jaJ8Gu08xpJW81Vw1mEidQ8me4QV7X3uKb6DnR825gTZVHqVJUFlO15ACkb6eo8PDGpjiZFUfPCy84ieF/vm+4qq7uHalLdESUvjIBP0CsFa361YHAR+y6h6bgOjAja3Jf3OIR7UycQff8gCqWDUteI42Syg44SM0DQdzNJ07KAjv3J+ixFgDmVHYcpfZJbwsB8iY6TdT2kLF63Hvn141KN99yo97A0HMI5zz0r18AXNon6IOb2XLXkB07a++FR1cn8BP0RfcQqwvO07iOuPt93NLPIJC6EbUAhbF6BzJc5ClrLU42ITKixTiVO+KjkwpjkvWFz8YcdEYVWXZjY+AHeQLwXfBp7JZ6eGch3j7OizQR0ucwY5nu1RpHm8KXcJOkyRhDMv2uVW6e1De76soNqtQAtJL3PsJs6A5ILLAkV+uvruAI4OpNDIca95ZW4aGks6FObWH5JM9LYY3cMdwWo77ApjZoGFNRHh5FNt/t3OnG8F+Xni+r85pXd4d+BooZJDaBBYbeZ+WF0EGOmk7ETr1vvKnQRO38jubmMz0= 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)(396003)(346002)(46966006)(54906003)(70586007)(8936002)(1076003)(47076005)(86362001)(316002)(70206006)(5660300002)(36756003)(4326008)(7696005)(8676002)(6666004)(2616005)(356005)(44832011)(26005)(478600001)(81166007)(426003)(82310400003)(336012)(2906002)(6916009)(82740400003)(83380400001)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4527 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f51bb5c5-0c0e-4b88-ebc2-08d8b0b3c513 X-Microsoft-Antispam-Message-Info: O0ruivP+I5sSQpPGq1MYyaNqzFn6W43nfCm/TfhnlPg42IX3ieK0bRycpUKrUwJkoG/zzKnRIN6XQRKCyEEEsYw4hUjfHDajXalHY0SWylJjtGd1xnEF7EM0emENYNQkckj/voWYYIMjbUfYNxn45mgxNqNlrM83D0rsQ33uEvi++UnszXWkaS5bzqRrauh/snZPTZtmUmX0q+9ytu12VciWuBMncZ8hojPATuuop4T63UyPlJUs9vW+n/IbGdMXAfdB0oPMj+8CgCFxAQNoUpCqVEGcsM8o1hIm7qWaMkPxXlRiSLw89iMDmtTJoPfRDVPhKIcG90zXz0QTbuduzduDeh6mI9HROZSDLQu8llw0ZvcEKRE7WtyyisqRZlT5tsc0IVIGgLDS749zxSNo99Av5R36ffW74KE/RZoa6yN7myISFjMF278qQr3zaAUh/ufzBy5+l5NaPBpJh6nudlXgULl8UoHVC+FcP1kK7gif6Fme3BaVhIHym41kh7fHGCOrpEewBh3PpPxsZ6BpPgVWWrAdQTzGMX478M8J888= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:31.0299 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: da96df26-dc1c-4c11-770c-08d8b0b3ca43 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: VE1EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2298 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: UFRwR7xvyKBVuFImeaxRDGPvx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766557; bh=U0hwWzRKOU3dkxW9iPRHHNNn7erdSZhM/vQx80aoVao=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=LDLPHMnL+VpgKv1bdim4SXeFJy4FHBSYfkbvat2k8f51QtIc5fnkejHMLGiugU2H2+j xNy80sUQWQtvDSrIXdg8XbMLVhrujZr2RMP63kJytm4m7/y7SvPMh8G3CdBeMN8IkAcpx 1jxLOFl/jaMkkt6O/ITiszBxssKeBcNKtFo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) The Core CI reports a critical error if the library files are not included in the DSC. Therefore, add the missing library files to the package DSC. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/StandaloneMmPkg.dsc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/Standalo= neMmPkg.dsc index f9546e182e25fbcd253de0986a1bb554dae1e975..6c0f845390bd8848827811a59bc= 1aa409db8d773 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dsc +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc @@ -2,7 +2,7 @@ # Standalone MM Platform. # # Copyright (c) 2015, Intel Corporation. All rights reserved.
-# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.
+# Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -53,6 +53,7 @@ [LibraryClasses] ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntry= Point/StandaloneMmCoreEntryPoint.inf StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint= /StandaloneMmDriverEntryPoint.inf + VariableMmDependency|StandaloneMmPkg/Library/VariableMmDependency/Variab= leMmDependency.inf =20 [LibraryClasses.AARCH64] ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf @@ -66,6 +67,9 @@ [LibraryClasses.AARCH64] [LibraryClasses.common.MM_CORE_STANDALONE] HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHo= bLib.inf =20 +[LibraryClasses.common.MM_STANDALONE] + MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocation= Lib/StandaloneMmMemoryAllocationLib.inf + ##########################################################################= ###### # # Pcd Section - list of all EDK II PCD Entries defined by this Platform @@ -99,6 +103,15 @@ [Components.common] # MM Core # StandaloneMmPkg/Core/StandaloneMmCore.inf + StandaloneMmPkg/Library/FvLib/FvLib.inf + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntry= Point.inf + StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf + StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMm= CoreMemoryAllocationLib.inf + StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf + StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf + StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemo= ryAllocationLib.inf + StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeC= offExtraActionLib.inf + StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf =20 [Components.AARCH64] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf --=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 (#69558): https://edk2.groups.io/g/devel/message/69558 Mute This Topic: https://groups.io/mt/79423261/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- From nobody Thu Apr 25 21:29:56 2024 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+69557+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 1609766556580320.7777946637077; Mon, 4 Jan 2021 05:22:36 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id yQR9YY1788612xsUUe1cSiKm; Mon, 04 Jan 2021 05:22:36 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.40]) by mx.groups.io with SMTP id smtpd.web10.13326.1609766555109178759 for ; Mon, 04 Jan 2021 05:22:35 -0800 X-Received: from AM5PR0202CA0006.eurprd02.prod.outlook.com (2603:10a6:203:69::16) by AM0PR08MB5508.eurprd08.prod.outlook.com (2603:10a6:208:186::14) 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:32 +0000 X-Received: from VE1EUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:69:cafe::ef) by AM5PR0202CA0006.outlook.office365.com (2603:10a6:203:69::16) 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:32 +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+69557+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 VE1EUR03FT040.mail.protection.outlook.com (10.152.18.210) 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:22:31 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Mon, 04 Jan 2021 13:22:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f627078a19e8f2d6 X-CR-MTA-TID: 64aa7808 X-Received: from 9091f34edeb4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BE0388CA-19BC-4598-8F20-7D9A3F1F4DA4.1; Mon, 04 Jan 2021 13:22:25 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9091f34edeb4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cbOIdKRqnPqu+7tTl7TDgvUMEG/RhLR2QdBXUiHdlzZ5fWF2HKQZIFgguxQBX1r0qO2AbKMS7a+Cb46PHi9Q6mN9LkovbGnwWNCF2gruFIYZl2GNwqsf4Iq66XQ63ZwIISRlDAD4B66ZfBuE4aKTyO9WjImnv9V2dbgs2mDP1N5Rr5tADap7Wkm26qlq8IF+76MD/z3JDKUn6SJPh6P0VCDH3p/cbD6Y7CLK20Gaz+/wJ63h9twDMNOELHHkQ5dHRJ8v6NfQOw3g1rnVaSEWLylOZbYzKxAYxB/S8uka+brdPXJM2qcRhDQ4JOucIOoUvgCiRkUbVd0Yf0K4SECyBA== 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=SC6xGhhK1TKFOONJDoav+gM7rJAyDBo47YaeznmFT4k=; b=dHUYgz9AMWrPm/vekduHSpmv51KkrDTX8mAMyHnsGumSXG/lfVoSCMuIBtLGUSUfOBR6AwYRjZq837qT/NikJnu3fpFv6TImlrXYHz+bI8wDN6PG61hLNWsesLCLWv/7rNaJJPbfw3HF776yUDoje33EdzO9pdglhfl0aoLAWSiHWSgT69iUOpxPR3gFEVmtY+wXtfwkRZCwcCROjCZutuIMCatqUKQwxxF0KyOq9Q5XmkBozKDKGYAj+sT/3OewSGjIxmYbxGegp6dBA9aL1jNglcQvGdHEoxfTWIfvl15mXv2WJIocWhTYnB6VwFWXah5i58tpcdYLiTKH3f0HAw== 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 DB6PR0501CA0007.eurprd05.prod.outlook.com (2603:10a6:4:8f::17) by DBBPR08MB4443.eurprd08.prod.outlook.com (2603:10a6:10:c8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:23 +0000 X-Received: from DB5EUR03FT030.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:8f:cafe::9c) by DB6PR0501CA0007.outlook.office365.com (2603:10a6:4:8f::17) 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:22: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 DB5EUR03FT030.mail.protection.outlook.com (10.152.20.144) 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:23 +0000 X-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:16 +0000 X-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:15 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 03/26] StandaloneMmPkg: Fix spell check reported errors Date: Mon, 4 Jan 2021 13:21:50 +0000 Message-ID: <20210104132213.22376-4-sami.mujawar@arm.com> 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: b048af70-9d8d-470d-cbd6-08d8b0b3cab6 X-MS-TrafficTypeDiagnostic: DBBPR08MB4443:|AM0PR08MB5508: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:10000;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: o4PsBFzXdgJVV3NAzQupQ8OaSYPKSAXs5SHTPckT68aRuc9TS3prgkcXkCTzTvt8yi9MYW4d1FgY4+kWeetQLZQDS9SDr0E7olPBxFD/YSJ1dav/QnBmvYh1q6bWQVvKKJ1Djp57Zt4VCn6Qu3jTrvB0AauX/lsvxnD/AQcHAezK832hawD+8QTR9u44TkRWeYABNTg62HFvotWeJqQj61R5uxL3JypDkgOZOEzb0HPFK1pTFJciQjNfkzG3TFSyN4h/98ZXpVsIwQyVAC2g1DtjhDxrub+v61k1tsLxruEVIt+WyPmMNZZp2yGcoG5o09zEsrOjo7JOhB5QFcvJejAum9UWpcXoSesduoWNzE+pIAyGAQUVQh6uHLVUImWY62EcR1YOlf8/zLuDz1HL/sV3I3kUcDiTvSR5T22dJsFBx0iVIi4houzsTCBra2uuW7p1G+XxPFREYFL9cJvuOpL0LcLnpUB1Qc+5rpixFMTFiPYAt5SZaSmUf1uJLzT7jbZAswSgMBYXMFQMYGAvVcjDKpfyQMDGgHVZHBNDzPk= 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)(396003)(376002)(39860400002)(136003)(346002)(46966006)(26005)(36756003)(2906002)(8936002)(7696005)(6916009)(186003)(82310400003)(316002)(82740400003)(30864003)(83380400001)(54906003)(1076003)(5660300002)(81166007)(44832011)(8676002)(4326008)(356005)(478600001)(6666004)(70206006)(426003)(336012)(86362001)(19627235002)(2616005)(70586007)(47076005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4443 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: b02da0fa-4706-42a2-1c93-08d8b0b3c5c0 X-Microsoft-Antispam-Message-Info: UUoRWDXkKXvsuBdczZwPhK+MpRP0+YHIRaG8hxWfWyS7WCqtncPjfckkx4SIFjfn9IZdKTQKculVie7u89yWTOUEFS5GbYnMNmTbt0Iy58gnoMiSbpozprFV6G/eXb47uq0fcI18YEZHWsf2gQ12SJe66lSp6KyBGQYLysEshlXvnhL8p8fVjEJPpz0rhfo0NEzrRdvVtIwdeAQCmwzn9K6GyWXN1RVrQl/2qN92Gv7OYGc84OcVNeW+B6vYmSu5tIMnHYDh9KZH66oN1K+fCl6pX4d/7ihFBIx/TQ/u13DjgcPYTQul01n0ctUmr/9quNKkr2XNhRK189Wl7kb0Yax3Kd4w3IdgfSATxYWJvq4NmrNfo5puaPpBpuCSSLKO7PxG7GX4uid2LZDbU6cgBV8sKjiPJ9Km0ECDudHqQxUgC58Fj1pK/8dxQ1wrcijoOtNsgG4xnfYU5qjrmj4ZV6yUIg28Vu6lAP5X5u7keUCNf3+3VOvs1Tk8LaAfvlCmULV29RRSv61c8QbydUvNJmKBiOTfXJdzztY5GteZqPc= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:31.7847 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b048af70-9d8d-470d-cbd6-08d8b0b3cab6 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: VE1EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5508 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: gPXzktruDb7xOQyTTnRJAaGXx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766556; bh=TnNZfifk2Hzbqm5YNRA9hyT5B4Prm098pbbMcTSpwLc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=lcrIdwjop7ESxm4AjL0nz3IXB8MXd6Ia2rpXPdkv3AIe4KJK8m3UVgQ2JM5sOaPJ1EG Jd+wbYpkzV0Zpf4pl/2n7Jvt5NX3lBkpOiMbKq9bDzJq1BfMdxyazaJhlv/ENNRAjUjbU ZHzs/VQ6OXxhKyH3qJZJyqF7HtYhHV8z0es= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the spelling mistakes reported by the spell check utility that is run as part of the Core CI. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/Dependency.c = | 6 ++-- StandaloneMmPkg/Core/Dispatcher.c = | 33 ++++++++++---------- StandaloneMmPkg/Core/Locate.c = | 6 ++-- StandaloneMmPkg/Core/Mmi.c = | 4 +-- StandaloneMmPkg/Core/StandaloneMmCore.c = | 8 ++--- StandaloneMmPkg/Core/StandaloneMmCore.h = | 12 +++---- StandaloneMmPkg/Include/Guid/MmCoreData.h = | 6 ++-- StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h = | 4 +-- StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h = | 6 ++-- StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCo= reMemoryAllocationLib.inf | 4 +-- StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c = | 6 ++-- StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c = | 4 +-- StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf = | 4 +-- 13 files changed, 52 insertions(+), 51 deletions(-) diff --git a/StandaloneMmPkg/Core/Dependency.c b/StandaloneMmPkg/Core/Depen= dency.c index e0f2d3518369e9b712f80d34e32011d4fff27509..d2703e4538028a4c34e3baa158b= a9850a78cfb2a 100644 --- a/StandaloneMmPkg/Core/Dependency.c +++ b/StandaloneMmPkg/Core/Dependency.c @@ -3,10 +3,10 @@ =20 This routine evaluates a dependency expression (DEPENDENCY_EXPRESSION) t= o determine if a driver can be scheduled for execution. The criteria for - schedulability is that the dependency expression is satisfied. + scheduling is that the dependency expression is satisfied. =20 Copyright (c) 2009 - 2010, 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 =20 **/ @@ -193,7 +193,7 @@ MmIsSchedulable ( if (DriverEntry->Depex =3D=3D NULL) { // // A NULL Depex means that the MM driver is not built correctly. - // All MM drivers must have a valid depex expressiion. + // All MM drivers must have a valid depex expression. // DEBUG ((DEBUG_DISPATCH, " RESULT =3D FALSE (Depex is empty)\n")); ASSERT (FALSE); diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dispa= tcher.c index c99e6c04c8de31a4ef7022a7cafee6a9db88c5a2..45b17fe3acfec9c056396873006= c03f668c1aed6 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -15,9 +15,10 @@ =20 Step #3 - Adding to the mScheduledQueue requires that you process Before and After dependencies. This is done recursively as the call t= o add - to the mScheduledQueue checks for Before and recursively adds - all Befores. It then addes the item that was passed in and then - processess the After dependecies by recursively calling the ro= utine. + to the mScheduledQueue checks for Before Depexes and recursive= ly + adds all Before Depexes. It then adds the item that was passed= in + and then processess the After dependencies by recursively call= ing + the routine. =20 Dispatcher Rules: The rules for the dispatcher are similar to the DXE dispatcher. @@ -29,7 +30,7 @@ =20 Copyright (c) 2014, Hewlett-Packard Development Company, L.P. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -60,8 +61,8 @@ MmCoreFfsFindMmDriver ( /** Insert InsertedDriverEntry onto the mScheduledQueue. To do this you must add any driver with a before dependency on InsertedDriverEntry firs= t. - You do this by recursively calling this routine. After all the Befores a= re - processed you can add InsertedDriverEntry to the mScheduledQueue. + You do this by recursively calling this routine. After all the Before De= pexes + are processed you can add InsertedDriverEntry to the mScheduledQueue. Then you can add any driver with an After dependency on InsertedDriverEn= try by recursively calling this routine. =20 @@ -92,7 +93,7 @@ LIST_ENTRY mScheduledQueue =3D INITIALIZE_LIST_HEAD_VARI= ABLE (mScheduledQueue); LIST_ENTRY mFwVolList =3D INITIALIZE_LIST_HEAD_VARIABLE (mFwVolList); =20 // -// Flag for the MM Dispacher. TRUE if dispatcher is execuing. +// Flag for the MM Dispacher. TRUE if dispatcher is executing. // BOOLEAN gDispatcherRunning =3D FALSE; =20 @@ -110,7 +111,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED UINT64 = *mMmCodeMemoryRangeUsageB =20 /** To check memory usage bit map array to figure out if the memory range in= which the image will be loaded - is available or not. If memory range is avaliable, the function will mar= k the correponding bits to 1 + is available or not. If memory range is avaliable, the function will mar= k the corresponding bits to 1 which indicates the memory range is used. The function is only invoked w= hen load modules at fixed address feature is enabled. =20 @@ -163,7 +164,7 @@ CheckAndMarkFixLoadingMemoryUsageBitMap ( } =20 // - // Test if the memory is avalaible or not. + // Test if the memory is available or not. // BaseOffsetPageNumber =3D (UINTN)EFI_SIZE_TO_PAGES ((UINT32)(ImageBase - = MmCodeBase)); TopOffsetPageNumber =3D (UINTN)EFI_SIZE_TO_PAGES ((UINT32)(ImageBase + = ImageSize - MmCodeBase)); @@ -328,7 +329,7 @@ MmLoadImage ( ImageContext.ImageAddress =3D (EFI_PHYSICAL_ADDRESS)DstBuffer; =20 // - // Align buffer on section boundry + // Align buffer on section boundary // ImageContext.ImageAddress +=3D ImageContext.SectionAlignment - 1; ImageContext.ImageAddress &=3D ~((EFI_PHYSICAL_ADDRESS)(ImageContext.Sec= tionAlignment - 1)); @@ -604,7 +605,7 @@ MmDispatcher ( =20 // // Load the MM Driver image into memory. If the Driver was transitio= ned from - // Untrused to Scheduled it would have already been loaded so we may= need to + // Untrusted to Scheduled it would have already been loaded so we ma= y need to // skip the LoadImage // if (DriverEntry->ImageHandle =3D=3D NULL) { @@ -703,8 +704,8 @@ MmDispatcher ( /** Insert InsertedDriverEntry onto the mScheduledQueue. To do this you must add any driver with a before dependency on InsertedDriverEntry firs= t. - You do this by recursively calling this routine. After all the Befores a= re - processed you can add InsertedDriverEntry to the mScheduledQueue. + You do this by recursively calling this routine. After all the Before De= pexes + are processed you can add InsertedDriverEntry to the mScheduledQueue. Then you can add any driver with an After dependency on InsertedDriverEn= try by recursively calling this routine. =20 @@ -828,9 +829,9 @@ FvIsBeingProcessed ( =20 /** Add an entry to the mDiscoveredList. Allocate memory to store the Driver= Entry, - and initilize any state variables. Read the Depex from the FV and store = it + and initialise any state variables. Read the Depex from the FV and store= it in DriverEntry. Pre-process the Depex to set the Before and After state. - The Discovered list is never free'ed and contains booleans that represen= t the + The Discovered list is never freed and contains booleans that represent = the other possible MM driver states. =20 @param Fv Fv protocol, needed to read Depex info out= of @@ -885,7 +886,7 @@ MmAddToDriverList ( =20 /** Traverse the discovered list for any drivers that were discovered but no= t loaded - because the dependency experessions evaluated to false. + because the dependency expressions evaluated to false. =20 **/ VOID diff --git a/StandaloneMmPkg/Core/Locate.c b/StandaloneMmPkg/Core/Locate.c index 00e395eca6dab8a64d2f587e1c52d2c528ed76f9..1db6f43d7d8a2e65da5199476e0= 0b7f2af6bf56e 100644 --- a/StandaloneMmPkg/Core/Locate.c +++ b/StandaloneMmPkg/Core/Locate.c @@ -2,7 +2,7 @@ Locate handle functions =20 Copyright (c) 2009 - 2017, 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 =20 **/ @@ -173,8 +173,8 @@ MmGetNextLocateByProtocol ( =20 /** Return the first Protocol Interface that matches the Protocol GUID. If - Registration is pasased in return a Protocol Instance that was just add - to the system. If Retistration is NULL return the first Protocol Interfa= ce + Registration is passed in return a Protocol Instance that was just add + to the system. If Registration is NULL return the first Protocol Interfa= ce you find. =20 @param Protocol The protocol to search for diff --git a/StandaloneMmPkg/Core/Mmi.c b/StandaloneMmPkg/Core/Mmi.c index 5ed2295ff37409242cc59cadceffc9d3968af6b5..f636a71e26ff586eb3a9b59725b= 8fb33767dd275 100644 --- a/StandaloneMmPkg/Core/Mmi.c +++ b/StandaloneMmPkg/Core/Mmi.c @@ -2,7 +2,7 @@ MMI management. =20 Copyright (c) 2009 - 2013, 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 =20 **/ @@ -220,7 +220,7 @@ MmiManage ( /** Registers a handler to execute within MM. =20 - @param Handler Handler service funtion pointer. + @param Handler Handler service function pointer. @param HandlerType Points to the handler type or NULL for root MMI h= andlers. @param DispatchHandle On return, contains a unique handle which can be = used to later unregister the handler function. =20 diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core= /StandaloneMmCore.c index ac3e2c0b1b93859ebda04841f72a0bed28c02580..0b3ddbaa6a35e2e609f737a39ac= e62c2406bf8df 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -2,7 +2,7 @@ MM Core Main Entry Point =20 Copyright (c) 2009 - 2014, 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 =20 **/ @@ -590,9 +590,9 @@ StandaloneMmMain ( =20 // // No need to initialize memory service. - // It is done in constructor of StandaloneMmCoreMemoryAllocationLib(), - // so that the library linked with StandaloneMmCore can use AllocatePool= () in constuctor. - // + // It is done in the constructor of StandaloneMmCoreMemoryAllocationLib(= ), + // so that the library linked with StandaloneMmCore can use AllocatePool= () in + // the constructor. =20 DEBUG ((DEBUG_INFO, "MmInstallConfigurationTable For HobList\n")); // diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.h b/StandaloneMmPkg/Core= /StandaloneMmCore.h index 96c195311addf5a7121953a97f3c8c572fca85a2..dcffdd768cff9de1da4c9de4716= 22d553e6815e2 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.h +++ b/StandaloneMmPkg/Core/StandaloneMmCore.h @@ -3,7 +3,7 @@ internal structure and functions used by MmCore module. =20 Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -131,7 +131,7 @@ typedef struct { EFI_GUID ProtocolID; /// All protocol interfaces LIST_ENTRY Protocols; - /// Registerd notification handlers + /// Registered notification handlers LIST_ENTRY Notify; } PROTOCOL_ENTRY; =20 @@ -516,8 +516,8 @@ MmLocateHandle ( =20 /** Return the first Protocol Interface that matches the Protocol GUID. If - Registration is pasased in return a Protocol Instance that was just add - to the system. If Retistration is NULL return the first Protocol Interfa= ce + Registration is passed in return a Protocol Instance that was just add + to the system. If Registration is NULL return the first Protocol Interfa= ce you find. =20 @param Protocol The protocol to search for @@ -564,7 +564,7 @@ MmiManage ( /** Registers a handler to execute within MM. =20 - @param Handler Handler service funtion pointer. + @param Handler Handler service function pointer. @param HandlerType Points to the handler type or NULL for root MMI h= andlers. @param DispatchHandle On return, contains a unique handle which can be = used to later unregister the handler function. =20 @@ -728,7 +728,7 @@ MmEfiNotAvailableYetArg5 ( ); =20 // -//Functions used during debug buils +//Functions used during debug builds // =20 /** diff --git a/StandaloneMmPkg/Include/Guid/MmCoreData.h b/StandaloneMmPkg/In= clude/Guid/MmCoreData.h index 8bd80e0519a40360eb91f68673d9afea0abf5004..6c7f9fb67204f19ff250eadece6= 065e62612a2c8 100644 --- a/StandaloneMmPkg/Include/Guid/MmCoreData.h +++ b/StandaloneMmPkg/Include/Guid/MmCoreData.h @@ -2,7 +2,7 @@ MM Core data. =20 Copyright (c) 2015, Intel Corporation. All rights reserved.
-Copyright (c) 2018, ARM Limited. All rights reserved.
+Copyright (c) 2018 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -98,14 +98,14 @@ typedef struct { EFI_PHYSICAL_ADDRESS Mmst; =20 /// - /// This field is used by the MM Communicatioon Protocol to pass a buffe= r into + /// This field is used by the MM Communication Protocol to pass a buffer= into /// a software MMI handler and for the software MMI handler to pass a bu= ffer back to /// the caller of the MM Communication Protocol. /// EFI_PHYSICAL_ADDRESS CommunicationBuffer; =20 /// - /// This field is used by the MM Communicatioon Protocol to pass the siz= e of a buffer, + /// This field is used by the MM Communication Protocol to pass the size= of a buffer, /// in bytes, into a software MMI handler and for the software MMI handl= er to pass the /// size, in bytes, of a buffer back to the caller of the MM Communicati= on Protocol. /// diff --git a/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h= b/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h index c83212b405977645df61d0a8eceac80ba2e891b6..a2cd1566f5f6ded2618a16737ec= ad46f8dae8467 100644 --- a/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h +++ b/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h @@ -2,7 +2,7 @@ Module entry point library for Standalone MM Drivers. =20 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
-Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -29,7 +29,7 @@ extern CONST UINT32 _gMmRevision; than zero, then an unload handler must be registered for this image and the unload handler must invoke ProcessModuleUnloadList(). If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is - less than _gUefiDriverRevison, then return EFI_INCOMPATIBLE_VERSION. + less than _gUefiDriverRevision, then return EFI_INCOMPATIBLE_VERSION. =20 @param ImageHandle The image handle of the Standalone MM Driver. @param SystemTable A pointer to the EFI System Table. diff --git a/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h b/Standal= oneMmPkg/Include/Library/StandaloneMmMemLib.h index baa6fe99810acc695a0e24f1f6d5ead0b59ea497..a061389d23f8521abf4c0fae757= 25d27e8b8a9d6 100644 --- a/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h +++ b/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h @@ -6,7 +6,7 @@ from non-MMRAM to non-MMRAM, or set data in non-MMRAM. =20 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.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -69,7 +69,7 @@ MmCopyMemToMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 **/ @@ -94,7 +94,7 @@ MmCopyMemFromMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SECURITY_VIOLATION The SourceBuffer is invalid per processor= architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/St= andaloneMmCoreMemoryAllocationLib.inf b/StandaloneMmPkg/Library/StandaloneM= mCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf index 3fa08f2c650c36e764825a21644d25b2bb03ca56..faed919094100c69b8227b1b688= 19955ec5dd433 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.inf +++ b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.inf @@ -1,11 +1,11 @@ ## @file # Memory Allocation Library instance dedicated to MM Core. # The implementation borrows the MM Core Memory Allocation services as the= primitive -# for memory allocation instead of using MM System Table servces in an ind= irect way. +# for memory allocation instead of using MM System Table services in an in= direct way. # It is assumed that this library instance must be linked with MM Core in = this package. # # Copyright (c) 2010 - 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 # diff --git a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.= c b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c index f82cdb3ba816a5a36d10fcdf13fc6bd73f76820f..76456c12647b025c5dcab7aee33= 464aea462b7e6 100644 --- a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c @@ -7,7 +7,7 @@ and MM driver) and/or specific dedicated hardware. =20 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.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -145,7 +145,7 @@ MmCopyMemToMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 **/ @@ -179,7 +179,7 @@ MmCopyMemFromMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SECURITY_VIOLATION The SourceBuffer is invalid per processor= architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 diff --git a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDepende= ncy.c b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c index 1fef0a93b77a0317e454f735e0afb2c2f2c85c40..3549eed791c3eca661fbf6d0e10= c0c86f509ea54 100644 --- a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c +++ b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c @@ -1,10 +1,10 @@ /** @file - Runtime DXE part corresponding to StanaloneMM variable module. + Runtime DXE part corresponding to StandaloneMM variable module. =20 This module installs variable arch protocol and variable write arch protoc= ol to StandaloneMM runtime variable service. =20 -Copyright (c) 2019, ARM Ltd. All rights reserved. +Copyright (c) 2019 - 2020, Arm Ltd. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 diff --git a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDepende= ncy.inf b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency= .inf index 34adce6f39fcb0a5709f21c4e50101fa82e3ba79..eb54776602655ead9bf76038d92= bfa80e7636dc5 100644 --- a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf +++ b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf @@ -1,10 +1,10 @@ ## @file -# Runtime DXE part corresponding to StanaloneMM variable module. +# Runtime DXE part corresponding to StandaloneMM variable module. # # This module installs variable arch protocol and variable write arch pro= tocol # to StandaloneMM runtime variable service. # -# Copyright (c) 2019, ARM Ltd. All rights reserved. +# Copyright (c) 2019 - 2020, Arm Ltd. All rights reserved. # SPDX-License-Identifier: BSD-2-Clause-Patent # ## --=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 (#69557): https://edk2.groups.io/g/devel/message/69557 Mute This Topic: https://groups.io/mt/79423260/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- From nobody Thu Apr 25 21:29:56 2024 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+69556+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 16097665670921000.4001291013844; Mon, 4 Jan 2021 05:22:47 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id PlyOYY1788612xttJFjEew0J; Mon, 04 Jan 2021 05:22:46 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.62]) by mx.groups.io with SMTP id smtpd.web10.13325.1609766554596713001 for ; Mon, 04 Jan 2021 05:22:35 -0800 X-Received: from DB6PR0301CA0085.eurprd03.prod.outlook.com (2603:10a6:6:30::32) by VI1PR0801MB2045.eurprd08.prod.outlook.com (2603:10a6:800:89::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.23; Mon, 4 Jan 2021 13:22:31 +0000 X-Received: from DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::1f) by DB6PR0301CA0085.outlook.office365.com (2603:10a6:6:30::32) 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:31 +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+69556+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 DB5EUR03FT046.mail.protection.outlook.com (10.152.21.230) 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:22:30 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Mon, 04 Jan 2021 13:22:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d9c554c5d71d70fc X-CR-MTA-TID: 64aa7808 X-Received: from 4d66278076c4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CB064299-828B-4CAF-82EB-A70E12E1BCAE.1; Mon, 04 Jan 2021 13:22:25 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4d66278076c4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YVHWuAGOXKrxw4UOShAvjovw8n5KLX0htqtNTFNaVG5uv6XX0tNDzcAwuLo8Z21GtxKQ+ZZyg4uYo31zHFxg3tlyqOPXD8c40ouA11oYXjgdG2Eg1r4RKXGW9mCkZ/rVd02MgQbb7v0VgQDyPgfCIYGLXSfy2b5qupvtWSi9L/44YCXRshYe74ryGSAu/wzyxgEWO33v0aAVWn0e0kzjEv1brU7RGdLJMl9eJWv5bxCxzomClVjnKyTZVUVaG52KF8z5J+GylHvVlp6XLA3ItW5dy6oWkXgBQoG8Hm2e43JHTHPOcCEQPtm3CbWQFTykvswWIUHFHqyO6yw7PrS3kA== 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=V5/uQi+CYgHeY1uRsQeyGlZwRtsOTXZ+n34iIdSXPWg=; b=NTbQQP+XsLBRCM+vXAMyZh5wcpKd2D7FUNXXOmNC3WtlhyrI4VxcccWChxp1CI0jiP2ri2tJgu6xScCSrkLDv669eTJoxeM7HCzwtbtRpFGWQBUAYuaDPV4pFV4wDD+oTVIqcMBkUp7EH2HilMtS7Unu+LWXvXYbDEPUorlvDGBeXl6/hXbFmpv4CMpvRjtJC0U0eT3IE3HlgbJOT5pc4PDgVv9SRvxLCQ3xl1NoUj/cnw96GvHzb0wbSfKe7+FjC+pZRWCYbi79MF0hSNzj+8cSbodWXALpzX1wHktXOXhx0Z4vGAqr2nWr6eDMPKeb1v2Ys6BucF+qV38zY8YvfQ== 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 DB6P193CA0021.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::31) by DBAPR08MB5656.eurprd08.prod.outlook.com (2603:10a6:10:1a2::21) 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:24 +0000 X-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::49) by DB6P193CA0021.outlook.office365.com (2603:10a6:6:29::31) 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:22:24 +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 DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) 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:24 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:18 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Mon, 4 Jan 2021 13:22:17 +0000 X-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:17 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 04/26] StandaloneMmPkg: Fix ECC error 9002 in Core dispatcher Date: Mon, 4 Jan 2021 13:21:51 +0000 Message-ID: <20210104132213.22376-5-sami.mujawar@arm.com> 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: d4d1f0fb-09ef-457d-8371-08d8b0b3ca1b X-MS-TrafficTypeDiagnostic: DBAPR08MB5656:|VI1PR0801MB2045: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: rqzTdm2A/iLWb6QECUxow//920INgKITxXsdjpMihc/gsaIytPVNhXbrCn6BuT3d59gm2wJFRxyH4E15h308sVAZQLua3vPvWhbaB5H7oX2OEkYf47Un60BtZ0JmqZV9zoAqzQnzNWpLG9tGmsKfQOdIx44GvDfM+zxoel8jY4QmJt3KzarXDxj2Bu2D31hY/CY0GLYua1az2KnzXAzQz8fs3x1C1TbABOsNKAnNQXZuFRNw4rIuH/jDy8lRELaSMlllPh8bm/pwL0bhWIxPilfK3GvBeAW+o+l6VVSoc2SSvi2bBzvnlSE3jG6yTRLMdTX9v9mbP21Qi3DRTpy9bH4djhngTw78zXdNscjBRELyKPP00W43U9DU4kgOjdcUz5CYGVUYu/Tb36ZNrs3T97hVsCpUqLlb1q0p1TtlSB0u/5RssaHcYYBy3AZ8/xWVlM58fFaunvAHPvmFny4NdlLhr9f0IVtfXd/9n3+MvNBEELhZgPGfC5IHDbouqx4mrNN7XMzy5JkjHmRauU1RSPgtdkurZ8GPQ0xKJY3n6tA= 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)(396003)(376002)(136003)(346002)(39860400002)(46966006)(2616005)(47076005)(316002)(6666004)(44832011)(26005)(336012)(54906003)(478600001)(426003)(82310400003)(6916009)(8936002)(8676002)(186003)(4326008)(5660300002)(1076003)(7696005)(81166007)(83380400001)(70206006)(70586007)(2906002)(86362001)(36756003)(356005)(82740400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5656 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 95f6326f-9014-413c-2cc5-08d8b0b3c640 X-Microsoft-Antispam-Message-Info: 7ybOkwmtoTD0GOQyuJ8LcQSLDdaPzXhWFpcR+8AQ4Tfyhvi23iOf4VKnMH0qeyV9U68cG5kWn2vjkJuC1J5ooHNwEHtY9gcn+3m9UUc0PUG5RxMlt3SX9GI4box16+8Ua7S8Zb1VH3N0+7oJti+fesWLViI8Kx+j/h8INZefyhRk99hYFL5ofUAIdty82DgUDvUS1SplAlD1L22QKB/MElbWwR9l1Q63tCC4S+ml2ACW118Ex8CsbCiyBHbNzOxzHHBrYfyeAmvB5CTtMRTzcYUdQ2a0ukUIMH4uxvQN1aQYTyZUiI8+X7vpA6Hk4WmJFCUxtFC7wQofDdkv3x4q/wbUAjdTd+kodluQ5xzDamoLpiyma796CFY0O1eUikAb44JNOO30I39Zm6LWF68rNP+RPZtPT+z8XPEph3ZPpxPjfbpi1LEHVu5RyTZi1TXKYd/BpxV+KY5s8e7NJoTCdLAHOYUIEkZksNllDYf1fIyaX7K4/bQ7PE+gmosvyYRs0NIhIhjTHIwSsL4s+d0T25l4dSre5UF1IlPaV+ui59M= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:30.9280 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4d1f0fb-09ef-457d-8371-08d8b0b3ca1b 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: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB2045 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: AOapmB2ExSvRurXbepVWOPkwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766566; bh=ko5Aj64ll5iYehpGjJlAHzNADW1RugHIm5YkAyswbQ0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=AuXdCoQiTOX6ZDUaNP35erlI9CcdpL9rg6wJkJT/FYYOVNDUz+OAA1pCtZ5fkBCWjzC sRDqjlGiYMo/hPoq0q0ppNvnFg/skAtxRX+PRIYJoKdHijmHejqcAXtiIWL7MsMGxUW5c 3Mw5l8GzKSwA8sE7jCn/xuxhpoe48BYm+sI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) 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 Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/Dispatcher.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dispa= tcher.c index 45b17fe3acfec9c056396873006c03f668c1aed6..26e5a6933f8d5b5a33865ff63d3= ae4bea9fc8c09 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -834,18 +834,14 @@ FvIsBeingProcessed ( The Discovered list is never freed and contains booleans that represent = the other possible MM driver states. =20 - @param Fv Fv protocol, needed to read Depex info out= of - FLASH. - @param FvHandle Handle for Fv, needed in the - EFI_MM_DRIVER_ENTRY so that the PE image c= an be - read out of the FV at a later time. - @param DriverName Name of driver to add to mDiscoveredList. + @param [in] FwVolHeader Pointer to the formware volume header. + @param [in] Pe32Data Pointer to the PE data. + @param [in] Pe32DataSize Size of the PE data. + @param [in] Depex Pointer to the Depex info. + @param [in] DepexSize Size of the Depex info. + @param [in] DriverName Name of driver to add to mDiscoveredList. =20 @retval EFI_SUCCESS If driver was added to the mDiscoveredList. - @retval EFI_ALREADY_STARTED The driver has already been started. Only = one - DriverName may be active in the system at = any one - time. - **/ EFI_STATUS MmAddToDriverList ( --=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 (#69556): https://edk2.groups.io/g/devel/message/69556 Mute This Topic: https://groups.io/mt/79423259/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- From nobody Thu Apr 25 21:29:56 2024 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+69562+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 1609766568783934.6432358027129; Mon, 4 Jan 2021 05:22:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id hNwIYY1788612xTqJQ5jxvJd; Mon, 04 Jan 2021 05:22:48 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.66]) by mx.groups.io with SMTP id smtpd.web11.13263.1609766557734163980 for ; Mon, 04 Jan 2021 05:22:38 -0800 X-Received: from AM5PR0502CA0003.eurprd05.prod.outlook.com (2603:10a6:203:91::13) by AM0PR08MB4276.eurprd08.prod.outlook.com (2603:10a6:208:13a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:34 +0000 X-Received: from VE1EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::6f) by AM5PR0502CA0003.outlook.office365.com (2603:10a6:203:91::13) 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:22:34 +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+69562+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 VE1EUR03FT025.mail.protection.outlook.com (10.152.18.74) 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:22:32 +0000 X-Received: ("Tessian outbound 6ec21dac9dd3:v71"); Mon, 04 Jan 2021 13:22:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b1e82d26d1efeb96 X-CR-MTA-TID: 64aa7808 X-Received: from e71e2f42e582.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ECAF4DA3-6992-4E9B-806C-3427E3725C1A.1; Mon, 04 Jan 2021 13:22:26 +0000 X-Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e71e2f42e582.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O7orrPNGy2oH84blV5bwVhAQPdDF4vTzT8nlI/jas2WxVxl8rGoysixHavj0H15Kopot7C5c9yVJEoDsDukD1g8Gs9bx4fUXU229EK9YUBFrLdq2oXucN2tbMRJ5ErKsnOEb0+nEqbrIc5L6IyYIuTcFzkeypSOcT6Li+inGSR7oZYe68CmGHtQK0IuZUhmg0alMr8TPITJcrIV4caGUPSeKg+b9yIUvc45RyDd0ib7L4nA9JrhcsNB4OlvGlRYp842e1EGhDdre3eUrkIgZZVjW5KVGbmZqxLqOQ8HtPhekd3bXWOduoetf1o6IL50OwUqHkhm20e8sxMOw+z2s0Q== 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=hrWxYMDQ55gsjeEr4smteh1QkYWn0ZUeyamQEt8LizE=; b=PYPyipBqbQgXyecRvMyZRIM7VtMwMPthzGy6sSuLl0Qzs33xdAF9y2EjzyJAloSuSnpvT3Kp0c3ODWNaegqIcY+dqAsKs8yRzzhZ4zW2DrZLDZFfycf5sHUEbyFXbvhwI3QVAJ5Marwo55u3zpZYBNHAlAN0AQ3QFzK5Fd93Rl6t9Ks0d4/Y9D32re+qAz6+WMAru7/bWBa/Q2QteYKNhU9v5BfOe243APwSDJMMuvZC86fnrY+8s4PAmTMj/alKceeAIvK2Z+75/Kke3qhXUV8a8SEjq2cURqJ5VXj70o4edXFZn78G3ViRY3h3ghbtjRcizE2eDroA77XYv/nxgg== 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 DB6P193CA0016.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::26) by HE1PR0801MB1898.eurprd08.prod.outlook.com (2603:10a6:3:49::14) 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:25 +0000 X-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::c7) by DB6P193CA0016.outlook.office365.com (2603:10a6:6:29::26) 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:22:24 +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 DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) 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:24 +0000 X-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:18 +0000 X-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:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 05/26] StandaloneMmPkg: Fix ECC error 1001 in SMM Memory pool management Date: Mon, 4 Jan 2021 13:21:52 +0000 Message-ID: <20210104132213.22376-6-sami.mujawar@arm.com> 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: e3da08b5-3c47-4099-57de-08d8b0b3cb29 X-MS-TrafficTypeDiagnostic: HE1PR0801MB1898:|AM0PR08MB4276: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: tlIG5UGzhUMlA9gYPAA5BzN0IV3ZgKC4jn41AgrvobghaJp3rTpNiXGIfOjFPmN8c+ZsnWW4VMpPmY0Kfikl/Zz6E0f7sj2RgWHuZckVrRIl5cvnPQ0Nx5BIpJ3k/olZoJl14AMQ6YVK1kX4Rtc0CgTDNFl1FocXEv8FeMpQIRZZuY4pXbgiJmIG9aYnsduUnRyR5sy3RAH2LBBsbhHfhU6tmUNOlfNgmp4Xqqr7Fhsx26N5xX92pFhuQTT8ZCszDAuRhtmvVTQQ5kkKGgXn3vhaw5FXn1RDmQj9Ojrivgmc+xz7JPTDVK1vSGpF/9CvmYMmPbUo0oSXtttI/u8RR+yVyZQTNTrsQ3WVhK32VVj48bQS3DM4nJakFLfOpLrV+4smBMVd1tGty+000F2Hy6draWt8JPuc72Op8GQozYsu8t5sGL6ogGfp7oe5+4adDqpvv90OtjgfX4NvUtAuP7y/Dqkg81cwSlBN5hGUNfrhBuKcquM8JhJv8S02HoiuCVyJjQorUbQkivaMwqANczSlOu4C74SF9Yuupwh0E10= 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)(346002)(136003)(396003)(46966006)(82310400003)(7696005)(70586007)(83380400001)(6666004)(6916009)(8676002)(70206006)(1076003)(44832011)(36756003)(426003)(47076005)(2616005)(4326008)(356005)(316002)(478600001)(86362001)(2906002)(186003)(54906003)(82740400003)(5660300002)(26005)(81166007)(8936002)(336012);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1898 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 7e7cd9dc-2fa7-4e54-66ef-08d8b0b3c67e X-Microsoft-Antispam-Message-Info: TETK7atTH9hoibtC/GVQTHhBm50nKvT385S5liZOLUpt41KXAr4UgNvOvEizfIy2Dmjkof1KiC/4kocyfHgkRnch6Kf3Atxr/x4p8js6r3rRRbaqNm7pVKJUx0C6HH93WZhGPJCUkBAbhUpT2XTt9FzRtYSM5yq7D2wzO2r3StMra/mEknYfJ3YNbvPD+EBPMV6gEsMxrKHk1S2c2eGeanmP4hcPAtkV8U+tQfycoaCo7Bh8mLjCtMWhhX2akLRxXfXW8YkhPEiLZHE+9N2kcoxuEvRF6ZKuETRyvk+uBfxoSt6tYGOneOj/5bbutqEJTaObJYf9jJxWnhT8sWHT11wweQ6ggtOGhx3gtVuLCzRUSSMaTnBWDbPGpQXOjPDrPfJrWYZaPQhupL3A8SrYT+q7hdTV6Oe7p/rgUSutg3HXl3b0qorpGFDVP3c8J/iEhpO63dM4d30YkepDakMvS1HAK2/ljHAlAWdkoMXJ5YAIzBw8+GtZ4fZQ6yeId+4idarp4a5bC1fOAOZi1w4BTsExlPULae78ITXbG5krrIA= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:32.5716 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3da08b5-3c47-4099-57de-08d8b0b3cb29 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: VE1EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4276 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: kueKGZtvXADOqz5I2Fh2AzsWx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766568; bh=dn/EJDsiLvc3dZvU4X/gqEkJdR+IFYjhMt0+4tjzt6o=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=XIDRL/cOCgxKX039u+Zks4TcuOV0wtJxAdtjydcXNuUO3AIzStc/inDBsoSU/NCMWKo YQXsiNUkkrB+BCS3nTGHApFs8EaBPVeh8XYtKf6Cpxdj4DsMlLPapGaxSiLCrWhu2y4uW vYcp+gFm61f2T/10RgRjy/E6XBZoM2pQSKo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the following error reported by the Ecc tool: [1001] 'TAB' character is not allowed in source code, please replace each 'TAB' with two spaces. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/Pool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Core/Pool.c b/StandaloneMmPkg/Core/Pool.c index 661ef0902165e90abdb8cba9e13773129127e3ec..ad6a1462b3db57a4f992e656bfd= 4121071b98d7e 100644 --- a/StandaloneMmPkg/Core/Pool.c +++ b/StandaloneMmPkg/Core/Pool.c @@ -2,7 +2,7 @@ SMM Memory pool management functions. =20 Copyright (c) 2009 - 2014, 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 =20 **/ @@ -50,7 +50,7 @@ MmInitializeMemoryServices ( continue; } DEBUG ((DEBUG_INFO, "MmAddMemoryRegion %d : 0x%016lx - 0x%016lx\n", - Index, MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize)); + Index, MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize)= ); MmAddMemoryRegion ( MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize, @@ -86,7 +86,7 @@ InternalAllocPoolByIndex ( Hdr =3D NULL; if (PoolIndex =3D=3D MAX_POOL_INDEX) { Status =3D MmInternalAllocatePages ( - AllocateAnyPages, + AllocateAnyPages, EfiRuntimeServicesData, EFI_SIZE_TO_PAGES (MAX_POOL_SIZE << 1), &Address --=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 (#69562): https://edk2.groups.io/g/devel/message/69562 Mute This Topic: https://groups.io/mt/79423265/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- From nobody Thu Apr 25 21:29:56 2024 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+69561+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 1609766568332409.9899690776764; Mon, 4 Jan 2021 05:22:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id sZg9YY1788612x7U25fuQKHU; Mon, 04 Jan 2021 05:22:48 -0800 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.59]) by mx.groups.io with SMTP id smtpd.web09.13159.1609766557042466245 for ; Mon, 04 Jan 2021 05:22:37 -0800 X-Received: from AS8PR04CA0067.eurprd04.prod.outlook.com (2603:10a6:20b:313::12) by VE1PR08MB4959.eurprd08.prod.outlook.com (2603:10a6:803:110::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Mon, 4 Jan 2021 13:22:34 +0000 X-Received: from VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:313:cafe::24) by AS8PR04CA0067.outlook.office365.com (2603:10a6:20b:313::12) 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:22:34 +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+69561+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 VE1EUR03FT021.mail.protection.outlook.com (10.152.18.117) 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:22:33 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Mon, 04 Jan 2021 13:22:33 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b19ac1f1345df209 X-CR-MTA-TID: 64aa7808 X-Received: from d43277a48892.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BE5509BE-CA67-4B02-B556-7D7D09B63BE0.1; Mon, 04 Jan 2021 13:22:27 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d43277a48892.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jp1+CX+QWHtLbCV12vzLTIAcUkvRyyLsfrM6NbF+3aY8XoMGH8VPGakQ5gVstGLlnoMoaUH50Fzr3VgGW0BZNbbmQp8vaSNYhCy1YdW9d/xg2Fty1jpoJlYApPGN+kyW0VbUwK3jps91uqLE3G7SsrHKNXupe8DJUR3T/Mb/mylbMDlOfQmAV1iRnCkcBRolj3+EYcjOPQVftXvfU8f1zQlc9pr/Cjvwrr640Y1xfl3oVTFAkWU+nklLDt401XhY/EzFwmEqDE2HVwFct6K0wQf7P6M7CAeblaQhKriKS+0GltORZrO3eaMK8wze9TxHhSQrF3+0Eb4qk9GP4TqelA== 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=bLIUyM8jHVDyFK3RZbdOtI3QNMsdJPWMW0gl6V72I9E=; b=DYAzwQou5kMrtgdJAfnnYa/nuR9dMrLcxuDUdz9he/Z/9IzCj4WzDctxuLk3b7eUef9OQXLhe4VaUSZhvyqa/OnO0RzUNzS2J+LN398GucGNBHLJSryFs3n8boOd1N2TzoGpSyvCKSejndD3EA/+3gkhl72W7/tICierdIRS/H5wVGAygneSonlen56KIL5B8/0tN1pcJ6i/OaC45wp7BYcI+WT2eoEWx9wkDxiKU1Du4h4od0/7qYoXSoHXIwZ+NxrAYBL6YqVV7I24my+J8zmrhL3v7Ay9f/4hZ7y0oTXEWnd/QF02DbanaD7nPGCfexKyF98yLHgsLTANOnhG9w== 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 DB6P193CA0008.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::18) by AM6PR08MB3464.eurprd08.prod.outlook.com (2603:10a6:20b:43::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.23; Mon, 4 Jan 2021 13:22:26 +0000 X-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::ee) by DB6P193CA0008.outlook.office365.com (2603:10a6:6:29::18) 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:25 +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 DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) 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:25 +0000 X-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:19 +0000 X-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:19 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 06/26] StandaloneMmPkg: Fix ECC error 3002 in StandaloneMmCpu Date: Mon, 4 Jan 2021 13:21:53 +0000 Message-ID: <20210104132213.22376-7-sami.mujawar@arm.com> 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: 4dfcb47b-661e-47dd-e858-08d8b0b3cbca X-MS-TrafficTypeDiagnostic: AM6PR08MB3464:|VE1PR08MB4959: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: dTX/1EKm4i1qqk+7HwSepC6ZVwWg8subfpeSGc2+HTzqTBrd2byk8xRS5c/Tn2wWyRJOSSpP6SXa+t8DvFZpgaHlMZjnQ2QDqRAJNIr3odaUcWLbFQJaU0zDzbrWWzc9KB/W+8kE5WrCZ73MiztuAkv+WFI4rfOgEu6+X1XYEtVF3JDexyIBMRMC+SCP0hq9oc8k14ILHiBbgfBQ3OJO7B3VtoT6miUXuAEXQjZKjMyxV4POW02fNIBL/zDfSW7MMTjLLdsfZ4EqI1CK9HrvCS9XbcPo/nekT831KO0+sTO6QIKAaX7f95OF0nBd/04aAB2pCrzGTdMddiBqPLczyvO1B0c2oEL0mrIqxFbEeaxrEWKAvwV6S8IO4Nyskv8WdzBJ14VwxN2XJ/wq7cxOfyf1LCA0zyTVTxatvL1jq4/bZqBWEsah6Bp9CmmuKBdCA8J1uj9wf5S9VqG/Idcg8Sq7zZXSATgLlfYmJHluc5odlL7V0t6W0jyZjTxIwDFwOsb21ylGaSF8dHUbknszZdCTd+dSkE4xktogmlRcd6A= 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)(39860400002)(346002)(396003)(376002)(46966006)(1076003)(26005)(4326008)(82740400003)(336012)(82310400003)(83380400001)(8936002)(54906003)(86362001)(2906002)(36756003)(5660300002)(47076005)(478600001)(6916009)(7696005)(6666004)(316002)(70586007)(70206006)(186003)(8676002)(2616005)(356005)(426003)(44832011)(81166007);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3464 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d6011bfa-be91-491a-c410-08d8b0b3c71f X-Microsoft-Antispam-Message-Info: MppO0j/E/JxaUPI6rQNjO6NO7KgSIu4L7eHilg0JjnVVIdlBDvWZbJhFRxjC1mb2ahdjg3X+bpI8QlsuV+TcOZbBBKOFprXkcnaNTAnwereTHDG/bhlm5WDagfzsixrdMVHXpt0mUFiirU43R9OdwcnyN0tNjFbTbBKjAlOaCJkwdBSeamJMOs2mb5sSjp/5rt/UmU/msheaXYJhGngA3ksRd2+ynSyp+X1jq0mZWtM2PFET7ENzNmYFawAVicnqwba45iuXTs0RBStE6/4D38I8Jbb99+5PWMCgANgg+9f4hDIloM7Dod0MyeyrUszjI5t2/1rpNsV0Oxfv9yHmvuLsSzwujb+iO9rQA00tFFwee9E5s2G7pdPCqBl5DDRME2Qwmg50brc3h2bbHlfwr36rUdCVqI8MGyOhGLrG44zetfSBqJmM7Gp/L9whltEIbl9BHDLob7XHW8INfKbOqNC5R0xMC2LafNY8vVeZ/IVrwFdTOoFeCLDhn1DhHXxECdctC//iEDU0Ys515CoUW8eR3rJhPW903M2ANX4qHvw= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:33.6323 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4dfcb47b-661e-47dd-e858-08d8b0b3cbca 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: VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4959 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: 3pyC3XiOVmZafkTDumllKQxwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766568; bh=jyKfQDgJ5tr6pbhSpSFZCGBk9pyMwwXl3kumB4TqD0A=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=DgZ1gRlWchdkB+cyrOaRKewaFTBFQpMI6hfDNFcio6s21CX3ZP7/jL/XEkb+V0aitsV 34m2JRG3IC05/Wm24mHz8CQnrXT38GQM27G13v4il7EwVzN32XzJx3iSzTxUpXJczlv6U mOS/9sRoy9gmMWc4K53A+nNKPvgS5Z2X9mw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the ECC tool reported error "[3002] Non-Boolean comparisons should use a compare operator". Also fix the following: - add curly braces for 'if' condition statements to comply with the coding standard. - The value returned by GET_GUID_HOB_DATA() is stored in *HobData. Therefore, check *HobData against NULL. The original code was checking HobData which is incorrect. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 19 +++= ++++++++++------ StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 11 +++= ++++---- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 6a25c4c54843ccdc2d745e8e537942d49b1d1141..9738e8bd60149efb45ef1b66139= e0cec38b6c1fe 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -1,7 +1,7 @@ /** @file =20 Copyright (c) 2016 HP Development Company, L.P. - Copyright (c) 2016 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2016 - 2020, Arm Limited. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -84,12 +84,18 @@ PiMmStandaloneArmTfCpuDriverEntry ( } =20 // Perform parameter validation of NsCommBufferAddr - if (NsCommBufferAddr && (NsCommBufferAddr < mNsCommBuffer.PhysicalStart)) + if (NsCommBufferAddr =3D=3D (UINTN)NULL) { + return EFI_INVALID_PARAMETER; + } + + if (NsCommBufferAddr < mNsCommBuffer.PhysicalStart) { return EFI_ACCESS_DENIED; + } =20 if ((NsCommBufferAddr + sizeof (EFI_MM_COMMUNICATE_HEADER)) >=3D - (mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize)) + (mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize)) { return EFI_INVALID_PARAMETER; + } =20 // Find out the size of the buffer passed NsCommBufferSize =3D ((EFI_MM_COMMUNICATE_HEADER *) NsCommBufferAddr)->M= essageLength + @@ -97,9 +103,9 @@ PiMmStandaloneArmTfCpuDriverEntry ( =20 // perform bounds check. if (NsCommBufferAddr + NsCommBufferSize >=3D - mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize) + mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize) { return EFI_ACCESS_DENIED; - + } =20 // Now that the secure world can see the normal world buffer, allocate // memory to copy the communication buffer to the secure world. @@ -192,8 +198,9 @@ PiMmCpuTpFwRootMmiHandler ( ASSERT (CommBufferSize =3D=3D NULL); =20 CpuNumber =3D mMmst->CurrentlyExecutingCpu; - if (!PerCpuGuidedEventContext[CpuNumber]) + if (PerCpuGuidedEventContext[CpuNumber] =3D=3D NULL) { return EFI_NOT_FOUND; + } =20 DEBUG ((DEBUG_INFO, "CommBuffer - 0x%x, CommBufferSize - 0x%x\n", PerCpuGuidedEventContext[CpuNumber], diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.c b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c index 617babd5ab4bcb200ee10e19ec6f99c2ef163200..7c004c8013460bb7f1690351aa6= 4eeaa9eab91dc 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c @@ -2,7 +2,7 @@ =20 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Copyright (c) 2016 HP Development Company, L.P. - Copyright (c) 2016 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2016 - 2020, Arm Limited. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -53,16 +53,19 @@ GetGuidedHobData ( { EFI_HOB_GUID_TYPE *Hob; =20 - if (!HobList || !HobGuid || !HobData) + if ((HobList =3D=3D NULL) || (HobGuid =3D=3D NULL) || (HobData =3D=3D NU= LL)) { return EFI_INVALID_PARAMETER; + } =20 Hob =3D GetNextGuidHob (HobGuid, HobList); - if (!Hob) + if (Hob =3D=3D NULL) { return EFI_NOT_FOUND; + } =20 *HobData =3D GET_GUID_HOB_DATA (Hob); - if (!HobData) + if (*HobData =3D=3D NULL) { return EFI_NOT_FOUND; + } =20 return EFI_SUCCESS; } --=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 (#69561): https://edk2.groups.io/g/devel/message/69561 Mute This Topic: https://groups.io/mt/79423264/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- From nobody Thu Apr 25 21:29:56 2024 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+69559+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 160976656789218.55147041643818; Mon, 4 Jan 2021 05:22:47 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id cj54YY1788612xi2InIRsrMa; Mon, 04 Jan 2021 05:22:47 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.68]) by mx.groups.io with SMTP id smtpd.web10.13328.1609766555678412670 for ; Mon, 04 Jan 2021 05:22:36 -0800 X-Received: from DB6PR0201CA0031.eurprd02.prod.outlook.com (2603:10a6:4:3f::41) by AM0PR08MB3908.eurprd08.prod.outlook.com (2603:10a6:208:106::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Mon, 4 Jan 2021 13:22:33 +0000 X-Received: from DB5EUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3f:cafe::66) by DB6PR0201CA0031.outlook.office365.com (2603:10a6:4:3f::41) 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:32 +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+69559+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 DB5EUR03FT040.mail.protection.outlook.com (10.152.20.243) 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:22:32 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Mon, 04 Jan 2021 13:22:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3a2ae100b9adc13c X-CR-MTA-TID: 64aa7808 X-Received: from 32fb7aed6461.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4265E70D-B125-4147-9AC3-F3B4364588BE.1; Mon, 04 Jan 2021 13:22:27 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 32fb7aed6461.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a5gX+1iZMhv1wwvMsNoo7RH6aHnmHgSH05QKpEutmBonMgQBP+7bMVUOjZt0oX83TYok2uF6LLXt5AaZmSwBoTuxlnwWSxGg+BjA60HekE7pLwcnb1S4kJ7boTTTUwM9o2+2lTLFxX1CvfYT95RwBd+sqVrnhrl+C5t3ZxqDii+43XPtrOmsN1P1/jl8PP/nECxZFvsUnkl9iWJ5KcPq0g9ZRYmb+xbkrNBc7rCP4/yL9FpWGvK7fSFbljXo2TF2Lod/ngkncno1HK6GZkveAJwWxGq4Xt8WaV/V7xBC70RqZC4P3c3czNsmf8t2eN0kO+0wbpjVqj2MmTTHxcQUfg== 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=C38LicE/k0aIcXdo67h+IeFPppYnVq1+wGgUXT6EDXA=; b=PKy75EqTTsBtL2edgmFEZ4zKKGu6yK1OqBX1YCoBsguKAC5teQ/mcB9VYpn0/fwXgQdWkAxVAWXzN28IfvhK7vIDi+hEeL/yCACFgKQW2sQUPRTExu6aHEph+Zlo/yxINHrplnpqy5+pYUbYoAgKMF6cY7cWK7Mk/Da1drXu7VTKBQ8IxV06Q/cBN0zUk6UkuY8o6gk3+O0pNQJGCAxureBIPScuk9EsEtmP21iu2pKCI7KUcgGLicNjJ1D9/0T6wxqJeEBL/zzDnjPZvY740HJYv5TKHOFE9cTbr4BxVotvp2AOSaG8pOVJ5fp44UI19cSRymPtMeWacVOGNstzew== 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 DB6P193CA0008.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::18) by PR3PR08MB5724.eurprd08.prod.outlook.com (2603:10a6:102:85::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:26 +0000 X-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::ee) by DB6P193CA0008.outlook.office365.com (2603:10a6:6:29::18) 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:26 +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 DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) 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:26 +0000 X-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:20 +0000 X-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:19 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 07/26] StandaloneMmPkg: Fix ECC error 4002 in FwVol helper Date: Mon, 4 Jan 2021 13:21:54 +0000 Message-ID: <20210104132213.22376-8-sami.mujawar@arm.com> 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: eb78bd21-21c9-4b18-2dc3-08d8b0b3cb43 X-MS-TrafficTypeDiagnostic: PR3PR08MB5724:|AM0PR08MB3908: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:2657;OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: KwPOV3tKLlFHpSIgwQWesS3tqPOGn8X0dNlhTbtpkS8OeMrLiO0vtCUA7C86ikdNQQuU4m68t/gq7Q97Gs0Oi9/sZKssVMiKj/ZtwqcJ/jAQwJSyKpt0iZLizWDGcRTqLNFTUbY1xnMGJAHxEnKs68D9LpkkWO9bKqg15u5V3T4CwDN+uFM5T7HVRW/dRQDtRcKLj+mUwRK+C6mXWyV63pMR/F09LSSMvve390vW85tw9tYF7+K4Yz4jGRfGCqkvwisPygisnR4JNkjiuDFOGvLHuFZ44xraytvJp1fAm5aHEBPYYbELTQIEqfF/qDXlE9ukrbM8osORjfn7bnUwaxPumcmQIrWtHDVYjAAOR7lYeX1AxWbu0+q6zmLoE1n7HEbBqlfBqCyaZl8aB/HvpINlyCfi6YZGzrDJ6NMIvDezn1NaO4Nk/7Ww2r76Danox51DmMExrzd8dg3/7vqL/CdUaskEhfnTA+HjzoswuNewhmsu0XCpcVwlrSFoX2QVOBzFSW3M540v6GGhU5cDXt+QdMtXypPP86ZpkMJmtHY= 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)(376002)(136003)(396003)(39860400002)(346002)(46966006)(2906002)(47076005)(26005)(8676002)(1076003)(4326008)(5660300002)(6666004)(478600001)(2616005)(356005)(36756003)(86362001)(44832011)(81166007)(316002)(54906003)(336012)(186003)(8936002)(426003)(6916009)(82740400003)(83380400001)(7696005)(82310400003)(70586007)(70206006);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5724 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 80f204b2-80b2-46f8-3d9c-08d8b0b3c788 X-Microsoft-Antispam-Message-Info: BbT7/w6HhSSsVhrs4uDmOpF2cJCb6xvUucUSwxkiyGvqki2GSFIbMnBZRNNcBFGKKe67wrI8Nz5mceO23N8x2OXgU98pJ/EhmV6s3mbK2V+gFddBOuBf1EKoyiRcdnQaYxoxE7h5WXjlLsDb6U1+0aSrYDUmI1nm1n+4vdV5Y9kITQdcUsZZxJfkXKrp+BvQBsdDE5K8daXMR8oUd0vdkmk5P78HGt8msMeVa89Lp9m+d3LCZ5VVwzGNR/XSwiXyTyd3J1u5wZX6jzJryl4PWe1Q+tpaXVGtBBF53SADDQtUn0eQS82v+X7/FKuP8K30ElOFexnsAqVyDc8SmD2mjvV5orkJaYAlhhw1S4dOa08FlvApGanHdB0u0AufMQ+HRwdgsWdaeNSvywVj5U10CcXKEfa5UhOy35dFGPvEAJ5OXirS7uZ1pJ2WCwaMP9uUIjJqloQ5z3ss9hndIWGcd7n71B2rNWsPpqOo7Dhp+p4KpXGUzxv5Pe4yYRNOfL1Q0cpM+UjxNssdE38pK0fts2tEQ3QCsSTBxWIvllg3Xk0= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:32.8677 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb78bd21-21c9-4b18-2dc3-08d8b0b3cb43 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: DB5EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3908 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: uzfYziCQdoUZ9HbdLHDJ6kFex1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766567; bh=2wcPmzQh5qjXyBoFoOShNlZR1lLzojU0jjNiwsSrLZA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=cZHmg6nt1xBl/9IzV9Vo/wAxutFUGpxAZ2b+qCaiyIGH1thuthEG3LuUnQYw7ONERqa GWF20TJGIEXGzGcof9ZRkMtRHPEHOzbgB337M3ed3Vi50haqPSZSjJgqsNU9PnTRN9gsl CaLDp1NyQc7FM5NBOMhxuN2xH7yUICpKD4Y= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix ECC Error "[4002] Function header doesn't exist Function [MmCoreFfsFindMmDriver] has NO comment immediately preceding it." Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/FwVol.c | 29 ++++++++++---------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/StandaloneMmPkg/Core/FwVol.c b/StandaloneMmPkg/Core/FwVol.c index 856d86011d314a33cdee66af77f34fc8b290b509..c441afc3957b0f8c39625d8199a= 16c3823990e99 100644 --- a/StandaloneMmPkg/Core/FwVol.c +++ b/StandaloneMmPkg/Core/FwVol.c @@ -1,7 +1,7 @@ /**@file =20 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 =20 **/ @@ -42,23 +42,24 @@ FvIsBeingProcessed ( IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader ); =20 +/** + 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 MmCoreFfsFindMmDriver ( 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 DepexStatus; --=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 (#69559): https://edk2.groups.io/g/devel/message/69559 Mute This Topic: https://groups.io/mt/79423262/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- From nobody Thu Apr 25 21:29:56 2024 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+69564+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 1609766568961322.3960631363798; Mon, 4 Jan 2021 05:22:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id zySJYY1788612xRU6PiMa4Am; Mon, 04 Jan 2021 05:22:48 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.41]) by mx.groups.io with SMTP id smtpd.web08.13290.1609766558086632060 for ; Mon, 04 Jan 2021 05:22:38 -0800 X-Received: from DB6PR0402CA0011.eurprd04.prod.outlook.com (2603:10a6:4:91::21) by AM0PR08MB4179.eurprd08.prod.outlook.com (2603:10a6:208:12b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:34 +0000 X-Received: from DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:91:cafe::7b) by DB6PR0402CA0011.outlook.office365.com (2603:10a6:4:91::21) 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:22:34 +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+69564+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 DB5EUR03FT062.mail.protection.outlook.com (10.152.20.197) 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:22:34 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Mon, 04 Jan 2021 13:22:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e552065fc0f4acde X-CR-MTA-TID: 64aa7808 X-Received: from c0ed096ba240.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6AC78BFA-80D0-4440-A818-A277FC85A412.1; Mon, 04 Jan 2021 13:22:29 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c0ed096ba240.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H9gVy3ofYtUTaH0uV8AZPfwIBi/kpHdqqalbDZEVVm7w9ubi/1Dzfc2ef0IgR/dc6ejoj/2myryvW+S93Se6zc+RNjO/0GVc/ucbW2jY6scd+xpOC/vsoS8OLCbjEX0UNeztkEZTpSjvYUHKiKX5WwOmZqQZ+r9d6r6w+gKDGwaCg14uUxf16NBgE2TTK4ZoPoFXDPthkz0TXl7KfIupFEsTtXTH51CL5yWtKVRtKKEO0iuaW9/EoDhBeDL0Od3FglxsCLkaW/9+4w/wsBnmJOUI9dwzd4a2Qy85QriFBJULDyOQbF/I8ZFUJEG7hrdwZKv95LKpFPJ2iCRteLy/lg== 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=51gfDPcPhKTQcdosh9wF2WB+hWwBMN0jwHfoUCPYgP0=; b=N77l61lpuZqY6K2y2zDDXa4G+4gwOBokbGC6dVnuIzTjIIzkKOfexjLj5fihDbWTgHlxBC6vpG9bMpnGQCGoJ/KzKINb4xx3PM2sJ10VrJ9HV56GITWpmxfMz8yuDE7bAHQFGa9In3tNRsB040VYuFTTRjhW15m4qpci7MujpAVFSwmAkv5SFvnqYthIXyxr9XPj3MEZaeQGp6ytc9RkgW6615fjhWeTWKPSL7vl28YMmJuGhofyswBxUljiNZxfdXTR3wmK36Yez2pGa1ZW2iyEKzOve2ocMUv9C9WO5+CryaE3E4SRrcBlLxc6vcXU/FgKWwiajiI7nUk+jLp/VQ== 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 DB6P193CA0024.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::34) by PR3PR08MB5753.eurprd08.prod.outlook.com (2603:10a6:102:87::24) 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:27 +0000 X-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::4b) by DB6P193CA0024.outlook.office365.com (2603:10a6:6:29::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:27 +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 DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) 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:27 +0000 X-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:21 +0000 X-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:20 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 08/26] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCoreEntryPoint Date: Mon, 4 Jan 2021 13:21:55 +0000 Message-ID: <20210104132213.22376-9-sami.mujawar@arm.com> 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: d0647a27-0fe2-4599-305c-08d8b0b3cc5e X-MS-TrafficTypeDiagnostic: PR3PR08MB5753:|AM0PR08MB4179: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:510;OLM:510; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: KIwklh9M1sT31hesXicTnUuFEPXmPuwiBZcwuerigjXB9XArNrPiDP4M2s5nKAGtAm6Pq+kUpyZ6AGHdk7GVOjgmm3szSpYNQ8YmtekoOXUc/qTq4bgyUOHpvDDPkH5BAlCTr5otUOpydWoNF2WhM99SuiXW0FUH5easntBUhniTd5yoYRK/0iYCioZ2Hptf5FAaKjKDHKxOvVVtxqbSQJp095uDkoPckvI1NO3KN8bo1tqrduLEWVrOXsKEAF1uEF2nKRoF+JdJ25cABIrJ5LgIETxrMbsmmJc+FDojhc24/GefDkIEbPZOIf+u/KFxcuT2UZpci5JTjfLWVwRMUI6D7kUjwbtexe+KO4Pu8tXW0w9uFxxOy/AOpEixMutoei2GTvpGWX0/rPcqVLdpfnniGOOXZCZ0iZVBwhycxtKgRprcWKjFjQ6rRKT/eBvEii6h7YnRpfvES0DUR9LwMsxnIEEx7KZPz7uMc580MmIxWuDbsyDvSxEme+tEGhRKOvH327DU/SmSCNTHKCuRKk2x7BnXA3ywWpNDyVJtnNM= 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)(346002)(136003)(376002)(396003)(46966006)(2906002)(356005)(5660300002)(81166007)(1076003)(7696005)(86362001)(82740400003)(36756003)(83380400001)(70586007)(54906003)(316002)(6666004)(44832011)(26005)(47076005)(2616005)(8936002)(4326008)(8676002)(186003)(336012)(478600001)(70206006)(82310400003)(6916009)(426003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5753 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 74b7f8d3-9e84-43e6-9d44-08d8b0b3c7ea X-Microsoft-Antispam-Message-Info: COeoMIITrw8X5mFeWs6XLM7IF8E6Er0ldiMY+ITtaWo7JZjoZasHwgyD8lHqgG9tx+Sp1tF8oWZzca3MhhbFxSwI1eSueF4u5Mwv7U3Y3Bw70g1lIgQzv0GrP34B5nsnTvk6HgIRADjyoatBI5cajwQxHHnHblztPGUdrkzVFxSaCE69r7ltsXO00IkPN0xR/9l9ZZfvRIbbj3fiWTlMcYMUDYvgV4TvgNoAj0zEFNAPeGTUvUkXRWTJzULen2/Ctg1bG8gHyTOblefuDcbBPq9RYwBJXWV+8rNe+dJIoRATlIgWxWx6Ke50w7dC6S20rQPO4wN0lektmcRrzZagHVkl2aTE9TPPqPfopZ7j4IqKEMM4rfhYRqyN/PF7WD13wwfKgLmcHv1bnYg/eNhYIeQsS+WUC+iVoqm851TbolD3nt19g7289C5YskEdk2mQCLZgnA7RgI0ETgp+fZDo/2kQ+8Rup7v5ir7ITXB7x22x+nZMRPznNi4EkL1RetLKl5eCIh70qu+5xI+XrOgjNPKQHsYz0tx8i5jGiuDmq8s= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:34.7204 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0647a27-0fe2-4599-305c-08d8b0b3cc5e 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: DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4179 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: YkO6hHyV2jTgQUg33lz55Sm2x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766568; bh=XlGdE3MyivReAc8sXm4XJ9e8bd6Dj4+z7X7jCTwBZDc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=U5hThLv2y8+NBSKv6HZQJAo5wwMlIkktuKw6Goa9swqebwsQI+0Q3jUqdMbcabXxZaP P34B4vJ051co5vnApPdY1CscEh2c+l7Aoue6Wo+/hT/FkKN+aQKd2iOXNUHON2HfMaAho RXkSNvOZRUuMxbdC1Wkozwy49xC7PlGkO9U= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix ECC error "[5007] There should be no initialization of a variable as part of its declaration Variable." Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.= c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Set= Permissions.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/= SetPermissions.c index bf9650d546291f6d449249d4f0577278a93adb24..0ab6edaeb7f05bc814281d0e928= 305804633e970 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c @@ -2,7 +2,7 @@ Locate, get and update PE/COFF permissions during Standalone MM Foundation Entry point on ARM platforms. =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -121,9 +121,10 @@ LocateStandaloneMmCorePeCoffData ( IN OUT UINTN *TeDataSize ) { - EFI_FFS_FILE_HEADER *FileHeader =3D NULL; + EFI_FFS_FILE_HEADER *FileHeader; EFI_STATUS Status; =20 + FileHeader =3D NULL; Status =3D FfsFindNextFile ( EFI_FV_FILETYPE_SECURITY_CORE, BfvAddress, --=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 (#69564): https://edk2.groups.io/g/devel/message/69564 Mute This Topic: https://groups.io/mt/79423268/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- From nobody Thu Apr 25 21:29:56 2024 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+69565+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 1609766566237213.99590991551156; Mon, 4 Jan 2021 05:22:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id CKtVYY1788612xyKstGYYoiF; Mon, 04 Jan 2021 05:22:45 -0800 X-Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com [40.107.1.76]) by mx.groups.io with SMTP id smtpd.web09.13163.1609766558303163044 for ; Mon, 04 Jan 2021 05:22:38 -0800 X-Received: from DB6PR0201CA0024.eurprd02.prod.outlook.com (2603:10a6:4:3f::34) by AM0PR08MB5298.eurprd08.prod.outlook.com (2603:10a6:208:188::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:35 +0000 X-Received: from DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3f:cafe::1c) by DB6PR0201CA0024.outlook.office365.com (2603:10a6:4:3f::34) 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:22:34 +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+69565+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 DB5EUR03FT015.mail.protection.outlook.com (10.152.20.145) 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:22:34 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Mon, 04 Jan 2021 13:22:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3506d545711355bd X-CR-MTA-TID: 64aa7808 X-Received: from 4a2051f1e07e.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A8B0C2F4-5DD6-4180-B6B6-CD2C43685D82.1; Mon, 04 Jan 2021 13:22:29 +0000 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4a2051f1e07e.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g02sa1g9NyE4wAmIxVYU2YxfKecJRD26F4+HwGSmS9h2OKFy9mtqn2Ce7IcDhzJm+5QPHDsFNmBJGpMWod81AvBBbVo76FJZqaA08pajB/z17cUjKYm+XvWwZOUkTmYp9Zx84XNj/tSPP9z1zb8xndBXzWubOGX2e08q7DXQEC/2gTu+92puLeG1+/K0bOkD660Ef2bvggCmqGHqNlljrxZpJZba/X7G7t1COk7oEnH4qdbt0wD2mnxv/aZHY8Hn8pDuhPnZkpviKh342CcXkts9cnvSNfarcyxnT71G6zr9KSMHLZ0bNOThWEZd3e7MO6P9rYkjKby30+SIKAc2+A== 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=MsUJNUna4dfMPcc+4ZMGAng467IQ0PSDJar6QnWiDK0=; b=YNhJd1bzl2R6dLgHi7QytBGg+SDNVxW04SPNj1DoMIqjVoQm9/PiPHZZgr3rK+b7f7ZSH2jlanUm0QCZlrz5FOAuNv5VAZ9RC9tYRMxy/MVl0rXaZi1glhbGJLkESqOJsiwErRwNcBz/w1YRagXzJNM2RyNQB6qiViYaDlhAOMnXwoTfs2koKJH7vjFoj7vQk8gcOsbearNH39TlfFZTzJ0BH4a8rA/629nDZUo2kjbJOd01GTTpp7chHqJ5vN07G6+QLHDNUB5KL4QdOKCG0dYx2ygaVT2weMjxyxs02st21WE7ro5m6NLFLIlPQYxQQ6wQSvBiYkt5yX3WaShr7g== 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 DB6P193CA0014.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::24) by PA4PR08MB5917.eurprd08.prod.outlook.com (2603:10a6:102:f1::14) 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:27 +0000 X-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::96) by DB6P193CA0014.outlook.office365.com (2603:10a6:6:29::24) 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:27 +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 DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) 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:27 +0000 X-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:21 +0000 X-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:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 09/26] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCpu Date: Mon, 4 Jan 2021 13:21:56 +0000 Message-ID: <20210104132213.22376-10-sami.mujawar@arm.com> 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: 2df18899-7c3c-4a72-1733-08d8b0b3cc67 X-MS-TrafficTypeDiagnostic: PA4PR08MB5917:|AM0PR08MB5298: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:7219;OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: qbu8XrZ9oFM/eVJ3dZRO43s5htYyAS0s3g5Mv4JD2WuUBtmFjgOaDE5kuZHrHAAPqmgcrgRM6Ir9dpQTFbyqVu/UMS6Wu9QBCtVAxGhS1tbaCFER4PlIk38ZwjjMYizWcohl3c9Jmtyn86x1/nGHitlcstc6WShOqbomEL907dvWU1xc/RUA+z4xoa40qLgoCdc3hbgpi/8T5P83sln24WTwwChGJ9qXycxrbTSOJkc1MgkgGMrDIwzV5O+6NQz9m0xCyyK2bwhnBsaQVEFlZdHmP2kBV7rdOHF7/LL3R/pFNQBM5kqPiRnz4Y2ZfY2qMWDDiw0+Oonk/gTGbFh7BtJFGtZ+0PNI7cZAA+ObNU0025hvV+yB0dj/0KomRKRUVid9vSGAj01YXkvWMCAgwVobSm/iSoHnJ1WzvbxiV6q/TQDhaAaKYX2WKCc13Bhwrfmekt9w0VlWmvrfv2jEx/aiYOTlu1kEoLYAUAMgEF3qjOvRDn+e/tuwhKYU/Lxi1MYG0MwPsbfNcLEmZXClsW/H2t6ynZRwq1GxxPFiP3s= 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)(396003)(376002)(346002)(136003)(39860400002)(46966006)(47076005)(2616005)(186003)(8936002)(54906003)(6666004)(316002)(44832011)(26005)(426003)(478600001)(82310400003)(6916009)(8676002)(4326008)(336012)(356005)(5660300002)(1076003)(7696005)(81166007)(70206006)(83380400001)(2906002)(70586007)(86362001)(82740400003)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB5917 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a1b01ab5-9e62-4223-1bf4-08d8b0b3c83f X-Microsoft-Antispam-Message-Info: zLa/FCFiaJIflo3/XksfP4c79AmgntTGu7ippOh1D5O2WrW33i5WQS5AQJwvjKpiSWuCgInqMVZAqzP4ctpzcDVjMNjveK8iIKHvvtyJCq3hGIBBRuqdGIC9MW+arB8M6kmEoRwNhs9otnzAJCuThQeao43Wi47fV5OrcsCUbM8nu1ZMFQ1QsA+xgfB3fxFqnm+52AcE0zR8wLylaMfCX/JtJO8vTr0lw8FGoS1ITaxXsf5RFCEFdOITHIzhWL96jYeNiUUMZ8lpQdDQ/8yd8NszFE49mJLmKg8jdVigyqBfv12jB43cvjqWmNQnJNh83Do+4pG/UKU7AGkFuZ/CE2uw57mvPwBj5khtifoh0/eYqQo+sglJbBricDsAOqE96KWsaC6zTJugWGBvqUSXW/0BSbnGV1s972bjd5qY56DNh4vTZ410iFlWFhr2nz62h0kuIUJlhSHfIQmZfvMf5J/EmZDuuxep91Lqt6JUedyS3UesfUVBe8laFgRobJSqZ1rlVv4QMYyLuOaNYk9laIrUwiRnzYgFQh7c2BGMQW8= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:34.7797 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2df18899-7c3c-4a72-1733-08d8b0b3cc67 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: DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5298 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: ZVqED3T4kI36CvLijXVWqDcwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766565; bh=WWAJMlunK3k0Sef/TxcpIcDzFZwr7kq0wNi8slyM8PI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=u0xJyFs50HSYjkxs3dVHqFbspT1nq+EG5Z9UpeSh63sy1O8s+VBbOYyQQzThTw1awlO E9Wm0cl2di0BHsA6AIR5GySPozLa8BUVPhIG1+W0VTgbku21aqZvm4qxho4KBASY6hLy1 09K44m6zX0NG3FFFvMDkj3qrMLBVk72K7mk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix ECC error "[5007] There should be no initialization of a variable as part of its declaration Variable." Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 9738e8bd60149efb45ef1b66139e0cec38b6c1fe..7620a65c7e3bbd647961942f5b3= 0d3d834107f70 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -65,8 +65,8 @@ PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN NsCommBufferAddr ) { - EFI_MM_COMMUNICATE_HEADER *GuidedEventContext =3D NULL; - EFI_MM_ENTRY_CONTEXT MmEntryPointContext =3D {0}; + EFI_MM_COMMUNICATE_HEADER *GuidedEventContext; + EFI_MM_ENTRY_CONTEXT MmEntryPointContext; EFI_STATUS Status; UINTN NsCommBufferSize; =20 @@ -107,6 +107,7 @@ PiMmStandaloneArmTfCpuDriverEntry ( return EFI_ACCESS_DENIED; } =20 + GuidedEventContext =3D NULL; // Now that the secure world can see the normal world buffer, allocate // memory to copy the communication buffer to the secure world. Status =3D mMmst->MmAllocatePool ( @@ -127,6 +128,8 @@ PiMmStandaloneArmTfCpuDriverEntry ( // Stash the pointer to the allocated Event Context for this CPU PerCpuGuidedEventContext[CpuNumber] =3D GuidedEventContext; =20 + ZeroMem (&MmEntryPointContext, sizeof (EFI_MM_ENTRY_CONTEXT)); + MmEntryPointContext.CurrentlyExecutingCpu =3D CpuNumber; MmEntryPointContext.NumberOfCpus =3D mMpInformationHobData->NumberOfProc= essors; =20 --=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 (#69565): https://edk2.groups.io/g/devel/message/69565 Mute This Topic: https://groups.io/mt/79423270/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- From nobody Thu Apr 25 21:29:56 2024 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+69563+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 1609766565777952.7530858713013; Mon, 4 Jan 2021 05:22:45 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id mAViYY1788612xV5RuR0s3TG; Mon, 04 Jan 2021 05:22:45 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.40]) by mx.groups.io with SMTP id smtpd.web08.13289.1609766557930787922 for ; Mon, 04 Jan 2021 05:22:38 -0800 X-Received: from DB6PR07CA0068.eurprd07.prod.outlook.com (2603:10a6:6:2a::30) by DB8PR08MB4987.eurprd08.prod.outlook.com (2603:10a6:10:e2::16) 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:35 +0000 X-Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2a:cafe::73) by DB6PR07CA0068.outlook.office365.com (2603:10a6:6:2a::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.2 via Frontend Transport; Mon, 4 Jan 2021 13:22:35 +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+69563+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 DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) 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:22:35 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Mon, 04 Jan 2021 13:22:35 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6db403e895d05b1b X-CR-MTA-TID: 64aa7808 X-Received: from 8af1bbcaec80.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0B56BE64-F2B5-4F5B-9482-B2E2D37FF133.1; Mon, 04 Jan 2021 13:22:29 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8af1bbcaec80.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AmR1ipJHdwuZvkphCg3zCN2CuqBrEv19V3bA2in/EjRStyyizbMOylfWZqsrPIFqFan0XhFQQB2D/IQskRVII/2+p+F4mBONFqc1Zw4t252b3XO/zTANYiZ4hbbGwTep4K20QRL6y4bWPxxT8RQY5ckJCqWJfibrZ5ydiuKfhfikljL47ivn0zy67Q/ik7QjFTVJXqBtFMw4j5BZDuuMl0cm0BBCzQBfH4IOC7dTG1HHBkkU3zAuLiFndK2cLhRD/7Af83O+Q3Xuqj/Az9dDA0g0xsAptnSKkM0TWgNfMKS3ChcAFZMDOUyAJhbdAgh1pFpQmox0b88bUXH9qSwKCg== 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=Tw0hYfXd4Utr4sXqsqB7n3ivuncu+abcma7R3cmUb4M=; b=aF5SavX+ZsrlC41iFjE03icd91tLHfhFKEnN45uI3DY1wOrxpVFxCT4SM5V6urgRZPoCNpPg0ITzLrjvHV0I2bvYsHjX9TLR4TxmAg+YQeeiIl4A4jJ2KMSx1AOugwH62TsuFzfCCB6+OYi28jbAPhgD43/j4PExEuzk61Ztn3Re4BWSxCkRliHvKaYebVv6McSlb75RgIjRfe1X35JSO9/mcdIOSkY2+tqEXeFpGcz15WuXkHdRVlrQQyB/nTXqQlzVxDMgW7CerXvX1wULk12cLdKahGt3jf1EZ6SDvWkE/7jJ00K4HW26GVpXXZM0bHgz+weqLhK9rvO20/TfbQ== 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 DB6P193CA0017.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::27) by DB8PR08MB3947.eurprd08.prod.outlook.com (2603:10a6:10:ae::20) 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:28 +0000 X-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::ec) by DB6P193CA0017.outlook.office365.com (2603:10a6:6:29::27) 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:28 +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 DB5EUR03FT011.mail.protection.outlook.com (10.152.20.95) 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:28 +0000 X-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:22 +0000 X-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:22 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 10/26] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCore Date: Mon, 4 Jan 2021 13:21:57 +0000 Message-ID: <20210104132213.22376-11-sami.mujawar@arm.com> 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: 4789e6b6-56a8-4aa2-f454-08d8b0b3cca0 X-MS-TrafficTypeDiagnostic: DB8PR08MB3947:|DB8PR08MB4987: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:538;OLM:538; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: /D6rrjPvELMSXLfyAU/kr44FWGKPtub7IluC9rDurT0xJS0y7R7iFiR6hONy8E0FSqN9AYmK98Ph+1Blb9Vy8MTXmJfG08NY4gKFmuzj8zVD9laGl3Q2OWE4jd6Oo8gLGhnOw2kL8SKOasIo+uzri9i4uE7hvSr1URocyopVdwpmWFYFVA5vDtDCZnpLhC2plMX1DvwwGjDSS5WrQbRalaz2jOLEA42SNLdKqyFifhbY5HJZE/QcMY2Rxe1V5mD1++IupLnuEYdhrulWkVfacYAIok2H9H8QUyKOymlM4pwJoZL/rkVkosx7jn+P4SsVa168XX/8xw0WkNcqPcnMP0hQbN1RytxbjWdj23tbEX5UxIwhhlX9RgTp2jZ1wzM/rtk+r3hP+2Lyg4Tn32UV6xVqmArLdU8LDxGfbq1WRWFHniQE+s8I4ScBAfvmcUhgqYHlcX9iudqAeVf8EGyvmcUuxiqIuVAHt7Dp3wVZtvi0AELkcsPQIdmZgIU8aGFXW5P2e0f553nJTCVbZMdWmOfTMJ5ojN+LFf3MeySqtaA= 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)(39860400002)(136003)(376002)(396003)(46966006)(70586007)(44832011)(70206006)(356005)(81166007)(478600001)(83380400001)(86362001)(6666004)(36756003)(82310400003)(186003)(26005)(54906003)(6916009)(8936002)(8676002)(336012)(2906002)(47076005)(7696005)(5660300002)(426003)(316002)(82740400003)(1076003)(4326008)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB3947 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f0278beb-8d6b-4df7-18f4-08d8b0b3c887 X-Microsoft-Antispam-Message-Info: BwNJ2SvonNj/rcN4azfMIJV1Bhi4zeTZ5zOtSGRUzjwjCi+iK+oHRDH689ScRNrbR8EJEsgr9UNvRBrUNzzWSrVkiWOu07UyigibCzMRty0FcE5Anqh9Vz6N7lvHC4oju/iIzstFkCPcf5AQojV/poLTHgeQoH/U5AUQoWpnKVNvIIl43hbDm/k5O8fKwdXAaZEYpx99b63DjYU3XZ6SQrkYqoieD2wivQZPrXrc940DvGjEMvECTvJFtvqWjtBiAjIAmmRpE1X9XPnVBv3qW1egjaPsN0v+wgOeRa9qhpA57lzP4mDW6DXxWzqwZCmj6GpQoepyW7vJao95+IU1hjeQBtRc6U62gTOftvL0yuKrCzFKRwSANTDioZk6e9bDgjK5lvbRBGGCWnagGRFtsGUyL04fmZ9XZVZ/DYHss5oYQCagOJumyEvRe7MFYT6b06Enjdk9vbNnRwKHFrEDPRsOFeJ2OMMasUHJO3qxWPD0xwVrMBIMtDe98pIy6L/Gh4uXD4SIRH4MmZfyKu+45WJusOuUhp12E4JeRBeMF0o= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:35.1600 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4789e6b6-56a8-4aa2-f454-08d8b0b3cca0 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: DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4987 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: ajGX4udJO1ZSbp9luudOnCutx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766565; bh=vpwmNxOVVoNQZJX0r66xC0/G9IkG/OUH9iotxryR5sY=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=HxIfi/lQM04keDWvZtlO3txw4Q7ByU5ySDAxdOKA0jkwX3fyDtDRb9n9vyr0pM0WgJM ihKrHnIV+z0NLsqAGDvf9ha3VEi0GCyIOCKwl90bCjlL8pzqV+n0EDA9GRyxCAeXSDFto KROKEjw0BKWNOT7GwG4FoCuO8fnwSwZm2C8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix ECC error "[5007] There should be no initialization of a variable as part of its declaration Variable." Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/StandaloneMmCore.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core= /StandaloneMmCore.c index 0b3ddbaa6a35e2e609f737a39ace62c2406bf8df..803d7605ece7f6a3400866a04e3= 9acf74cda8144 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -149,9 +149,10 @@ MmExitBootServiceHandler ( ) { EFI_HANDLE MmHandle; - EFI_STATUS Status =3D EFI_SUCCESS; + EFI_STATUS Status; STATIC BOOLEAN mInExitBootServices =3D FALSE; =20 + Status =3D EFI_SUCCESS; if (!mInExitBootServices) { MmHandle =3D NULL; Status =3D MmInstallProtocolInterface ( @@ -187,9 +188,10 @@ MmReadyToBootHandler ( ) { EFI_HANDLE MmHandle; - EFI_STATUS Status =3D EFI_SUCCESS; + EFI_STATUS Status; STATIC BOOLEAN mInReadyToBoot =3D FALSE; =20 + Status =3D EFI_SUCCESS; if (!mInReadyToBoot) { MmHandle =3D NULL; Status =3D MmInstallProtocolInterface ( --=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 (#69563): https://edk2.groups.io/g/devel/message/69563 Mute This Topic: https://groups.io/mt/79423266/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- From nobody Thu Apr 25 21:29:56 2024 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+69569+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 1609766569628944.7472574075246; Mon, 4 Jan 2021 05:22:49 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id w2pgYY1788612x1i4shVXBPK; Mon, 04 Jan 2021 05:22:49 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.47]) by mx.groups.io with SMTP id smtpd.web11.13266.1609766565011989109 for ; Mon, 04 Jan 2021 05:22:45 -0800 X-Received: from AM5PR0301CA0029.eurprd03.prod.outlook.com (2603:10a6:206:14::42) by HE1PR0801MB1673.eurprd08.prod.outlook.com (2603:10a6:3:86::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:42 +0000 X-Received: from VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:14:cafe::de) by AM5PR0301CA0029.outlook.office365.com (2603:10a6:206:14::42) 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:22:42 +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+69569+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 VE1EUR03FT043.mail.protection.outlook.com (10.152.19.122) 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:22:42 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Mon, 04 Jan 2021 13:22:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 98c0ef89e6908358 X-CR-MTA-TID: 64aa7808 X-Received: from 067cc3df2d87.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A9F6A530-1573-47CC-A309-0AEDE4E76DC8.1; Mon, 04 Jan 2021 13:22:36 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 067cc3df2d87.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kYDDVZAqUldHq+/hsKCSD/tg4cwkA6vHMEds7UbePh4mxOACS0ric5AhpNlF7Acwl2g3SJXtbeLd8BltyOh8hgVdUkij+7LOnTfKcmo1wxlbmYYSQq61CAQD6cBcPyWAYKMe2Ms6IDoM0ndzuyHhZ097j13sO3NzUZ4Q+i2l1t4HXJOn6d/E3AedQdnk2iG+3qTj53QImjLwc3bpiz6M2Y6Iv+4pCuBM8w45v7PvEtzUPNQbm4mOAzNQtr5GFxf3/SHjT/Px/kZz0nvKZJLdpoQ+lJhMlpC7EDqzA4p/Mjc9A2HMPzDNgi5+bTQ5R0aQAjvthD2EgeugDzpdPNCyWw== 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=BeGz/O8FuxQIdzCbWt9BO7Pa+8Uz2HIFbbawwqf0NsA=; b=KPt6vEfIgGsMqXU0aaZqAdk5RYGfENYAj6T9mmHNoJzfqLUVzyRleP4Yx0tLqJU6xAUR15FxRrlIChHyBd/GmnIgqtZAvyBoMUFTlJc2kth+JY1+lssYBrb3fzcb1hlZbTijbcDW1xd5dTbYMFXOMV6h5NM1QvXJBrngszWJHYkF+nDVxMzNlKSnnCRI1V0A5IIbFK3KZMF6pQbiOp3uPy/AKUgps/KU12JqSH1f0CrtPzXVQNiOQTuR6Mvuz5aBCzRmrzJripBeTIjmo+MiIDjXrsHDkH+6N/bFatn4AluAAw1Nnn3zR+iQO/phP8fiFHcNOYAyYDTv8nsBzuWvJA== 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 DB8PR04CA0012.eurprd04.prod.outlook.com (2603:10a6:10:110::22) by PR3PR08MB5675.eurprd08.prod.outlook.com (2603:10a6:102:8a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:34 +0000 X-Received: from DB5EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::6a) by DB8PR04CA0012.outlook.office365.com (2603:10a6:10:110::22) 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:22:34 +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 DB5EUR03FT023.mail.protection.outlook.com (10.152.20.68) 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:34 +0000 X-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:23 +0000 X-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:23 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 11/26] StandaloneMmPkg: Fix ECC error 10014 in StandaloneMmCpu Date: Mon, 4 Jan 2021 13:21:58 +0000 Message-ID: <20210104132213.22376-12-sami.mujawar@arm.com> 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: 1cd48682-d3f9-455b-fa89-08d8b0b3d0cf X-MS-TrafficTypeDiagnostic: PR3PR08MB5675:|HE1PR0801MB1673: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4303;OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: oXeFrfRKGMRZ5v4B7m8lOSVSZQLQ/qv9RO39cp/EFVeBgRvQPh/DiddyFcCdla7kt1NWdkbs9L0DBxEX4D7mHtiHuxlcXQZKjbfleV3uk2nn3SmTjZik9tIK22ECweJokFAsZ1yiIPmojXSiJ3El+Ws7M0M6im/TXz2vyHhMxjRKNn5MM5AqjzH8R31zIbztqGJyPIe4Kv33WTm3L3ljXmhIQDTBHF7TZq2S3amqOscYd8eZIqCnMdPyvhfS7/3Zt3XNUX132w+ylLqkGyb4rbb35NOwaLL2Tdt7zVonPQ0k0yCIuirbomHQpfNTD15L9NxPgaxge49zk8gs5AHbY135fB3HHTj7wIQ2aYpuipYMxIXnEOiRbYSMcRgdr+MCxf8+7g63mhXHujR7p7tTaVcI/3QTC4x76iXqCsEACfdUwzPRsFRu220twIXMWmkW9xIOytzOUmZA0ygM8mg1sR+4eSdp2X+MHztcwuAGZqzJPBUWbFylLKZoQEEnBBuL4ngmUwMAm7IcWDVmumPTvPw/AjrjEnXY6pThZ04wKZA= 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)(376002)(396003)(346002)(136003)(39860400002)(46966006)(54906003)(81166007)(426003)(2616005)(47076005)(44832011)(336012)(356005)(26005)(7696005)(186003)(4326008)(6666004)(2906002)(1076003)(8936002)(316002)(82740400003)(5660300002)(478600001)(70206006)(83380400001)(8676002)(82310400003)(36756003)(70586007)(6916009)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5675 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 7b560157-2917-4dcd-ea57-08d8b0b3cc5a X-Microsoft-Antispam-Message-Info: yhXBbkyZQXR0H8GlKWjgIgeXMLyI8pGDyf/AdbQ9thCH7upTQ3INtKWdyJ57nqTmj6h9s/omTO5eT8Rq/ZwvchoqbXB/2VKlo2QaQGy3aOj35Y4u59DPh2+rR8ZZHhD4LRk25zZiRltCjyLpmX8J7qudr6omSrIuuH2x9zyCBzxMf3VCMp8Bjj8PrMdF6oklcap4M8lPh9+cnxsdSk07qBppfE10idNZVVP2YW3KAGXIqffK0ZhKfJMSRnGu/C8IgFyLlE20iOmyRGhaqF1wwVE67O6Gebql0WbFJKe/jHoAk2vvT4ZDR7UKmRk55nz48Z9uhe5JlTZg1hF4AxKQKaUOfl8WeZPPtfxlBEuOseHuohtDpOioXZOCnf+zs/ywwXGhuGTHeIQm2qiDoZgDuVU03tD/SptdvIWWU5Y0hSoJWpgzGMzMuOBXQWjSkT5hJHElo4wOB9CWW3vAkSxvvhu8pC6JIW51EZ553E6h7EM03UDm6J9Z+905zDgxJlCPcPp8ugyBQSctTaYREgKi7tBXB3+gZ03RxU/Qo4uzL80= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:42.0558 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1cd48682-d3f9-455b-fa89-08d8b0b3d0cf 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: VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1673 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: GBY0KAyjncGsOYiRn6YxJxMnx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766569; bh=WCJrfLJZtbHi7qtvK9XgCu2+zodAs+hL6yRwy71Sd8s=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=STlxbp/pIzPbghSV8ImsSKk8jba4xqwJKG/CgYCAVII3ezBW+lPytrgaptEnOocso6Z Pk2bk3z8VKJmf2wZ6qF7K/sUXb6DjwlRpM6dgq0q/FG71dejJvOu0O3uV39IRFrL/d8NK 0WSW+kB8oXK0zonzAbsR6a3kUuspcTOzPxA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix ECC error "[10014] No used module files found. The source file [StandaloneMmCpu.h] is existing in module directory but it is not described in INF file." Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf index 5cc4915806db72e36da6cec85d5f690c0c958f16..05327de23072048d3a17a480b6a= abfdaf04e7955 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf @@ -4,7 +4,7 @@ # # Copyright (c) 2009, Apple Inc. All rights reserved.
# Copyright (c) 2016 HP Development Company, L.P. -# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved. +# Copyright (c) 2017 - 2020, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -21,6 +21,7 @@ [Defines] =20 [Sources] StandaloneMmCpu.c + StandaloneMmCpu.h EventHandle.c =20 [Packages] --=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 (#69569): https://edk2.groups.io/g/devel/message/69569 Mute This Topic: https://groups.io/mt/79423276/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- From nobody Thu Apr 25 21:29:56 2024 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+69570+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 1609766569898415.20338639503564; Mon, 4 Jan 2021 05:22:49 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id HEjIYY1788612xoupRenbcEP; Mon, 04 Jan 2021 05:22:49 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.76]) by mx.groups.io with SMTP id smtpd.web10.13333.1609766565695930696 for ; Mon, 04 Jan 2021 05:22:46 -0800 X-Received: from DB6PR0301CA0059.eurprd03.prod.outlook.com (2603:10a6:4:54::27) by AM6PR08MB4101.eurprd08.prod.outlook.com (2603:10a6:20b:a1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:43 +0000 X-Received: from DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:54:cafe::f0) by DB6PR0301CA0059.outlook.office365.com (2603:10a6:4:54::27) 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:22:42 +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+69570+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 DB5EUR03FT052.mail.protection.outlook.com (10.152.21.82) 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:22:42 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Mon, 04 Jan 2021 13:22:42 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4bd2afe8f581042b X-CR-MTA-TID: 64aa7808 X-Received: from 66a5198bbb33.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 811C8D65-5B60-47C6-BCB4-13C91EAF8E37.1; Mon, 04 Jan 2021 13:22:37 +0000 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 66a5198bbb33.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b+8cssSXRMY5JKnju1OUsZFP75+aPTmyWd+JBP7t2bRr+5uZQId2vPPkANm4QVzX5r0iC3CLOPTEJvir6666DihYd5VmO4lVN7s3URTUPcXF/sLGOuqqMELMv+v9gbT/Tunf/9u1lI2dqNlF7/aAr6V4oWAJvB/dIh7PrlW4X4TwQxAjxla6KJzuLaSVwrsGqaXuyC+sRMFjXKDxxKBKcbtlUe3p5/4x3JJYVO9IQd8dErk7S8nAeIWUB1TLsH2ZaMsGblEktw2/xcHFQ2Ev/nTCsxB5joaWaMfO9E/RLHXomzWVOrUh8mVls66hikW1fpAUakbq+AO4/J7S+USlfA== 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=HpC+Mv4Uq/I938BhoDE6SpMf2IXYrP77pynWQTRAlVE=; b=ThrNsRekCvx+Bkei/igQBYH/ACSAUJ6p1ishzsPh6Yyar9j9+RXvW+cmoIqHzM5nBh+tv2yPDUKqVyT7MIRHglNVJqHVUH6IqY6TeviZWC0zhMZ70cwoLvZoeCxCVG/iKBxFLhzRYCUbkdoATsO0K+8UrezZYC36vKRnVMUm23Cz7InKpxybJvJFPRcTWtJFxNqP5ky04eBhKMyHpCCg8ObNd7TxspcwHh/tN7xzaxp5IWkJJ1yKgTsOz/AxLWwIZsCOzsbVV6ti7U7uHjUqRg6RgirlPYVK5MtpqCrF1s5thn/36DKsR7isZSAA89cjSl9nAFQw6GL3q2vrbpwd+A== 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 DB8PR04CA0021.eurprd04.prod.outlook.com (2603:10a6:10:110::31) by DBBPR08MB6187.eurprd08.prod.outlook.com (2603:10a6:10:209::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Mon, 4 Jan 2021 13:22:35 +0000 X-Received: from DB5EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::6) by DB8PR04CA0021.outlook.office365.com (2603:10a6:10:110::31) 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:35 +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 DB5EUR03FT023.mail.protection.outlook.com (10.152.20.68) 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:35 +0000 X-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:24 +0000 X-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:23 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 12/26] StandaloneMmPkg: Fix ECC error 4002 and 9002 in StandaloneMmCore Date: Mon, 4 Jan 2021 13:21:59 +0000 Message-ID: <20210104132213.22376-13-sami.mujawar@arm.com> 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: fc4314a1-10af-40b0-018c-08d8b0b3d139 X-MS-TrafficTypeDiagnostic: DBBPR08MB6187:|AM6PR08MB4101: 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: /1v8eMjDrAL2pJVyKKLiZbq8or5xfbTPgUMu+VE8UyATQXB5kxmFknbLq/+olmSPVvF6qkjsNkvn27FxqXnDGkcEdNKaIyYVcTxM8Qt/PDgfXsRyNs1dEpuKK0Xi7KVjwt2KcRv8awQ7eUm8nD6mWwVKhdcD4h7uJrDVu9F24joudUJH5ltl2pExy8oYvbr3s4Tkezqg7d1Siq9uoIKB6p4OD7YvsZnEUtxPZAsp4pfMbh3ZcAXo2rIzJZqOG7qtSYpOPUYlGjXpwR+JVDQr/WhqPBg6ADWxgpO8e274R74gwY2fGmy3eKSjzxwkdSXMjnjyQnzWpZ8c75XdDu6FxuwuIru+cUuxurRufEgJRPmC9/GHYLhMV6DUfFbU1Kt3qFV6abZRWg+ihJ16g1VcLohSK5nQyhSYicbMEBWnQ8IHvYSr56a+andFPmLc3Og9E5BRIt3FRD64WQ98txMA8DVRj0hzLNtGOvdkna286ETnLzMWLAu7X8ESYeia+aDTB7eHFgo4Ux8jCfBFYvXuqQOvaATb37MWwv/yZ4D9E6s= 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)(136003)(376002)(346002)(396003)(46966006)(5660300002)(8936002)(186003)(426003)(6666004)(336012)(2616005)(70586007)(47076005)(83380400001)(316002)(478600001)(81166007)(6916009)(86362001)(4326008)(26005)(82310400003)(54906003)(70206006)(44832011)(82740400003)(2906002)(8676002)(1076003)(356005)(7696005)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6187 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: b2b169d8-e1f0-4f7a-7be6-08d8b0b3ccff X-Microsoft-Antispam-Message-Info: hk9qFP/YTRfOVEZkYwI0VtWvbSQ46pOwGn5PT50rDh3ua82HSYpjDsd2cqScDQ+RuSiYNJ2LA2IZbmcgbUEdJQg7ja+vYt9f9MOEIwToXQhQZ3af2UNkYeAWztWThx8PO6szzMSmtyl6WeuhvRE6ZEQ0JHPQu4PfTqi0jWU5RUUGVKFB7wC1HRGuo8nGW0Bu3edWcoq4PDsot4zgkSj+tzR3/ZPRT9TwgK8U2T090yzgNwjokYh3+nX84Cdm34nMO2Bns7ynzTacUzr6lycqZXPisQJCLJo1X5x/eQOx7FVv3HuwQJEbgkBdLY1ekqtLOC2knB1X75pUJtj1Jhb5yzDMdtH+oYWSUXwQha4ckD4ioZsn4mpbC6q2NlWcm0b1eSQB+4RmUVuaJo7Fh6jRhxwE74H0+tG7BNgZeg7t0cu/alt0D5YTCUSPj73lp5bgrMNMwO8ZBr6dpNb2MI1aQ0L6TxycK1S3AZdgfHwR9I0gA+r9Dc1vInQEZYyofemqrIPvN486w4r423KgsImzB5033woog4lFyOW9PSjk6+Y= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:42.8373 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc4314a1-10af-40b0-018c-08d8b0b3d139 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: DB5EUR03FT052.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4101 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: EAAd5vMMWNyTaoSVwmGdY1eIx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766569; bh=0U0tRgim8VKbhjFUlEe1q9oKgj7Yoe390xDCc4KSj2s=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=rmAkWRWtgUg2Qb1LuNPDJrEhOIi+Y12DaopGkLvZTpk6S0qGhNb2DhMqrLKjM6ttOgr tQyryT4w0jWB/kB6XqlXo7SqRUb6wYm+Xhh+iZDDWNEuMR5dvUP9TNpAHKuzX/ZUsQglI EkNnpg/p5mmx9bO8n2la9NI0R8wJb1RFvFk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) 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 Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] 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 (#69570): https://edk2.groups.io/g/devel/message/69570 Mute This Topic: https://groups.io/mt/79423277/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- From nobody Thu Apr 25 21:29:56 2024 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+69573+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 1609766605579155.70832372478174; Mon, 4 Jan 2021 05:23:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id k6AaYY1788612xHaQEfeLpN8; Mon, 04 Jan 2021 05:23:25 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.62]) by mx.groups.io with SMTP id smtpd.web12.13529.1609766594354014509 for ; Mon, 04 Jan 2021 05:23:14 -0800 X-Received: from DB6PR0301CA0062.eurprd03.prod.outlook.com (2603:10a6:4:54::30) by DB6PR0802MB2454.eurprd08.prod.outlook.com (2603:10a6:4:9f::16) 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:10 +0000 X-Received: from DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:54:cafe::7f) by DB6PR0301CA0062.outlook.office365.com (2603:10a6:4:54::30) 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:10 +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+69573+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 DB5EUR03FT031.mail.protection.outlook.com (10.152.20.142) 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:10 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Mon, 04 Jan 2021 13:23:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d4464e4cfd99125a X-CR-MTA-TID: 64aa7808 X-Received: from 7970b535f8cb.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CAD3BC89-8A61-4DA3-A0EB-08AF887A1E7A.1; Mon, 04 Jan 2021 13:22:46 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7970b535f8cb.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oUDph8NqhLQNW70EYEAdWCk6xIUt8w5YHi28Y86R1Mnneh7pbh+ibAOd3Eh1d4TUy4RowWr7NQMXxvIH1uNVPziRhgdOx+dFuS64nQPnj+wa9FXqZSpPFqlMGAIauq+OmmzX4IwXX5909TYYPDgcHdEOFArN9n7JrxHiMlHf0+9UY+tdJ78CfwB3tQG/0BVUuPz25PyqvtI625WpOEeDjtR8Gb4elxSP6BFKjU90JeG/fVJsrFgJOkVsIdCduyGramrIWjUBnO4xe0wYqwQKiIA03lhsbo5KP1JLdcAWgiBG40XsnwCeznTlxSEc8Jjg0HqawDWB+NkpMuiJT514Bw== 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=2f6DRLylhmZE+dAxSl2IedP98NGPsB39lX23PInhyXQ=; b=lFW9Rr/SEP+lvD9pbGJ2X2+L67o6DccqYbaqxNL2HWHsXEmFrFVFduvCnfbIGk3/0qBn8ytroSRziLqhUziWXTwloOycwz0dsx/zP4wQd2fjEFaIeVxTGJffRzhOdxYZQJLUYj1FWIyLrxSW5tlUW8GyFndwge0NcR2zS9lBHq2GYJrG8WJkp+yM5RmNk53KDLS+40qn7Y4Now3PmKkjWkzqccc/9oxzJE8DGjOLk+SOPwd+uWmI7ilwyDPkj5e2ICF/u81G3v1h1CWxBwi2jnKV3xC3dTPdSZQrlnbqWOoUWKj7mf3TruyMTEkZlUUILlajtue48UCPaUcIomEKVg== 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 DB7PR05CA0040.eurprd05.prod.outlook.com (2603:10a6:10:2e::17) by AM6PR08MB4294.eurprd08.prod.outlook.com (2603:10a6:20b:bd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:43 +0000 X-Received: from DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::c0) by DB7PR05CA0040.outlook.office365.com (2603:10a6:10:2e::17) 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:43 +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 DB5EUR03FT038.mail.protection.outlook.com (10.152.21.84) 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:43 +0000 X-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:25 +0000 X-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:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 13/26] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCoreEntryPoint Date: Mon, 4 Jan 2021 13:22:00 +0000 Message-ID: <20210104132213.22376-14-sami.mujawar@arm.com> 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: 589ab0ee-2e2c-4513-a539-08d8b0b3e1d8 X-MS-TrafficTypeDiagnostic: AM6PR08MB4294:|DB6PR0802MB2454: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:1824;OLM:1824; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 4G7kBwhd8eB6Iae5wo4Sjl1yInqvnU8icNI4CSveU923pPHb1RB+9FdVT0Cig/JhJQoiMtJi6BF3vB7y0LtJWfSK+WGq5HsWgvTRNepK82WixKdZXxUiWcPNzeJZBvtJU8uwjL9PVRyfyyPE5l4fWW9JgcdBNQ/WxUMZQJU2Hf6N8RrSU6EC45qOB1s3t/on3gfDAYzC9/E40PLijyjGengOVLp05dU7GbXmEd5C1GxvR/yVqJyQJOPJqMoNAbWYxQwCfRN0IsXUEkIPuay5zojISJjgC2yFUMVxjlwFhCx65FnoWbzDjNpIr48J0CARkhLR8qCNNMWq/cXI0i/FQQlRLscTleeIiNrxA+EupuIOedrZw/0kbfCKgRm2FX4M/cF3UinHixLej8NSf4c+Z3a4nJEoM7Rnn5JD/zAFU9VxyyrMeRxo7gWwiz9+riStLri2Da5G6fD1gWpHWUy4xYMFAykRlZ3kmjBZicWzwzQDDb+IiULVaHqoSw2r0evNxQa/WGCYqpwl9XbtwsAMHzdqzPPmbbZhTeByqLuEfJs= 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)(396003)(376002)(136003)(39860400002)(346002)(46966006)(81166007)(54906003)(356005)(2616005)(426003)(336012)(44832011)(7696005)(26005)(186003)(4326008)(6666004)(1076003)(2906002)(47076005)(8936002)(316002)(70206006)(5660300002)(82740400003)(478600001)(82310400003)(70586007)(36756003)(8676002)(83380400001)(6916009)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4294 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: e338be99-cd11-4fad-a1e5-08d8b0b3d15c X-Microsoft-Antispam-Message-Info: NS2tvqT+zsYDKNbNtYxhNNo2SVc7PlvL5mFqI7xry/zK5H7P1dUS7k43qmOgnPfHVtXjU/kmDe3hmEjrSJt/f9vpKPH35Pf9SQd2dW9IKwdHf1foqUoNNpePg6sYwWoOUm/OfWmbc9d1BrUbYfWS9adrNmYqhp3kCMPGn59ozAAWIW8WSFtBkmzkUIagDYJtSBUZ/6ZnN20cZhs1XbiYExUnrJ7UsFftDhMpQxyzYcS3CkoeQpNLCY/Ek+tmNzCJclzeBzfi27SqyBabaJZglGEXtA2X+UFh9hmEWUiuEZWwltJMp3DVMpcg8tzmN/rA0OiSh11PImAFmf0jR8/ut0rpADCwPG+Euz2ChmlXpk5nNmrqVmUVbmFU6UXy3BtZrvpZWyRufKtMluQVDalm30HP+cKOGwH37Gc5BsozgoNdBZQfh4wvEtaE4FYrhldZYcI9s8aTIWgiVP8acSVoH+4pGtflDWEihmKtHwt73T6HGeZtAMQqFNttMYRcvEu++xjnPubE1rOpdN6PHJMZPfPvLivdXxDc4CYheIlZPNU= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:10.7551 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 589ab0ee-2e2c-4513-a539-08d8b0b3e1d8 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: DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2454 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: dPG0K2jABFTh4e1uEzQLgwjnx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766605; bh=i9NpY5tST+X/Q3BXPeANd6ZsKxgHP19dKYMzURCOcXo=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=jndRdyEFcmeJVn2vJdquCY1aed08GZaLKnqTX5HDC7NQWcCtH5iDw0qGvFL3Ry39gKo GSErZJT7RGJnzOAb2EFbAK8Jf+sAYH5no6gVUIshBIu0lHJYuv9uThWuKJzcPlkJ04vXm V63sGEUAAQlCyWUyRloCUS4cASevgbJMVYk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Add doxygen style function headers to fix ECC reported errors "[4002] Function header doesn't exist Function". Also update the corresponding declaration to add IN/OUT doxygen style reference tags. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h = | 34 +++++++------- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.= c | 48 ++++++++++++++++++++ StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 14 +++++- 3 files changed, 78 insertions(+), 18 deletions(-) diff --git a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryP= oint.h b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint= .h index 0f9a032404582fd59e3d4e2bf2884b1077b78d5c..34c43897dded9aebe1470f2dbfe= 96b93590a9e45 100644 --- a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h +++ b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h @@ -2,7 +2,7 @@ Entry point to the Standalone MM Foundation when initialized during the = SEC phase on ARM platforms =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -70,13 +70,13 @@ typedef RETURN_STATUS (*REGION_PERMISSION_UPDATE_FUNC) ( sections in the Standalone MM Core module to be able to access RO and RW= data and make further progress in the boot process. =20 - @param ImageContext Pointer to PE/COFF image context - @param ImageBase Base of image in memory - @param SectionHeaderOffset Offset of PE/COFF image section header - @param NumberOfSections Number of Sections - @param TextUpdater Function to change code permissions - @param ReadOnlyUpdater Function to change RO permissions - @param ReadWriteUpdater Function to change RW permissions + @param [in] ImageContext Pointer to PE/COFF image context + @param [in] ImageBase Base of image in memory + @param [in] SectionHeaderOffset Offset of PE/COFF image section head= er + @param [in] NumberOfSections Number of Sections + @param [in] TextUpdater Function to change code permissions + @param [in] ReadOnlyUpdater Function to change RO permissions + @param [in] ReadWriteUpdater Function to change RW permissions =20 **/ EFI_STATUS @@ -98,11 +98,11 @@ UpdateMmFoundationPeCoffPermissions ( the Standalone MM Core module to be able to change permissions of the individual sections later in the boot process. =20 - @param TeData Pointer to PE/COFF image data - @param ImageContext Pointer to PE/COFF image context - @param ImageBase Pointer to ImageBase variable - @param SectionHeaderOffset Offset of PE/COFF image section header - @param NumberOfSections Number of Sections + @param [in] TeData Pointer to PE/COFF image data + @param [in, out] ImageContext Pointer to PE/COFF image context + @param [out] ImageBase Pointer to ImageBase variable + @param [in, out] SectionHeaderOffset Offset of PE/COFF image section = header + @param [in, out] NumberOfSections Number of Sections =20 **/ EFI_STATUS @@ -121,10 +121,10 @@ GetStandaloneMmCorePeCoffSections ( by the Boot Firmware Volume. This function locates the Standalone MM Core module PE/COFF image in the BFV and returns this information. =20 - @param BfvAddress Base Address of Boot Firmware Volume - @param TeData Pointer to address for allocating memory = for - PE/COFF image data - @param TeDataSize Pointer to size of PE/COFF image data + @param [in] BfvAddress Base Address of Boot Firmware Volume + @param [in, out] TeData Pointer to address for allocating m= emory + for PE/COFF image data + @param [in, out] TeDataSize Pointer to size of PE/COFF image da= ta =20 **/ EFI_STATUS diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Set= Permissions.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/= SetPermissions.c index 0ab6edaeb7f05bc814281d0e928305804633e970..f2e724cfc38e75d61bae5d8d21d= 40feda1685144 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c @@ -25,6 +25,21 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 #include =20 +/** + Privileged firmware assigns RO & Executable attributes to all memory occ= upied + by the Boot Firmware Volume. This function sets the correct permissions = of + sections in the Standalone MM Core module to be able to access RO and RW= data + and make further progress in the boot process. + + @param [in] ImageContext Pointer to PE/COFF image context + @param [in] ImageBase Base of image in memory + @param [in] SectionHeaderOffset Offset of PE/COFF image section head= er + @param [in] NumberOfSections Number of Sections + @param [in] TextUpdater Function to change code permissions + @param [in] ReadOnlyUpdater Function to change RO permissions + @param [in] ReadWriteUpdater Function to change RW permissions + +**/ EFI_STATUS EFIAPI UpdateMmFoundationPeCoffPermissions ( @@ -113,6 +128,17 @@ UpdateMmFoundationPeCoffPermissions ( return RETURN_SUCCESS; } =20 +/** + Privileged firmware assigns RO & Executable attributes to all memory occ= upied + by the Boot Firmware Volume. This function locates the Standalone MM Core + module PE/COFF image in the BFV and returns this information. + + @param [in] BfvAddress Base Address of Boot Firmware Volume + @param [in, out] TeData Pointer to address for allocating m= emory + for PE/COFF image data + @param [in, out] TeDataSize Pointer to size of PE/COFF image da= ta + +**/ EFI_STATUS EFIAPI LocateStandaloneMmCorePeCoffData ( @@ -151,6 +177,15 @@ LocateStandaloneMmCorePeCoffData ( return Status; } =20 +/** + Returns the PC COFF section information. + + @param [in, out] ImageContext Pointer to PE/COFF image context + @param [out] ImageBase Base of image in memory + @param [out] SectionHeaderOffset Offset of PE/COFF image section h= eader + @param [out] NumberOfSections Number of Sections + +**/ STATIC EFI_STATUS GetPeCoffSectionInformation ( @@ -241,6 +276,19 @@ GetPeCoffSectionInformation ( return RETURN_SUCCESS; } =20 +/** + Privileged firmware assigns RO & Executable attributes to all memory occ= upied + by the Boot Firmware Volume. This function locates the section informati= on of + the Standalone MM Core module to be able to change permissions of the + individual sections later in the boot process. + + @param [in] TeData Pointer to PE/COFF image data + @param [in, out] ImageContext Pointer to PE/COFF image context + @param [out] ImageBase Pointer to ImageBase variable + @param [in, out] SectionHeaderOffset Offset of PE/COFF image section = header + @param [in, out] NumberOfSections Number of Sections + +**/ EFI_STATUS EFIAPI GetStandaloneMmCorePeCoffSections ( diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index 9cecfa667b905c975ddd348513c51fc8a5955718..3d3c772019df9afe9b8ec77019c= 776ea7c3b55fb 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -2,7 +2,7 @@ Entry point to the Standalone MM Foundation when initialized during the = SEC phase on ARM platforms =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -101,6 +101,12 @@ GetAndPrintBootinformation ( return PayloadBootInfo; } =20 +/** + A loop to delegated events. + + @param [in] EventCompleteSvcArgs Pointer to the event completion argu= ments. + +**/ VOID EFIAPI DelegatedEventLoop ( @@ -156,6 +162,12 @@ DelegatedEventLoop ( } } =20 +/** + Query the SPM version, check compatibility and return success if compati= ble. + + @retval EFI_SUCCESS SPM versions compatible. + @retval EFI_UNSUPPORTED SPM versions not compatible. +**/ STATIC EFI_STATUS GetSpmVersion (VOID) --=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 (#69573): https://edk2.groups.io/g/devel/message/69573 Mute This Topic: https://groups.io/mt/79423287/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- From nobody Thu Apr 25 21:29:56 2024 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+69566+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 1609766565788429.4088715258913; Mon, 4 Jan 2021 05:22:45 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id xDE2YY1788612xByrpeN2ljW; Mon, 04 Jan 2021 05:22:45 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.44]) by mx.groups.io with SMTP id smtpd.web10.13330.1609766558580201479 for ; Mon, 04 Jan 2021 05:22:38 -0800 X-Received: from AM5PR0202CA0019.eurprd02.prod.outlook.com (2603:10a6:203:69::29) by AM6PR08MB3221.eurprd08.prod.outlook.com (2603:10a6:209:49::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:36 +0000 X-Received: from VE1EUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:69:cafe::86) by AM5PR0202CA0019.outlook.office365.com (2603:10a6:203:69::29) 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:22:36 +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+69566+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 VE1EUR03FT040.mail.protection.outlook.com (10.152.18.210) 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:22:35 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Mon, 04 Jan 2021 13:22:35 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b8f1e769c8f2b3a4 X-CR-MTA-TID: 64aa7808 X-Received: from edcc437af93b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6656E0F8-E9BF-4A32-949D-E1C57351F537.1; Mon, 04 Jan 2021 13:22:30 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id edcc437af93b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVCmLq4+Yfs2rjNzZJ+t9YYt0AUfJFE7qcVhJIeNNSRYNA9H8c7KiKyoRZMDKSVMsTveLf4EDmfsfhrJX37vtP3hwE0k/9Cu/YTIoH0zIl1xZnK5mP9TLlY9TEnokL7f5wXSTYF8AsCQTro/1wycAbqedvgB06Amw6YwY/gsNzLzr8aTXxVo5a9k7V1uWFPOXFQ84SJSdyU0z1LZRyfnt/XQzE7jqsUH0j6b2iKa1L+5SWOe/MM3n4rBxkBRv5xLS1oYUfmqMC0TQOkhO6gJBLs1wO5PdxxHM3pm1+aXDrK28foS04PJ2b4cDeXUTb32G6fNiocOfahH6Qz9RuPunw== 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=I5ZJ7qG7o8OGI9180NpSNs8TSHN2HV+JUFN/d2H6ZoY=; b=B8DnkMBKltCa9rMY7WzGilndWWjv8No6uf8uNRSY0vVRqTN58mhptrDjkDJ+oiJuJ3ADDcTBF5f4p3DXaQUX/xfke40eNry+LHJDK/jXoTaHUjf1csPTskV9zYQm/2jme4Jx0Fg3DtyJh/CihroJv5yv/Dz8dLKLHrstu/WXS4l2m8RLS8slpHxXm+3Rnn7V0RyXS4uUpZdz/Xb74PeqLGWJgJHTkDsK8OHRsyQdA2anm6EZVGfaZAX7Y+YGw33TmgTGdNC/03En98Rhfm/bFiRmZ9NT1Gpm2RayMWer7CNuFPW7thWQzJa+QTVz5VYEaRa8gSJpZvP55eWanQ1iTg== 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 AM7PR02CA0011.eurprd02.prod.outlook.com (2603:10a6:20b:100::21) by DBBPR08MB4792.eurprd08.prod.outlook.com (2603:10a6:10:df::18) 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:28 +0000 X-Received: from VE1EUR03FT028.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:100:cafe::97) by AM7PR02CA0011.outlook.office365.com (2603:10a6:20b:100::21) 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:22:28 +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 VE1EUR03FT028.mail.protection.outlook.com (10.152.18.88) 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:27 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:26 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Mon, 4 Jan 2021 13:22:26 +0000 X-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:25 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 14/26] StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmMemLib Date: Mon, 4 Jan 2021 13:22:01 +0000 Message-ID: <20210104132213.22376-15-sami.mujawar@arm.com> 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: e54d7b34-939d-4344-bd18-08d8b0b3cd1d X-MS-TrafficTypeDiagnostic: DBBPR08MB4792:|AM6PR08MB3221: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:5797;OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: y08phkV6NAXQGZ4JkVX0bzyQil0g3lXsYqaDvR7umu+4+JFPl05oM+44HVlZz0ax7ydFi+hmNLzthdcbwVz4WE+oJHLVeLoIfW5gDUM2OaJTzvNlsJJtVN0JJMam7BjaAjcT4UR1Cy4pS7J9de+P3C/4YA7ok/h8eVK8iPqWzOgHxD2o8UO1ex/+ZZcQ/4FknLFYipCWiBFUiojqmiD1QfNyoMu1udc2qbFp18LijDIyHo4cYMyHamjbVYNLAYqXMSe7uJg/a/zQt3MoSsI0Uerxtl7MXhUa/n4X5JvqxmOHtzn1hZKb3I4YWRzozBH7TQBkRZAfyuX3zoQZcKL4fsNtSxf97WlJmr3/iRtJPheOIUeBddUx1g2CnRIh1rtncsjxoDDAVvv8TJKqmMwCI4rmovhRZyd917r28Yp0n/egH26xoaqIldQoQ9QGkxcTZAN6TcSQxQWQmE7Qe3LgbTpAArI/fwuvgCRPjoEa593wFoPCqcnWl/O7OV+Jp3kBI6h8AswMo3OMaN2IR+LlYm6Inz7IPCNDAPiUF+Qvs20= 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)(39860400002)(396003)(46966006)(7696005)(316002)(478600001)(54906003)(336012)(426003)(70206006)(44832011)(4326008)(8936002)(2616005)(82310400003)(86362001)(36756003)(47076005)(70586007)(1076003)(6916009)(356005)(81166007)(2906002)(6666004)(26005)(83380400001)(186003)(82740400003)(8676002)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4792 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 6048f721-da1b-48f6-957d-08d8b0b3c846 X-Microsoft-Antispam-Message-Info: cQoCc/wFv1ho7expeXxhgfuruFPPwo8coyV5075lyIZx8CZnwYhep7rAUTA/DUOW2xkNn5Kc/6glzT1pw5+SPbjZkIHBrm8bFDRoBc6y8Uca/Q2Qx/XCV52G4DU77kv1wBmFKVK54E0c1NfDCmxyyKoGh9wcbpBm4sdjWa8lxTJV7B8VcY4tm0hYIr7zwvhWCFW4bqgojK3JzOYQue2E68vJFasFsw9VlxYduO61vTSIV5PJUsfokPnOnnFbZQc871XXIIkDI62YF6Xd9f3ZhX24HSrnOHUytMB5rKaR31PRur3eijEvh8RFMgGbX/w9iFpsvWxf9XK/GjnqgYSdHjDJ7j9XaF/N7bllZSakhscZtgzFy8c4EgDh2q38nHcvHnsSGSdLWiSotQbKIPqWdI5nm1ZzFdohJZSuzSUOEulmYuWMZ+3ewwY4/9CXUhhDhOSOtjMBFsS7T2AlY73JfUXeUeZErxpznfTCJljkcuY6Lww0GNBKzB2EwTlmOZGQRk53OCldqbJxna0SIFJAb0dQ7ImXDUFVYpWvAYp03vQ= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:35.8568 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e54d7b34-939d-4344-bd18-08d8b0b3cd1d 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: VE1EUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3221 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: QjdBiYA3u321dg8PlfXAAU2Nx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766565; bh=rUMedMyQfJCR81VG7wi+nip1HXF7WIrGknRVYgTsF/o=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Oc/rx44LFFK6Qb5r3p2uNmrfx/HhKTau30oqvVjCCvg0IrQC4cnRjMogZ14f/rn0/FR l4DSNuJCta0JCC8c8K74NpSqPga8GRuzEAL93j8Wr6flJfm93DgC3fxnqVqbzYoZhosmw kQMEIa6dOfXkyV1eje9hwFeSk2HbDPIDugo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) 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 Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.= c b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c index 76456c12647b025c5dcab7aee33464aea462b7e6..3c2b7ae963289b58b4eba3acef1= 75db3d28d962c 100644 --- a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c @@ -240,8 +240,8 @@ MmSetMem ( /** The constructor function initializes the Mm Mem library =20 - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the EFI System Table. + @param [in] ImageHandle The firmware allocated handle for the EFI = image. + @param [in] MmSystemTable A pointer to the EFI System Table. =20 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. =20 --=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 (#69566): https://edk2.groups.io/g/devel/message/69566 Mute This Topic: https://groups.io/mt/79423271/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- From nobody Thu Apr 25 21:29:56 2024 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+69575+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 1609766601232196.20403998979486; Mon, 4 Jan 2021 05:23:21 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8URsYY1788612xik2hAIP5Pj; Mon, 04 Jan 2021 05:23:20 -0800 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.45]) by mx.groups.io with SMTP id smtpd.web12.13530.1609766594548026702 for ; Mon, 04 Jan 2021 05:23:15 -0800 X-Received: from DB6PR0402CA0023.eurprd04.prod.outlook.com (2603:10a6:4:91::33) by PA4PR08MB6126.eurprd08.prod.outlook.com (2603:10a6:102:ea::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.24; Mon, 4 Jan 2021 13:23:10 +0000 X-Received: from DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:91:cafe::60) by DB6PR0402CA0023.outlook.office365.com (2603:10a6:4:91::33) 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:23:10 +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+69575+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 DB5EUR03FT062.mail.protection.outlook.com (10.152.20.197) 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:10 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Mon, 04 Jan 2021 13:23:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9a7518c3003891ae X-CR-MTA-TID: 64aa7808 X-Received: from f5c3c9c2553b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 77E24AE0-2590-47D7-A4AD-CAA5A3E14E0D.1; Mon, 04 Jan 2021 13:22:46 +0000 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f5c3c9c2553b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qe/3T0eBY3Md9BaBNcY9uQTj395zLO2nhU9FlW57+lwjkW7yorLxuHsa+DxKhK5tya6cHaYlnj7V+HehgUauraTPhD7X30aySVU6gTMbwvJj9v9e8bnXh47Z2kKZe/Qv/rfQ82DJgV/sEakIlQNH3K0ktGnCF81tx2hUVe5KGlq8vID6slVLmJhZbWEdLE8eE/u18gr8l/9DMsMspXOlFfOE3pfOX1E/LKlhNs38l+sxQPlk5Y8QB3x8dq0YAY8oEsELv6WZLdME51o4Y5cJUEaGkko8ceeVL3I6DUTmB8A/m/5eRV5n24qzD8F09qu8yKGv8hFWExBAsCIHrhAo9w== 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=S1DKDHFiA/39JaSXH8Sm5sgRQaOHj90r17y9DNubSXA=; b=MFONT8KvRKPsnhcWOMnQnVRWZawOohgS1cQNLHS1D4l2dfFGXQBwXAt3JCSJjsVgSXKkjXsBqOFnbk/oam0nycRGg1cLuWDXLPpDFxO+l+zBedBjVl2UUwDR/OU6bhrOL1YZl3X/pjE1roQON2wshzkVLxZZWb1qFHl1hDRyNthgUdgk4QkrDLZC0gHplANJTDIxhduyBBUIMPv0kRCb+71z2+yI1AMYVqIsSIdgRRzg3FKLVqr5b4nCodkFXJcu7kCG8z4lcf+sP9ulkzMzxrelnx93UWOupDA04trawWqulvAyuHPpQbxtpW2brM2N3tDdLZol4owDzGUI/t6PJg== 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 DB7PR05CA0043.eurprd05.prod.outlook.com (2603:10a6:10:2e::20) by DBBPR08MB4837.eurprd08.prod.outlook.com (2603:10a6:10:d9::22) 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:43 +0000 X-Received: from DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::e) by DB7PR05CA0043.outlook.office365.com (2603:10a6:10:2e::20) 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:43 +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 DB5EUR03FT038.mail.protection.outlook.com (10.152.21.84) 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:43 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:28 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Mon, 4 Jan 2021 13:22:26 +0000 X-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:26 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 15/26] StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmCoreEntryPoint Date: Mon, 4 Jan 2021 13:22:02 +0000 Message-ID: <20210104132213.22376-16-sami.mujawar@arm.com> 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: c4c7c1cb-f250-484b-57c5-08d8b0b3e1db X-MS-TrafficTypeDiagnostic: DBBPR08MB4837:|PA4PR08MB6126: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6430;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 5bzWp6MniKWzoheXTjIIJK7opbixW70/BfRAjZFr6DmVXhWHhRoFWD/LzcCRYjlpSiMl0fpFPSCz5Tu4MAZ4J2K3Z/AA5v3SwUzJ9OhWMXeFiVvjp1lOj6nhuSAgZ2g33OEL+G7qVuyanmKZ0/VJFsHYlJ1DYOMBjv1DhZhQr6zv/OeDFgLzOdMWuupGFEVytA5pFQeGqmZPjdu8NwB258OY1htO6lP09LnKlq92HvmHNy32R1m1g4EdUzg7HXOBVMsDv2jyUgC/13qdioZNslSZwL4NpzlXHPmHmT5wg57nziQUfrdAoP7690QczYyRGEQwshHDoFL/Bd0ka/unDiDljwbi29Xh/SYxcBaF3/e+w6NKcZRxSUWRHG6WFH04434JK204Mip/LVYs9JQgKcMZ0MTBceWw4uVV6OiHOJgqdQRF1Y0hkLG3RzF7uakYfXhRxvzF4gh8o6RpOWqLr+oB6XIjF/GrjXfMKkebZnyDpbopioptkpQiRHuPNcNn+j1uKeQOuDXB8QdLpZ0kWgTtf7HuKOPkcK7F3YUOd80= 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)(396003)(376002)(136003)(39860400002)(46966006)(1076003)(82740400003)(54906003)(36756003)(8936002)(83380400001)(70586007)(316002)(2906002)(186003)(86362001)(44832011)(26005)(5660300002)(70206006)(426003)(47076005)(478600001)(336012)(7696005)(2616005)(356005)(6916009)(4326008)(82310400003)(6666004)(8676002)(81166007);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4837 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a25adbfa-a53c-4885-3684-08d8b0b3d1bc X-Microsoft-Antispam-Message-Info: 296cH9dBW0lUTmQOaU7nKE9CK0VeJyg7EI66+eyXm1XtWjCwUMTkgl0uZ3Zy3ZEEEIRFnRoiukzfK3rtnardTePW4GbMrXdgdkGTIm/TQ0d8StBFYBB3+D7Y/pSK8OraiMSV1GW9UKymzINcQMphoN6TRHNoW3tmfmRftDYBYcsKRjS2ewE8QSLUVfQ7zoCugf7sVcI9z9jCimT9Ck7W4zEapMSgxW/AG8aC0J9rFPmwqHreGlA/hb4FULlbM65r8dKNYXH8ITH+zYNrKLAQNpIMp/R2x9WipaHYagUB54GVTrCfeT/wAwp06bvus5VaNQNXlTx18En2Kx9859zxMLMHKPrHv/kCJM0uK0eGAhcxqlzuRKFzPS4D9cy+lTya7Gw3s1/J1zHch3pYgN2iGYaNILtSA6fQfKJWZgjignwVtIoutHGoroFCW/yJiZRmU5NcHIv0ZZ1WsrUzLK1EnTJGyXNnsY+UDZsfUITeuftCP4OWT8ZDnHQBnmxZk2E1uym72mMKRpAoA/deCvCjv0JLfWXy/WEQe+joQyu95jk= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:10.7748 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c4c7c1cb-f250-484b-57c5-08d8b0b3e1db 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: DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6126 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: KSLz4vAbNgzlQzKTJk2xcLSQx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766600; bh=55mpr8KuMr1mvVCiq181RlyVF9BFaTGV3B7igVrb/qU=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=G932K7R81gbZjjQFXl0GTeFyclctSR27RMb71rOX46FJI2vf86dXOe1a6OBLa2DY0BW F4/o6Oks5DN2H0WQiCODrN9TNxRzdIgaDtgDfrZwiGWUIJ9bbGgzDNqMw3eWz4hajXqAS Ani62wQmm7V1bhYbm6ZmC1y18A7/mwUNp0c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) 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 Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h = | 13 ++++++++----- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobList.c= | 6 ++++-- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 7 ++++--- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryP= oint.h b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint= .h index 34c43897dded9aebe1470f2dbfe96b93590a9e45..b176e56e789b0bc766e48a60835= 12a9d0ae3ebc3 100644 --- a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h +++ b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h @@ -140,8 +140,9 @@ LocateStandaloneMmCorePeCoffData ( Use the boot information passed by privileged firmware to populate a HOB= list suitable for consumption by the MM Core and drivers. =20 - @param CpuDriverEntryPoint Address of MM CPU driver entrypoint - @param PayloadBootInfo Boot information passed by privileged fir= mware + @param [in, out] CpuDriverEntryPoint Address of MM CPU driver entrypo= int + @param [in] PayloadBootInfo Boot information passed by privi= leged + firmware =20 **/ VOID * @@ -155,9 +156,11 @@ CreateHobListFromBootInfo ( /** The entry point of Standalone MM Foundation. =20 - @param SharedBufAddress Pointer to the Buffer between SPM and SP. - @param cookie1. - @param cookie2. + @param [in] SharedBufAddress Pointer to the Buffer between SPM and SP. + @param [in] SharedBufSize Size of the shared buffer. + @param [in] cookie1 Cookie 1 + @param [in] cookie2 Cookie 2 + **/ VOID EFIAPI diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Cre= ateHobList.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/C= reateHobList.c index 08b12c45bc2937942a85ee66cf1a6d80bfa41e69..887f2559dfd05bedb66bb86cd17= 021efa6a4aea0 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobL= ist.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobL= ist.c @@ -2,7 +2,7 @@ Creates HOB during Standalone MM Foundation entry point on ARM platforms. =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -46,7 +46,9 @@ extern EFI_GUID gEfiArmTfCpuDriverEpDescriptorGuid; Use the boot information passed by privileged firmware to populate a HOB= list suitable for consumption by the MM Core and drivers. =20 - @param PayloadBootInfo Boot information passed by privileged firmware + @param [in, out] CpuDriverEntryPoint Address of MM CPU driver entrypo= int + @param [in] PayloadBootInfo Boot information passed by privi= leged + firmware =20 **/ VOID * diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index 3d3c772019df9afe9b8ec77019c776ea7c3b55fb..19472fa659a20d84eebd9e31e20= eabab6596f799 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -214,9 +214,10 @@ GetSpmVersion (VOID) /** The entry point of Standalone MM Foundation. =20 - @param SharedBufAddress Pointer to the Buffer between SPM and SP. - @param cookie1. - @param cookie2. + @param [in] SharedBufAddress Pointer to the Buffer between SPM and SP. + @param [in] SharedBufSize Size of the shared buffer. + @param [in] cookie1 Cookie 1 + @param [in] cookie2 Cookie 2 =20 **/ VOID --=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 (#69575): https://edk2.groups.io/g/devel/message/69575 Mute This Topic: https://groups.io/mt/79423289/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- From nobody Thu Apr 25 21:29:56 2024 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+69567+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 1609766570303353.5969287656719; Mon, 4 Jan 2021 05:22:50 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 4cpmYY1788612xJF79i9ZRkE; Mon, 04 Jan 2021 05:22:49 -0800 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.76]) by mx.groups.io with SMTP id smtpd.web09.13165.1609766562250614755 for ; Mon, 04 Jan 2021 05:22:42 -0800 X-Received: from AM6P192CA0091.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::32) by AM0PR08MB4529.eurprd08.prod.outlook.com (2603:10a6:208:148::13) 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:39 +0000 X-Received: from VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8d:cafe::29) by AM6P192CA0091.outlook.office365.com (2603:10a6:209:8d::32) 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:22:39 +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+69567+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 VE1EUR03FT012.mail.protection.outlook.com (10.152.18.211) 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:22:39 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Mon, 04 Jan 2021 13:22:38 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 89f51f520315ae75 X-CR-MTA-TID: 64aa7808 X-Received: from c277e43c5cbe.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 761935FF-6E11-4FD8-BD09-AE2B41440E21.1; Mon, 04 Jan 2021 13:22:33 +0000 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c277e43c5cbe.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J41LWU7LB1Cy7SCVAC8QNUAk05rGNSXYskH7sH1uhRRuVds3RZ9a742IESR0Bnx4v7WCndOYhkqw8Pn3ETiQFNzWcUQmsKjK23h0oFW2sks8ErlAbyAHmYYs/m97n8I1DdSZLUHJ5PNWeb3MellDt/TaIB6WVxYaXgZtVL0fftD9w+RNjSLiSGkJjaRWNFNMV7WiIHFsH3rXlmP8JRJkeVwiojXHj2pgflchHIDx9EJl1h8N+w7HMQ+A+Ksufboz5RSSbzIzWBNc+iKJb8h14Y/5XQVMmQjyVbOQT33tRY2o4FvkgHg32aRjvWNHoKJkm1oIt740Ojysg9M8NTIjUA== 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=BoaRd/AoSitgpfkPHTIUPB6sUGJaZFJxdPLXjA3txpY=; b=mvIRyx0iW8wztQmkRlT6VhO7hcp6WUmRmJENaTbjOCmwBXs8tzg8W3350Nruf94Yqp/t4/pe2Fgp2liWZDX5xbzOp+wiaV7R+E5qVXGD3PqjnP1P8i4SEWtjkjwfXDOEt56l7beKIJzSsmlsR34TWwxMoS0J+5yjxv7qG/rGeaaiD7wsB1doZ4q/c3Q6wro3RaYIhLhluFhrle/8qripQ6hmBRQ5VRuCAvoHpVGmpyPc7hZAwkJKuschwgpXskakdRMJ2AoVJvKe5BS53a/ibBX6+xfljfESm3/5nnXDdIwrRlvamZ6NaPkw6eZiJRBsgHNuLM1hlkdg4eK8BArtfQ== 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 AS8PR04CA0060.eurprd04.prod.outlook.com (2603:10a6:20b:312::35) by AM0PR08MB4417.eurprd08.prod.outlook.com (2603:10a6:208:13f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:30 +0000 X-Received: from VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:312:cafe::7d) by AS8PR04CA0060.outlook.office365.com (2603:10a6:20b:312::35) 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:30 +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 VE1EUR03FT022.mail.protection.outlook.com (10.152.18.64) 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:29 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:28 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Mon, 4 Jan 2021 13:22:28 +0000 X-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:27 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 16/26] StandaloneMmPkg: Fix ECC error 9003 in StandaloneMmCoreEntryPoint Date: Mon, 4 Jan 2021 13:22:03 +0000 Message-ID: <20210104132213.22376-17-sami.mujawar@arm.com> 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: fbc266ae-1d39-4dc8-8769-08d8b0b3cf04 X-MS-TrafficTypeDiagnostic: AM0PR08MB4417:|AM0PR08MB4529: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: P8xjT2t2G4y/LUntBw1eMQpGcUqeAgGfr1wLO/AvSKiezXQsZrSuL5PtJLEN/hjKYNvf7BfHefYPBDxAgC+lLrGyaSgjIL0EC1maaXxLWsu/CIv00Z7h2eQAIxD2xD/vMGmPA7xMuUyCn6KAJxyeXK7mXXVrYHe79OaKB8DR1VF4N4/nV9JnOcUIGmqDDcp6QkUUGur1weE7oWA/rBO1sTtmVB5YiNbDugSLsaPpGa/DvEzJHkWbCaR7wkNxF0HRO7d5aIbuxL3QgeAWyiUdbNZWifWIomrELEXMkkFwYHXUlgtWBj/zsxQFsFbCciS6rcJYB4iQ4Pw6C8cWXZRY1yJ2lpOy3PRoj1w2Yo6H69NgMYz1pzfgPap0zf0BqPzFIpgpnLGNpP4fZoObcWKe8VFvqWhw4xTSVc6s/JXDv5xfNxazwdfAye2+Z+GBS/ErNdUkHbVHK6n1AWYW3jFHssNAJg9mRQV2cqosPr4uneBSsSSEatFIYALrWOyM51seXyTd6lsVLsrExRKuWCuCyYBdOBV7j0yMg638/Y5CzdE= 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)(396003)(136003)(39860400002)(346002)(376002)(46966006)(7696005)(8936002)(356005)(82310400003)(4326008)(70206006)(70586007)(2906002)(1076003)(83380400001)(26005)(5660300002)(336012)(478600001)(47076005)(36756003)(316002)(86362001)(186003)(82740400003)(8676002)(426003)(81166007)(2616005)(6666004)(54906003)(44832011)(6916009);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4417 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: b3df5b24-9155-42f1-056e-08d8b0b3c990 X-Microsoft-Antispam-Message-Info: fz2sqy5tmTPtq/FxVOXexM4SS3nXq/7kMUifU9U+yKTM2uxiNJVZhwVk7CkS7oIc+lXmxhkvbLEKc3yYGNat8NrpVR97EFv/S8py2QJQnpk1teWwZV43cv5vAzhSVcIRo7KdSH3WPY0mPVQ/aVlRJDV5hETd2xwf3g28k1kVplYGDXSy3shUIOCYdBt6uMgbFlXBghQed0lzRUePvpjNv7+BNx76ZANhO2fg2Pzu4Q+myyb8Vjkk9JhWYANclyN7ZOCYwDdu07KM+t65Hkwra5jbBFhk1x6BkMLTRSlgXYO9Wb1+2ffflPwpErccTihafHC5xjBIRYME5cizYJVsswCCDxPa4EAmDeR6JqmgXAa8EQ3t4n7OKMavL+VBRKBLsNogtZMU0ChnBaueSmBHEjaN3yPLaNNMGAUeu1uo7I7L1emlYRwMKHYtUEXyquWBpvaWH94eje5FLx1lzS9C1vD5zjLqzTEuTv3dLL3PHapk3EN+r3yqTMna8tCippPPdIt/p87SR80WgtTqnCF8DnEkpX44xtEfH4izgxO2hQ4= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:39.0490 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fbc266ae-1d39-4dc8-8769-08d8b0b3cf04 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: VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4529 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: l9sMUAg38ZuXfO9c5npouIMsx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766569; bh=W4CJm18Qtiw1jPY1o8370GCXXFr76qhb4J2zws491BM=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=FZo8s/pJiw9PMI2tP9qiRt+E5bk9Et3IdbL98uKZH/9F2Ba6caasMxROE5pjf9HJIS8 vmLi02ub2LbT4g5DbQtxX4zNccGJ6jMGO3EhpVLQ+FZsY9J9SlhM9+PSTESOW4w1CZ/Kh st3GvYNnIvJ1UO/TnT1QM140RnGuyoM2egw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the ECC reported error "[9003] The first line of text in a comment block should be a brief description of the element being documented and the brief description must end with a period. Comment description should end with period '.'". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index 19472fa659a20d84eebd9e31e20eabab6596f799..d097c50360adce7f2280ea4d575= 971927860706e 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -40,9 +40,10 @@ PI_MM_ARM_TF_CPU_DRIVER_ENTRYPOINT CpuDriverEntryPo= int =3D NULL; =20 /** Retrieve a pointer to and print the boot information passed by privileged - secure firmware + secure firmware. =20 - @param SharedBufAddress The pointer memory shared with privileged firmw= are + @param [in] SharedBufAddress The pointer memory shared with privileged + firmware. =20 **/ EFI_SECURE_PARTITION_BOOT_INFO * --=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 (#69567): https://edk2.groups.io/g/devel/message/69567 Mute This Topic: https://groups.io/mt/79423273/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- From nobody Thu Apr 25 21:29:56 2024 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+69571+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 1609766580023285.36502707776253; Mon, 4 Jan 2021 05:23:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id nDyZYY1788612xt3pXMNgvrr; Mon, 04 Jan 2021 05:22:59 -0800 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.42]) by mx.groups.io with SMTP id smtpd.web12.13521.1609766573308632692 for ; Mon, 04 Jan 2021 05:22:53 -0800 X-Received: from DB6PR07CA0065.eurprd07.prod.outlook.com (2603:10a6:6:2a::27) by VI1PR0801MB1855.eurprd08.prod.outlook.com (2603:10a6:800:59::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Mon, 4 Jan 2021 13:22:50 +0000 X-Received: from DB5EUR03FT063.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2a:cafe::ff) by DB6PR07CA0065.outlook.office365.com (2603:10a6:6:2a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.2 via Frontend Transport; Mon, 4 Jan 2021 13:22:50 +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+69571+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 DB5EUR03FT063.mail.protection.outlook.com (10.152.20.209) 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:22:50 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Mon, 04 Jan 2021 13:22:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 731d1ac99e3458f8 X-CR-MTA-TID: 64aa7808 X-Received: from f3dbeec91395.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 56CAEEDB-4E15-4E92-95CD-11F4930337AA.1; Mon, 04 Jan 2021 13:22:44 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f3dbeec91395.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j5Zz4kYGGWyfQTVye9RGaHeEhAzbLR/IGJ23VY0alawIdLjhgVhtF1I7c+dkb88Z1P6Sq5IY0m4UR1WHuvr3o95Y9mzsLqlFsnQMebcWMsgQwB1gss8DSTC41GiR7vepvmwY/wG1nShBATLcv5DkHauliA8rHIDYV7v5Qe5kICTjJoCsIu4cdZC89OsMULbIpgAWL6euLNYRr6EQvfVWf4HebfDjXUpuqfYWBDsvrgRq2ZGLniAz7IuaI9+4nj77b5mXiKDRfn8lxTelaf0SkdxWZtn9sBd566K9AAzbROhYk0iR0MhthIN0prThAT9iK/kmTi3Gx5TUbuVy4blbaA== 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=IrYw1Kio8OR+7nhx0oxVk0DbJAiPpLVZcyrmB0sz7g8=; b=bEMzTnIz1NJ/Rs6H76qmQxL0b9UQkNBQgHaJJIjFeL7DCNZ6xasMANkVtDWhHZdSXkjK+OcxJFC49vJ9wvqTQS03+Ki7j8fwSLKhwSD1H1JtmHf0/vOKLZnjzi3vimsdO7QD1VdkmD/MnVxPFaiptbH6jrMuhNxbyUD19ALw0KKUJn10yj2b/6iRHF4yrIT3i2nyYY3lF7RUw7oyI+IbUPA13MaMgWT86q6V6l/rigbqQInOUSDLvOZHm86ngeucHY/OBDch1YpY7s/Wk8XZnkilHXtePQ1Ql6iz5pbiXo7WW2b8EzWs1agU/Y14BBEBnoy/VxD925Tum8uM1g73dQ== 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 DB7PR05CA0050.eurprd05.prod.outlook.com (2603:10a6:10:2e::27) by AM0PR08MB5316.eurprd08.prod.outlook.com (2603:10a6:208:185::14) 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:43 +0000 X-Received: from DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::aa) by DB7PR05CA0050.outlook.office365.com (2603:10a6:10:2e::27) 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:43 +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 DB5EUR03FT038.mail.protection.outlook.com (10.152.21.84) 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:43 +0000 X-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:28 +0000 X-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:28 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 17/26] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu Date: Mon, 4 Jan 2021 13:22:04 +0000 Message-ID: <20210104132213.22376-18-sami.mujawar@arm.com> 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: 6a137fa0-ca59-4234-d027-08d8b0b3d5d4 X-MS-TrafficTypeDiagnostic: AM0PR08MB5316:|VI1PR0801MB1855: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4303;OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: zndQxAKAcZBi1fzyw1cI5iTQgmkev3nTTqMxcjPihAEYjfnNSjR1shaAQRMyMQ8HXC0w0ZF3VnT3Fjs+xN9GGW4Ea9tqh9Nf8OjYoli2J4EpbQaoC5/HfgJSHvkDAwTCJW1wQ08K6rzzzgyLWd2bYIhm/7TWeUCH4zm1Us93Xv7dCOU+I5FbjnUudomZSrI/KVZSPfrBiL1buSp0hN37ErKmISFT0ipr35Nwwo66roRDXEG/n5WWkoGKxFCAazK4dNcMO0qPwXOaVTRjuxNtPfC9Vcb7kBeLDirSX0lvCPu6CM9z3SkljL7kQpz2yUWFbPuIpbokClvBSC8p2oe3DgLCHuZ+fH1sPQIagU6mP2Av/Y0vyRxZN1T5+Wac4BUUI58NxiAnf8rQiR7fE6RksGiR0KZNstz4tWGkO7RalqdevnNK9t5TMJAx2Tk5KIdVe4k2KeKFZNJpMRIIajYCXmoDAOFUi6Oq9ywQRCpBExoVdcAXdXH6Dg2Jbc8xuSdbkYQuE9q/lxxkRqV8HDffQNf+gOwhiXP/Ijt8vzNCalw= 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)(39860400002)(396003)(46966006)(70206006)(2906002)(83380400001)(70586007)(356005)(186003)(81166007)(5660300002)(1076003)(7696005)(36756003)(82740400003)(86362001)(6666004)(54906003)(316002)(26005)(44832011)(47076005)(2616005)(8936002)(4326008)(8676002)(336012)(426003)(6916009)(478600001)(82310400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5316 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0d3ea17c-2f62-4e04-0d0c-08d8b0b3d1d4 X-Microsoft-Antispam-Message-Info: AkrMEvc+38NsJJL9WCh3GiFTyuuwxRsR27Kz4mOFmCEQD3VlvDV7ylt/GCtA2EWX39XPGwWhP6lR9j0hNnkDeXNUN0/9Ru8f8Zq7M3IXsTfusJfhg2G2/nKBQMTg0MlMCQrG8CBYv2ZAXtfbMeP+on907ne+hXvwiP6HmwfHYgrq9ojOH7qg7pIeNexF2yJon7mfmG8UPdx6aqV0b8UmYXCmpT20WAAeRbUDB6xVPhixtPaJg3HfIq3J5dzhJ6myfH6uTJFwSgQbTorgEKL8jfJlbsOitsApdFaMbC3cHnsMiA5+iP8MSbdBna6zySj67gVMNNtwKNbigm+IG9oY+/nG2exsCe8/XmkZOui6KUamnfIEiL67BuXdVTn8+o5DKy5ZIDz827qOmkxpf+82KcYNpGBQNI7KZlkRbakAUjQjiUoTvK+hwhpXJoLV/51JRM5Nn/hYZV5KJGRIqcDYddt3mBZzY8J3SNmp1uH3kgq2d0+XAMdG81ojByNWOi28WSabAqG8R9jtKesfoyMKF2b546yEzSrR6Z3oTP/jFkU= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:50.5963 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a137fa0-ca59-4234-d027-08d8b0b3d5d4 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: DB5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1855 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: URP3QSExHq4eZWqnc55NoLROx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766579; bh=jg14D8lZdV/T0vlhEEQZShhBoap03QNg80Uy+ZMR0qo=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Akh/PpF4p42bt35c1P2MdSSAJ47WlMwag1AhdWSKC3PzC5QYDgfkbWqdUVxD5CW7ZWK ZwxiKz/yVUHHa6whEUM3B3gNim4RUE7vkZwOPHbARK+raD5HvtN7nbmQ83sz3SJiCzB8F RyJQv4KGky5LmFWVef0Z745wGd3Oo5yWJb0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the ECC reported error "[4002] Function header doesn't exist". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 21 +++++++= +++++++++++++ 1 file changed, 21 insertions(+) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 7620a65c7e3bbd647961942f5b30d3d834107f70..006f95989124ee0151e3cdf42b4= dd4a5be80a6aa 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -58,6 +58,19 @@ EFI_MM_CONFIGURATION_PROTOCOL mMmConfig =3D { =20 STATIC EFI_MM_ENTRY_POINT mMmEntryPoint =3D NULL; =20 +/** + The PI Standalone MM entry point for the TF-A CPU driver. + + @param [in] EventId The event Id. + @param [in] CpuNumber The CPU number. + @param [in] NsCommBufferAddr Address of the NS common buffer. + + @retval EFI_SUCCESS Success. + @retval EFI_INVALID_PARAMETER A parameter was invalid. + @retval EFI_ACCESS_DENIED Access not permitted. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_UNSUPPORTED Operation not supported. +**/ EFI_STATUS PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN EventId, @@ -159,6 +172,14 @@ PiMmStandaloneArmTfCpuDriverEntry ( return Status; } =20 +/** + Registers the MM foundation entry point. + + @param [in] This Pointer to the MM Configuration protocol. + @param [in] MmEntryPoint Function pointer to the MM Entry point. + + @retval EFI_SUCCESS Success. +**/ EFI_STATUS EFIAPI MmFoundationEntryRegister ( --=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 (#69571): https://edk2.groups.io/g/devel/message/69571 Mute This Topic: https://groups.io/mt/79423281/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- From nobody Thu Apr 25 21:29:56 2024 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+69568+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 1609766570938792.6411851009199; Mon, 4 Jan 2021 05:22:50 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id tYHxYY1788612x05O32n7KJG; Mon, 04 Jan 2021 05:22:50 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.50]) by mx.groups.io with SMTP id smtpd.web09.13167.1609766564783542384 for ; Mon, 04 Jan 2021 05:22:45 -0800 X-Received: from DB6PR0301CA0098.eurprd03.prod.outlook.com (2603:10a6:6:30::45) by VI1PR0801MB1934.eurprd08.prod.outlook.com (2603:10a6:800:8a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Mon, 4 Jan 2021 13:22:41 +0000 X-Received: from DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::d) by DB6PR0301CA0098.outlook.office365.com (2603:10a6:6:30::45) 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: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+69568+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 DB5EUR03FT020.mail.protection.outlook.com (10.152.20.134) 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:22:41 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Mon, 04 Jan 2021 13:22:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5282babbaa23c6fe X-CR-MTA-TID: 64aa7808 X-Received: from 3b570287dfc7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F02CAE73-5AB4-4107-9FB3-169A7970EDAD.1; Mon, 04 Jan 2021 13:22:35 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3b570287dfc7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ITBGa+0jh4+xKCUcjkbj51kx4ijAb7oOFX1fXStWNXXS3J8XXIqcXTBclC1qFeb3Dp+wfsymDQawJJZAmCySZiVvqhct1NW61rHk+oNggkXDln6GKJLV56fYmamLmXh1VAE2ojcs0tlhBO5scBlvzK9Ux05tA81+KYLI97nRisfN150qgguOCEe2XAj9YUmNBNGJZXkW5R1Hsni04HreYzAjvORA8bgBlgpEjjR3nup+ikSnjWOdjOeiQ0uBhp8LIKwXHteg3xsiWx3YtPJqvS+tuTrD9p/jmJ3QGuKxqaBbuIgTVRlLw3Y9/jrbdRP38U4Mc3bGQFhBBaSAe1XEZA== 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=hFF04LXl/Jw8ytG8CqjkY6dRzBomif62gsK8+pARB8g=; b=YxXrJWg2raCWq/5WvwWloMcQY6XScHM2kjSfuHCPC8ju10m2s2zIYOKvcMVk1KM4T7hVpqKWJc1TQ5ng9X+VS9RK1I9wWgs/jnRGnVZ2LduMPOk81goVlitDfH+e1cTl4DORI8qJzdT4w65EZWmjW16epdJ2XoKj+fLg7NogU8T0OGPMaOmXqie12b7bAJb2jatcmGsG88bI2fOLG+iU4Bnowvii4jcD2/L1TU9zakgrs5q6DMHs1eiXoBowysDmzt3O0Ka3vljcSBDjRF6+PjN6zT3GYUB2LnrcUDvUXtxNxiNBhMa/Qfr6u5sJjenq3w/9U/0KgqFvykp8SY+Zug== 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 AS8PR04CA0059.eurprd04.prod.outlook.com (2603:10a6:20b:312::34) by DBAPR08MB5701.eurprd08.prod.outlook.com (2603:10a6:10:1a6::12) 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:33 +0000 X-Received: from VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:312:cafe::9b) by AS8PR04CA0059.outlook.office365.com (2603:10a6:20b:312::34) 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:22:33 +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 VE1EUR03FT022.mail.protection.outlook.com (10.152.18.64) 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:33 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:30 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Mon, 4 Jan 2021 13:22:29 +0000 X-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:29 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 18/26] StandaloneMmPkg: Fix ECC error 9001 in StandaloneMmCpu Date: Mon, 4 Jan 2021 13:22:05 +0000 Message-ID: <20210104132213.22376-19-sami.mujawar@arm.com> 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: 208f4507-195d-4698-3e73-08d8b0b3d02c X-MS-TrafficTypeDiagnostic: DBAPR08MB5701:|VI1PR0801MB1934: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3044;OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Wy+IM0+urIU3N/eb2Bf/9SxTOQTSEsKmVPMeCfwHOY29t97kie1Y36mYY1GCYZ1K5eec5uyCHpNaPA63HRYitNwNB9wGeXzRj8hs5t+FombMD3DyLjssmViTOaK251G1P2wV/CHiKJD1EbwnGN/yw5y2JoTJCdeu/n7rroFFxq5ciWNi1OziDwV2syehOIAyjaNOo5PjkYzCNBzwtnuOjp+PFOchAXJu/VhnaN6pDXx8jp+S4XOy3J3q2V6StdHATNIwurSdMYupHB0E71Gq0h49L4poHUoH4ywEymzw7w6WsmWwvGe6ozn18PL3UYbUgQj/SqcgElHF2s6k5dYSFNZkq1UCyvfI5sE6E4Km+yfSioWGhl3EK0kLZKr/Ke/sGYmnBVhUfEZbSsFwmmLaDRAxUfuCjhh+6esf6IiN7NgIEA74iWdC6QVijA7DXCk7fM/+Cz0cjJChy64UP3gUtOXKAxVJIsndJQ5W7uC6wl7qrvdwCbK/yyZ2sNvA/NQ3c8Hn65yS+u6JXZQlJhMG/s4buG1s8KLaOBu8KLbEimQ= 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)(39860400002)(396003)(46966006)(44832011)(70586007)(70206006)(6666004)(36756003)(6916009)(336012)(86362001)(4326008)(2616005)(1076003)(426003)(8936002)(186003)(26005)(2906002)(82740400003)(81166007)(356005)(83380400001)(7696005)(478600001)(8676002)(5660300002)(47076005)(316002)(82310400003)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5701 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 411d0a3e-dba5-4553-4b32-08d8b0b3cbc8 X-Microsoft-Antispam-Message-Info: V3XXUb/M3pbnPbaSbMf/rGhPqENbNoxiCx5IZDh9lWWxMZxvubhc1NBXQ1CTzKmuw3M4REOb5w2xMkupFFWoWArFXnqXoaNXcuDP4ozrtqQ8RHsaasXLZRwxfDugEE2qJN8VxEj0+INmZu/fCAsSJrRZuoi2WXOyS8asqhl09839LSsTeIfmowv6WZkvNvURAxvfFwM1NbDmw/TreSXo4gUpPdUdTYjaBpFz7QAF7k8amnTYTj1f/qtXldCMiubYCrwTt+7wpU2t3fRUavXJp1lJnlWDbwZnCOduz+yAAO/DLZK0b2q6iZtislJxI60m8jhRhZ/SgljrS84qk9smg/DmSGM+OYklUy4oIE3aD7aCHmf14Xu+2u76BYQ+OnCw+GjrlvVoEUH61SAkcou6IDCJ+sdwe/aqrj8OP/SUNsE402Rklm4dM0kdBBJ4AHBbjWVrI3p0/FMSJvUK42nmcwtLrx5btKfedgrMWCBXRf0a4EGxa0o2ELQUEiymI2tZcfDanjzEkzl1YoegFCwF2dZsdDL/xN5tVGWq609Xshw= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:41.1050 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 208f4507-195d-4698-3e73-08d8b0b3d02c 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: DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1934 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: mRwmSsKjZ0yO89EuzwBRnHXmx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766570; bh=NAy2YMlMAIDkfkCXhhaR9PvYGE+d4vPD2nsaK8w4GPw=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=fskbQcS5Jj0BxQesVN9I5Nd1pgm/MVVxmmCOSdyPCUhw7IjbUo5rApGZTjb6ezVB1ET HDctIR8jmmTeNfBsilsqsZcGStKfDPRRk3++C0CwMEGuF5uqetzPl3tlWUtYRiGZ7SSH3 Qz0m/kn+V8u+RbXW8+aYUWFjXzUtmCtLvx4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the ECC reported error "[9001] The file headers should follow Doxygen special documentation blocks in section 2.3.5". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 6 ++= ---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf index 05327de23072048d3a17a480b6aabfdaf04e7955..d984e91628980ebafcfce112ab0= 2f524cbe2e5e1 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf @@ -1,5 +1,4 @@ -#/** @file -# +## @file # Standalone MM CPU driver for ARM Standard Platforms # # Copyright (c) 2009, Apple Inc. All rights reserved.
@@ -7,8 +6,7 @@ # Copyright (c) 2017 - 2020, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent -# -#**/ +## =20 [Defines] INF_VERSION =3D 0x0001001A --=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 (#69568): https://edk2.groups.io/g/devel/message/69568 Mute This Topic: https://groups.io/mt/79423275/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- From nobody Thu Apr 25 21:29:56 2024 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+69576+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 1609766601658776.03424362821; Mon, 4 Jan 2021 05:23:21 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id LythYY1788612xvX53854eN8; Mon, 04 Jan 2021 05:23:21 -0800 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.56]) by mx.groups.io with SMTP id smtpd.web12.13531.1609766594823085215 for ; Mon, 04 Jan 2021 05:23:15 -0800 X-Received: from AM6PR01CA0056.eurprd01.prod.exchangelabs.com (2603:10a6:20b:e0::33) by AM0PR08MB4050.eurprd08.prod.outlook.com (2603:10a6:208:12a::11) 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:11 +0000 X-Received: from AM5EUR03FT042.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:e0:cafe::ae) by AM6PR01CA0056.outlook.office365.com (2603:10a6:20b:e0::33) 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:11 +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+69576+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 AM5EUR03FT042.mail.protection.outlook.com (10.152.17.168) 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:11 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Mon, 04 Jan 2021 13:23:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a87eba38e7e0a908 X-CR-MTA-TID: 64aa7808 X-Received: from 6bf13a3913f8.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5CDA094D-4078-4FCF-95BC-B45347C0BAA9.1; Mon, 04 Jan 2021 13:22:45 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6bf13a3913f8.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=aYg6/PfxnWCnzZ23SjDWt8LiQmEoh4AZn2cA1s++6ejrSgi2u2IcI2THnfeOlBlS0FclOuB487sJBCpNk4qkpNr5L3tUkFRp+v1BrqAM5j4PRsjNGAzoj4uQ9CSBqcDVRAzk0YUxhP7lSbea7WIRY2xrXJbPD0ZFbESzx9V/l+fko53nO8nBWoXkf7Ad857GVTioxvpsb0kOKbU2YuPyfQ5NoGXRKVwPv0id2tMRfouh8OAoSzZ7ny+JoJ7y7w1c3w2bqawcIrLtg4ew6qKqQ2MK61oD7JXUsArvT9W8eEMrtC2fCGUT+q/Fxk2Hegi0U3GcJ5LSNa+0oVFOep/m8w== 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=07MzHKOQ7+l5AueJ5pIBDzSCM4bjIKC3AqzILpMMVb8=; b=ETVo/q89po62anHBghWcYyueV2agusfPhS/lMHtfTkckIqTL7waKC7boMlmT3XGphlc9qgGZS7KsMooKtp4Pc9+0XvQMgma4XKzrW7b3fJTRbHgjp5nneGycataG8PXLRB06BuTz6nTwdzx58jV5WH3DDaAmMKHrRpxTUS/lj3a5HD4+zmDLXvwcYCWvNNFBRTt2Lbvqz3VPUNA4FQTqfDdacYs+t+0tdkMYxKfbeigsyqSML+Kh8sDI+8ZJSJQyWgooYIxW5gvuBogpBdIVF0d++Z7CB4XXA5mHZwM3b5WWM2nqx4fjBwZpIyaKCYKabrnBMGqJES86+WX6SRzwUQ== 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 DB6PR0501CA0048.eurprd05.prod.outlook.com (2603:10a6:4:67::34) by AM5PR0802MB2531.eurprd08.prod.outlook.com (2603:10a6:203:a0::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.23; Mon, 4 Jan 2021 13:22:44 +0000 X-Received: from DB5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:67:cafe::29) 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; X-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 X-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:30 +0000 X-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:30 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 19/26] StandaloneMmPkg: Fix ECC error 9001 in Standalone MM Core Date: Mon, 4 Jan 2021 13:22:06 +0000 Message-ID: <20210104132213.22376-20-sami.mujawar@arm.com> 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: 2bb7adbf-938f-4fb1-01b5-08d8b0b3e22b X-MS-TrafficTypeDiagnostic: AM5PR0802MB2531:|AM0PR08MB4050: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:2958;OLM:2958; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: uxH3vDOVdnN8tMInK8vAcPwcfSMNqgsP/PY7ynWHVprTRTmT+3/NUlOnHujPQMZ8tLeFGyCH2Qi23P1I5lgq7nUnNMgCHq3DysOCznrWSeJjVY3BA9XLGR6D6Vb5XIw2hD/flK6InqEJ1fRfw9H5ikslxtnr2RDeeXz0A2ZocVR5qxVoeuJi5wsulN1WxJ7tsKXPzC/QEEHImV1H8Ocww87TGikszbyIzoNF0GrDOhDhXzVmNsd7vKvR7omBV4aqx115pksjhaLuxTVH3m4/LxhMO6hhVVT7KZH5rn1qivjrq69v9xHwXrYJ9YmTPtmCdNrNH8wxmP9Xey166UgND2gWuZagxUKSoKz4WaSB/43kCjUpUnW7btmvAP6HalSqy8dycU+6NUt7mjv9paBPtp8nRW0KNKdDKEO1AwNAfgkN/aplR3spGUfkaasSGVOSkKt+BLRXVAE3GuDvS8fHepyyHUjZ4hx5wGa3X1BIKtIQuVDDUsgKyKtYCtjOu1/OA6QBmOi0xNMTJrfbWvWiDI6OHsbmg+ISBfjAgQ4R1ZXqBx5F4FusTD8tFOGSVFSF 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)(346002)(396003)(136003)(46966006)(478600001)(83380400001)(82310400003)(6666004)(44832011)(7696005)(356005)(8936002)(1076003)(2616005)(81166007)(70586007)(70206006)(5660300002)(86362001)(54906003)(426003)(47076005)(6916009)(8676002)(82740400003)(316002)(186003)(2906002)(4326008)(336012)(36756003)(26005)(14943795004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2531 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d2a73bdb-c8db-4af5-b445-08d8b0b3d206 X-Microsoft-Antispam-Message-Info: cUk88hVAtLv/os8ebHz+5Fz0FlErbcN+E+6iYdsUYr1dXavrYGmZj1l0gk8Sw4ksjXoXpiKRjQX4ztWPY+s2nIA1uriWp1lUMIEgbXyh8hGLJMUC33w4JO0ce958z6xpLbblLB/baduZtnQN+p+ormpT/3Fw2lrjYaRyXt9FV6TQtm+Cm/a1fh4VtMHHhp53bGICXsnSbaItrlXNReno0eeCaBlAJC+54vsUH4KMeIIiyMwzQcErbr2h2VqGME9hOhEcOPF51rG6qThFWuZLFa12SwARt+2anf/lbM5Y7xK5g4Ee8o5W9ZPmSikAFY794sNOjoO6lHvcv6xbxub0rrU81WYTU+uvy/QKWCE1cvqsCaKPUgZ5S15W7mKEdH37p/k6B8LS8l4Jz/cNA1an0Btbjwbb8dHUrgYRcTg8CO1xhc4W1I5Xkc8bJSs3TRIdOz7jF8p8l2ivWn/WoO/skdCmdAUicf9sCyWj389zk5Z/PBcJZc8QF2mKLzhnAvHOG3Fmq+ueCYyC9DpAtxJa7j2SfJNLT3ZIHHY2+HwxjqzD4V57Ke8btBI/CyxVk0pJ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:11.2469 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2bb7adbf-938f-4fb1-01b5-08d8b0b3e22b 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: AM5EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4050 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: 6L3TMzWj1tmKNNqzFXybEOUsx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766601; bh=gBGt15V65XESNtKoOZKydqhI3++A0n/r2mheR9WCMvw=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Hkxv494DYGqrVI2cVZ00EwkQj4xECUzofgJ6ZkX9LkAOtWyNwQgHa0V9XBiFfvNY95G pg3W8zBOi5Fcem/2OaOK0ttrePcI4hE77zJaylWsiUSjB6vUFg4pCipLaIuDJTqcvN+sy 24izu4P+gRFFUkN57+SXKkZBNIUs9NBEeUI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the ECC reported error "[9001] The file headers should follow Doxygen special documentation blocks in section 2.3.5" Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/FwVol.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/StandaloneMmPkg/Core/FwVol.c b/StandaloneMmPkg/Core/FwVol.c index c441afc3957b0f8c39625d8199a16c3823990e99..12ffdd19c67007cf7c30b0a837e= bdeec4c6eb3ea 100644 --- a/StandaloneMmPkg/Core/FwVol.c +++ b/StandaloneMmPkg/Core/FwVol.c @@ -1,8 +1,9 @@ -/**@file +/** @file + Firmware volume helper interfaces. =20 -Copyright (c) 2015, Intel Corporation. All rights reserved.
-Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent + Copyright (c) 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 --=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 (#69576): https://edk2.groups.io/g/devel/message/69576 Mute This Topic: https://groups.io/mt/79423290/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- From nobody Thu Apr 25 21:29:56 2024 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+69581+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 160976659960337.24236847409804; Mon, 4 Jan 2021 05:23:19 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id M3hfYY1788612xFMMZlnVsxc; Mon, 04 Jan 2021 05:23:19 -0800 X-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 X-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 X-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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69581+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 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 X-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 X-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 X-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 X-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 X-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; X-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 X-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 X-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: [edk2-devel] [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> 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 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-Message-Info: JVwVi/KD5mh2dINldF4s3lY5tzgZjPut8snw+WPD0c6h4/IAXuqeCPaj3iKO4UNPVPqNmFSWsdYdzPRiqdgT/DJsFFwc1RTl3oMeDasj+nmOuTRr3M2qY3nDieetoTrAW0Uuqu5+BpubU07+YtOn2NOsv9SU2mLpfo23F6sdFQ0we0mfxrfsV34bvN1RLqEHcwK1T8lXGI8Gv2R7mma+M3ChChcGB/YhaRBo86G1NCcj61n9Lm6ciYT3/TQjaHhGORXWgSOJskHI0EPUSVgshwBuSzm0NowZIfIfE3kyyeh/O9Cy2w1JZs/7yUxlJ7T1V+tX9VWQ0qKSDBQ/FJs2FVufOixUoTcZtUgYiik1ZvFY9i836XbYUmTPqZgu2jvV+Zr5cSAwTGPfMJqJo0p07e2x5Pf2Lw5y+v3d6UDpMWYqIAZWdY/mTDCud89ZG6Krnz0vb+tmwcP4xmgUdjH8yoZbhlMnNd39rGahPABnp5XhG1t9kfayRpBn1ZQJxa6xsPhBg0gCRSyXfY85cIrt+/Hj6ZKecKWs2SbT4/eL4R0= 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 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: mPHbg0QzOddshdr4nw6Fz1Rqx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766599; bh=Fkahlgu6h3ks8jpetj4xZH3iGmxHCmIktOQse7hkEHk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=AeAFqPWlWyg+7sq5m88xwG65zIt5wQZIuCL/JjjSsRsj/Qsl3ebnfUU6xewoVC5hetO QpDP1rx5q5lETJ1vKVCoGcseWFimU+w40bwOHgKI5WsNDzV5aFSbHYFWbD4gcw481o+ZZ GGJCxRivdohmzgwt6QclGxymz3HnLaq+5uo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) 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 Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCo= reMemoryAllocationLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/St= andaloneMmCoreMemoryAllocationLib.c b/StandaloneMmPkg/Library/StandaloneMmC= oreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c index eb3d772e18c5bf54f3b2f210d53c5821b3358eb4..2313deabbc9836ba30070876cff= 8125d97eb65fd 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.c @@ -2,7 +2,7 @@ Support routines for memory allocation routines based on Standalone MM C= ore internal functions. =20 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.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -822,8 +822,8 @@ FreePool ( The constructor function calls MmInitializeMemoryServices to initialize memory in MMRAM and caches EFI_MM_SYSTEM_TABLE pointer. =20 - @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 Ta= ble. =20 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. =20 --=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 (#69581): https://edk2.groups.io/g/devel/message/69581 Mute This Topic: https://groups.io/mt/79423295/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- From nobody Thu Apr 25 21:29:56 2024 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+69578+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 1609766602602383.517984418202; Mon, 4 Jan 2021 05:23:22 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id a5UXYY1788612xpIvJpIGvBU; Mon, 04 Jan 2021 05:23:22 -0800 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.47]) by mx.groups.io with SMTP id smtpd.web12.13532.1609766595862698967 for ; Mon, 04 Jan 2021 05:23:16 -0800 X-Received: from DB8PR06CA0010.eurprd06.prod.outlook.com (2603:10a6:10:100::23) by HE1PR0802MB2490.eurprd08.prod.outlook.com (2603:10a6:3:d9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:23:11 +0000 X-Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:100:cafe::e3) by DB8PR06CA0010.outlook.office365.com (2603:10a6:10:100::23) 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:23:11 +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+69578+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 DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) 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:10 +0000 X-Received: ("Tessian outbound 6ec21dac9dd3:v71"); Mon, 04 Jan 2021 13:23:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 40cf47c92aaecc7e X-CR-MTA-TID: 64aa7808 X-Received: from 03aeb9de95a5.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1351361B-FA24-4F6E-B3F9-45CC14DB90D9.1; Mon, 04 Jan 2021 13:22:47 +0000 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 03aeb9de95a5.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XKv7wh1DoyotXr9KTsEJPTu1AGAmbLp0CUrdy0k+qr2BdT3cpQe20fxtE3XvthZ9uTBQTD65b+gK3ZYDMGhe+yHqEYMZIGMfJS1luKxpJ8SXDSxo5KjY96mD8swGbx8KUdUrZHbiKXTK4uEU7kATS55aGs+o5r3xjodRzX+0wJp5aw/79unLIYAZT4pFpQOtpxPL+b4KbSgeFDOQFUbvFK9/Iz0KzzkzkYDE+sfcqsincZDww4PH+VzOV/sA6zoW7jcg3TMhkl+1wY/XTFLnmox/YRZOPVeo9LK2JKUL6KdrErOJvDLmV3Xs23V0SuJwZ9VXhHwZC3ZabPVo6+5pOA== 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=x63WSuZ7CTfPvqvr+vR1giWbcGfHScDHgh4GEsoHM38=; b=QyX4fmdFBsEWVPe9zhCv+RvrQn99iZq5XtKNKIHuE4T4Ht2KuL3yVZAWJw833jdq7rzlOdvjt1A9C97pyhQwaE9E1IEDd+lvig8i+jm/8mF+MGhEonGZXbsyBhktSktM4wb5CqSifIY4qYogIA6T9uCtKt6EaQ9vCmpo6LD9I7O49bADn0Bf7tIa7k8KcxyRqDmzEy5bko0JG2/YejBTt0C4pE39h0mg8mAI3ALN/Jadkh2RZy9DFKwnmPJeACZhNXiQL4c9EwV49mK0qFbN5yxoMdXxwFSZNbLwMAHHvoeZ0N9bXr6OxOlyJ2PCh9C7M7VqWPxIkJLmz7D0wJG/gw== 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 DB7PR05CA0068.eurprd05.prod.outlook.com (2603:10a6:10:2e::45) by HE1PR0802MB2217.eurprd08.prod.outlook.com (2603:10a6:3:c4::8) 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:45 +0000 X-Received: from DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::2c) by DB7PR05CA0068.outlook.office365.com (2603:10a6:10:2e::45) 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:22:45 +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 DB5EUR03FT038.mail.protection.outlook.com (10.152.21.84) 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:45 +0000 X-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:33 +0000 X-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:32 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 21/26] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu Date: Mon, 4 Jan 2021 13:22:08 +0000 Message-ID: <20210104132213.22376-22-sami.mujawar@arm.com> 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: 8dbb6d7e-8c54-456d-5e3f-08d8b0b3e1f2 X-MS-TrafficTypeDiagnostic: HE1PR0802MB2217:|HE1PR0802MB2490: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:5516;OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: +FtJzOPpvlufXwS+GqLQDBtNnnpLsSMdxvXJTiieEgGXMt5Br8QvxPQu1AINu+FqPbu6jNkjWtLDtVPE1mGLdCPKKUTHFebHJp7pGY9kd0EdjdzdhT2mWMuOnMgFME3wi51qOY3lhdyN8QJQCvgS07BsGGgvgnwbHq0sSfJoSAddmMROB3lx/84V8Ap7asg8eqBla73LJgp0j6MTuufOk9fSV0R6trraq8c1EBE5QUsyEubSNkXRmM4068jr3GUurUakgZbKoUSBZ3ea3b9geF9kicFtc93DnG2FMjdYqBk8yO5UgF508wmNJpJUAKWL/LlbfWeFcw16QK4u1ieOXXM4EDHE9uodsHs09fr0g5mQ3UpgY+AOkRUxDW/YgXguhLYaBf5N1twggtWhU3oP7DDQltFv2XF5tqg4L+ZgEEAYyxYWWNcc8Dqum38n7ylelgZ3KbHEqng+XrJmhN/22iSm/Gqhn3Q2a+Yu5mztqrzXGPGDHi3AWHdCiU0JWSgGCOvn4qM6NKrEyx5AlvxloIFhnSHRj8EV/yZBdjUTG4c= 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)(396003)(346002)(136003)(376002)(46966006)(316002)(2906002)(54906003)(8676002)(6666004)(7696005)(83380400001)(82310400003)(186003)(47076005)(82740400003)(26005)(336012)(81166007)(426003)(6916009)(478600001)(36756003)(70206006)(70586007)(4326008)(8936002)(44832011)(86362001)(5660300002)(1076003)(2616005)(356005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2217 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: e069676f-bfcb-4eb2-06f2-08d8b0b3d2cc X-Microsoft-Antispam-Message-Info: 82r6pkwLClXyNDJerw6LZwx+vre1X7CMKS6IIXFgdnJAtces9asuktEUMGztr/idMfJAqsl8AObJNZtjvIFcOHJbYYliWbfUqqNXTPtUbMbgqX9908DGH8VQnT4I8tbNKHHPVqPLvKObLQr061v4R98essayURnYWBlg99k/a2hOxZABXFIRxNz8wiDacWjq3TxShHHspuvr5Z6zdnIzclY8oJ/apjIex/efObt2sbTMLNrME1IeBhQnmcWn56S7SNsUs30k0jdmhoSLOH8vQXgr2k+s242NCEW4goIegtH4uLaI+NqM2zRzHmZP3y5tAdcqC2I3lL6cmCyitf1ZGVCGkKHP6rURU6qK0Z7aKW9nunCyjbkyRpGoAFkTES03XEmEyOkGHz62bnhHGvu7EoPYqoJnF/IQPwrh4e54XrD0Tk/MM82cbQfulrh3VvePLNxAxrYFdX8bbWEAKghzrm5syMiVUx/czOH9eOYeGeYuo01nsr+AX97pMh6cCpVg9iP2EZw5NCwFq3OPLdabgtLoqJp/hwj+iJJo94eCw8g= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:10.9247 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8dbb6d7e-8c54-456d-5e3f-08d8b0b3e1f2 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: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2490 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: EVIls1JgKoaHDv7K0NiJDqyJx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766602; bh=DJEVi4WILL6p2L6JEHvItoYLOAzDhHPx5bQnc7vXQoI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=iVo8GhCiDqLBRp33aui5qsUK/q3OtxB1/klsReuZ0FcNedYwPP/l6Qxd/Lw//vsWUkO 9mCpgVui9I2RENk0t4BLsD1FoeFpf5+ydTUAiQnxna1h5Wdzb9b0ptmWEzkvH4KybjXlb WGgt6VsOYHgIdFhpv1frLcG40AIUxMOmoSQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Fix the ECC reported error "[4002] Function header doesn't exist". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 9 +++= +-- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 23 +++= +++++++++++- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h | 31 +++= ++++++++++++++++- 3 files changed, 58 insertions(+), 5 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 006f95989124ee0151e3cdf42b4dd4a5be80a6aa..7fe912b0c9411819e81c668ffd9= 2a70c2cac84bb 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -196,10 +196,13 @@ MmFoundationEntryRegister ( This function is the main entry point for an MM handler dispatch or communicate-based callback. =20 - @param DispatchHandle The unique handle assigned to this handler by Mm= iHandlerRegister(). - @param Context Points to an optional handler context which was = specified when the handler was registered. + @param DispatchHandle The unique handle assigned to this handler by + MmiHandlerRegister(). + @param Context Points to an optional handler context which was + specified when the handler was registered. @param CommBuffer A pointer to a collection of data in memory that= will - be conveyed from a non-MM environment into an MM= environment. + be conveyed from a non-MM environment into an + MM environment. @param CommBufferSize The size of the CommBuffer. =20 @return Status Code diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.c b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c index 7c004c8013460bb7f1690351aa64eeaa9eab91dc..11c97fd8b62d6c49743422d5e0e= 2da46ac64327e 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c @@ -44,6 +44,16 @@ EFI_MM_SYSTEM_TABLE *mMmst =3D NULL; // STATIC EFI_HANDLE mMmCpuHandle =3D NULL; =20 +/** Returns the HOB data for the matching HOB GUID. + + @param [in] HobList Pointer to the HOB list. + @param [in] HobGuid The GUID for the HOB. + @param [out] HobData Pointer to the HOB data. + + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_NOT_FOUND Could not find HOB with matching GUID. +**/ EFI_STATUS GetGuidedHobData ( IN VOID *HobList, @@ -70,9 +80,20 @@ GetGuidedHobData ( return EFI_SUCCESS; } =20 +/** Entry point for the Standalone MM CPU driver. + + @param [in] ImageHandle Unused. Not actual image handle. + @param [in] SystemTable Pointer to MM System table. + + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_NOT_FOUND Failed to find the HOB for the CPU + driver endpoint descriptor. +**/ EFI_STATUS StandaloneMmCpuInitialize ( - IN EFI_HANDLE ImageHandle, // not actual imagehandle + IN EFI_HANDLE ImageHandle, // not actual imagehandle IN EFI_MM_SYSTEM_TABLE *SystemTable // not actual systemtable ) { diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.h b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h index 47a020c27b9591436d0559f34e0dcd0e7443aa93..23b60a2c991840a6b422e198f13= 6947399074870 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h @@ -2,7 +2,7 @@ Private header with declarations and definitions specific to the MM Stan= dalone CPU driver =20 - Copyright (c) 2017 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2017 - 2020, Arm Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -33,6 +33,19 @@ extern EFI_MMRAM_DESCRIPTOR mNsCommBuffer; extern MP_INFORMATION_HOB_DATA *mMpInformationHobData; extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig; =20 +/** + The PI Standalone MM entry point for the TF-A CPU driver. + + @param [in] EventId The event Id. + @param [in] CpuNumber The CPU number. + @param [in] NsCommBufferAddr Address of the NS common buffer. + + @retval EFI_SUCCESS Success. + @retval EFI_INVALID_PARAMETER A parameter was invalid. + @retval EFI_ACCESS_DENIED Access not permitted. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_UNSUPPORTED Operation not supported. +**/ EFI_STATUS PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN EventId, @@ -40,6 +53,22 @@ PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN NsCommBufferAddr ); =20 +/** + This function is the main entry point for an MM handler dispatch + or communicate-based callback. + + @param DispatchHandle The unique handle assigned to this handler by + MmiHandlerRegister(). + @param Context Points to an optional handler context which was + specified when the handler was registered. + @param CommBuffer A pointer to a collection of data in memory that= will + be conveyed from a non-MM environment into an + MM environment. + @param CommBufferSize The size of the CommBuffer. + + @return Status Code + +**/ EFI_STATUS EFIAPI PiMmCpuTpFwRootMmiHandler ( --=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 (#69578): https://edk2.groups.io/g/devel/message/69578 Mute This Topic: https://groups.io/mt/79423292/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- From nobody Thu Apr 25 21:29:56 2024 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+69574+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 1609766600636554.4479479932337; Mon, 4 Jan 2021 05:23:20 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id flmkYY1788612xRezQFt6TvK; Mon, 04 Jan 2021 05:23:20 -0800 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.48]) by mx.groups.io with SMTP id smtpd.web09.13175.1609766594282625521 for ; Mon, 04 Jan 2021 05:23:14 -0800 X-Received: from DU2PR04CA0124.eurprd04.prod.outlook.com (2603:10a6:10:231::9) by PAXPR08MB6525.eurprd08.prod.outlook.com (2603:10a6:102:154::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:23:11 +0000 X-Received: from DB5EUR03FT042.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:231:cafe::a8) by DU2PR04CA0124.outlook.office365.com (2603:10a6:10:231::9) 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:11 +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+69574+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 DB5EUR03FT042.mail.protection.outlook.com (10.152.21.123) 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:10 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Mon, 04 Jan 2021 13:23:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9ebcc7da2979dd8f X-CR-MTA-TID: 64aa7808 X-Received: from 963ae05b93d2.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CA6A788E-DE9C-41D0-BA61-860A80B9762A.1; Mon, 04 Jan 2021 13:22:48 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 963ae05b93d2.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a3QuLA2DekqwKrZkN8Fa5FF4d8IFfTy3rh5J/B+z+W55tJEhM7uHHYYdlBPI/BNgdYnVBOxpWS6/aqNyktGv8G5JWOJy3m02i9mOv3Lm2riHO9MnWNLa5soXNL8bXfu/Hred5Bzp5z1fTWn5v+1imZSpiKyVuwL9d/LmKuiY7uo5F05Rlm+DWPGPn/SQk+67uclwulRsXg1CC1xPAlAD6hEqPW1oCfIriwgOeK4GKbcTgDhGGm2ftPkroA51UWOwhoWWxfduDVBb8Nkn2enog9h3twKNXK3GEPPKpbfYDdGU5mc77X4yv+ezFFTPPTwk1zwnfQROXDX7B7cnox5W7Q== 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=NVXaJAKJNj5kLCrU5uh04Xe6Ut/AxureR1GZm3cnEXo=; b=VE+0fYTOmhGAg5wbNcc8cNSSPXt7y0/ToSi7lLHahtpMGt6hMY2h7h9OTPiBCD3NwP3E0gdhQgPyJJ2hdTYv1HcAoAnUoBfJSEhxYmD/ySKvE2lExo08kYlED08RvqShyXywvQB/bIXdvaUBrHuYL8ZDaAaVCXmBYAqcEbh0ApNRM2KqBUZTdFPwuQQTS1e0XQRbwU1vKytPfbYC+FZxOkh4JMR8KyC8hSR6+pg15yUnrBOe5nNbm8bFhWGifsoA9PYmb9BCGtpAPOQK9XOynLPmKd85RjNsq1ipRNn0c5Ku1oIz8bqL+/tp++aJo0J7yxx+U/8R8wvyjaMVUeUOuA== 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 DB6PR0501CA0036.eurprd05.prod.outlook.com (2603:10a6:4:67::22) by HE1PR0802MB2604.eurprd08.prod.outlook.com (2603:10a6:3:db::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.22; Mon, 4 Jan 2021 13:22:46 +0000 X-Received: from DB5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:67:cafe::2b) by DB6PR0501CA0036.outlook.office365.com (2603:10a6:4:67::22) 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:45 +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 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:45 +0000 X-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:34 +0000 X-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:33 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 22/26] StandaloneMmPkg: Fix ECC error 8005 in StandaloneMmCoreEntryPoint Date: Mon, 4 Jan 2021 13:22:09 +0000 Message-ID: <20210104132213.22376-23-sami.mujawar@arm.com> 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: ace0ba51-b763-4699-28ae-08d8b0b3e1df X-MS-TrafficTypeDiagnostic: HE1PR0802MB2604:|PAXPR08MB6525: 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: tzHOZLUVLfYh7RhODu2QCsukCvFU+W+uRomWcfEqimKBQpVT/yqD3xoqROKTGwj8QBU9C70OTw2vp1jv1Tby2gGgjYoncoeWu+Hl18vvcew/0vYMD2r9p3B8n+dlfVukicjkKokOY5282Y7S8eS6vj1/oD3m51kabWuhTLvLutsZ2erYa66xsEC2ldfCwM2lGajpRSSVrLi6U7G/DIzlqyhWQZv5FsmrZBnm+G80unNXCI143lDWjvJWZhvmK/8gR2UTLiiIRVzVCB6BpGGwTd0T6JuJMPumAsylNSs1SfQR5kHDz2wagKJwuXH6qKVwYe3fiHFXMlnM5vFdnbBq6jBh9Hl5xxptsvb9plOeRNP1CfyBqA3b2LUwJiT1P4tZxfDXmhxpcVh8OjM0yYM6CSEbGGdZN5H1p3NvDcAxzM5TSXO+dGyckVZXeOkMDWN8DGmZO4/Bv8I70O/e5qqakiavZPXjOgVDVFz49aJHuRMtE8FMoNw0jDnCCubM03f6s0ZD1Bg/yB5evhzXMuTg481CoKM0ZGRkql7UiwHheUk= 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)(39860400002)(396003)(46966006)(2616005)(36756003)(26005)(7696005)(6916009)(70586007)(86362001)(70206006)(54906003)(426003)(83380400001)(478600001)(8676002)(4326008)(44832011)(47076005)(8936002)(82310400003)(186003)(1076003)(81166007)(356005)(82740400003)(5660300002)(336012)(6666004)(2906002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2604 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: c6be652f-97f0-4332-2850-08d8b0b3d2ff X-Microsoft-Antispam-Message-Info: abmW9xBkNFkvZwfxpsmpKcZIuGQ5uS8xssy3hsPW7nK3eZ76WWW/QC7+5nXcPpUt2SVjHNZUXVZVgJ3TkNH7afsPgN1zzAHNOoTkNNj136oeR/kKbTXyKEfrhfCMi1tjdsJNgjAXegQDfe+cT3cCrquFSGwwWY40XPxRr5uAK7I6kYhWTm0Sn5XD4W6T3CdAwjDL6SrZGVb3tbGngiE8jxK2LwsOXMMkHB3b66yrSbvuhipejHXYOwSNfU1g5kOJsPHsGbg+2aHiZkJuC8Fjm7UmZ1uzSvC9R42XJx29e2aOgOY5Wi3P3bv+yTOibqbBXfmBe8Ce1Dep6w78LOnW+vIiydXKVzRnkMvkrZTyKlexPrGfuJlvuCQQicGLRjps5i8tstb9wLrQloQAQsaA5QDVPJQ8nOUVqmZunNqQg9GvohZKH3tEx1rh+FxNcUGmYePl3zgpNNN2M1Q+VHIRkPiIs/FgEzXQc78g/W5gOiPDHJHq3zLHTuDqbxyDwTPJgzo4PVzWQaPpkW1QUel2RkO9e2MAQYRUI72l/Q90XV0= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:10.7988 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ace0ba51-b763-4699-28ae-08d8b0b3e1df 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: DB5EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6525 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: Qd9jNLRQjcASvyOtgPJvkGsux1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766600; bh=IV3ACxjApJPiDXTvtoQzu11Ohm5/a2sEzRKoatlQV5A=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Ad9MAYi1vz6tIMyxAuNcpQ+v3TKJFW1o3tXXW9+CiJRi31HeVwZ4bahlvvHPra0WO0j F5UClyVzCr2pkQOuh023GFGPyEClGIsFwXf4/I6BronaSq1eMIJWL7JIQ4N+x7a7mKvnk EgFMi8mwWYoB1VwTc4yg4EtL4M7b7qzIXVM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) The ECC tool reports error [8005] Variable name does not follow the rules: 1. First character should be upper case 2. Must contain lower case characters 3. No white space characters 4. Global variable name must start with a 'g' for the constants SPM_MAJOR_VER, SPM_MINOR_VER & BOOT_PAYLOAD_VERSION. Fix this by changing converting these constant variables to #defined values. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index d097c50360adce7f2280ea4d575971927860706e..1363d54ceebfcbc1d64ff476d4f= 33bdd626a2422 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -31,10 +31,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define SPM_MINOR_VER_MASK 0x0000FFFF #define SPM_MAJOR_VER_SHIFT 16 =20 -CONST UINT32 SPM_MAJOR_VER =3D 0; -CONST UINT32 SPM_MINOR_VER =3D 1; +#define SPM_MAJOR_VER 0 +#define SPM_MINOR_VER 1 =20 -CONST UINT8 BOOT_PAYLOAD_VERSION =3D 1; +#define BOOT_PAYLOAD_VERSION 1 =20 PI_MM_ARM_TF_CPU_DRIVER_ENTRYPOINT CpuDriverEntryPoint =3D NULL; =20 --=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 (#69574): https://edk2.groups.io/g/devel/message/69574 Mute This Topic: https://groups.io/mt/79423288/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- From nobody Thu Apr 25 21:29:56 2024 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+69572+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 1609766578700661.7046523712714; Mon, 4 Jan 2021 05:22:58 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id CUjmYY1788612xh3cog9Vhyu; Mon, 04 Jan 2021 05:22:58 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.48]) by mx.groups.io with SMTP id smtpd.web08.13294.1609766577572035678 for ; Mon, 04 Jan 2021 05:22:57 -0800 X-Received: from AM0PR01CA0118.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::23) by AS8PR08MB6631.eurprd08.prod.outlook.com (2603:10a6:20b:339::12) 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:54 +0000 X-Received: from VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:168:cafe::a) by AM0PR01CA0118.outlook.office365.com (2603:10a6:208:168::23) 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:53 +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+69572+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 VE1EUR03FT035.mail.protection.outlook.com (10.152.18.110) 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:22:53 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Mon, 04 Jan 2021 13:22:53 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 71f4100ccbe6d235 X-CR-MTA-TID: 64aa7808 X-Received: from 3c5c34aeb9fd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 96D90786-921A-4B32-82A5-43F1881BE362.1; Mon, 04 Jan 2021 13:22:47 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3c5c34aeb9fd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FKmP2QbmIHBuj1rcvwx2Tq/NumqWHu8DW6rHX9dUeSYaD9FeXRfXhuak5EPJysSAUrj4BdsbBSRtdJkf2WQaRfgzgo2zXZncwDIgD0ryZEzMbxQhfHZx5P/Klm3FWHKxegU4RhuT65PjVDwtLAX0FxEoZ1n2au8EuQ8MaJ5JX5qgYC7LyOCDkeMemznT73Rl5VtH3IyCd6JP2mpM1N2zu0TgyfNO6YLuEvvayqcfFqiIxE4qAJmtozPJZauX6bIGoB/SUOEXoZScOtk+Y4r+xOPTp91yfZfRXLOtnU1rEcqaAChGycECnB/jIvkAAjaAEKjvrqejDiubgGxf8wb3aw== 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=9GBPHPFPQhr/emvbBLDhKSl9zddFIo9OtEuD5vWvEz8=; b=gMz3Woz0/daXvvd3ZPqIJZA2QI2u9EP4/TJZG7y2CILEKXbLaz4HEfgxR/1TK/8+9dHV3fI6Yw9kvoTONMY+PnHx5s7sNypRYm2vc68DXQTPOYmfuprmFylrXRh4jWyQNDHOW1+7vvoO9DtS8F9c0TE0A6R1lL+zf1/nvseO+A9KKsAxaFxB8u2a4fxgrupRaQBJgkX1IOsSjboZcNXHXedxXaCYl2egnlJFBZW2h+tKb3Ip4HtlgPZyXJUdSh9beTocbcppEQiEXGR8XKe26JqFWJ/kGlEgruPDOBhNef116iwWrozrnFkMGLjRrASCFWfH1rfPVvLpJIJVCCYY6w== 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 DB6PR0501CA0048.eurprd05.prod.outlook.com (2603:10a6:4:67::34) by VI1PR0801MB1950.eurprd08.prod.outlook.com (2603:10a6:800:8c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:46 +0000 X-Received: from DB5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:67:cafe::29) 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:46 +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 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:46 +0000 X-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:35 +0000 X-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:34 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 23/26] StandaloneMmPkg: Remove dependency on ArmPlatformPkg.dec Date: Mon, 4 Jan 2021 13:22:10 +0000 Message-ID: <20210104132213.22376-24-sami.mujawar@arm.com> 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: 1dee0d7d-8eca-4928-2c5e-08d8b0b3d7b1 X-MS-TrafficTypeDiagnostic: VI1PR0801MB1950:|AS8PR08MB6631: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4303;OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: /yVjfx+rGpZtRSem1pfDRTCUuJKP1DxShDBVb4EJRbVsr6QncxGI7XowdWloyHV7/YZVLA5uAStb56A6w+jCG0Ln4Q6UPuC68HC6NaG2hFdodsukepuQxBn6mJSEcRU12tG7+P7TJhU3GwMydHsXLzIoth2lZ2JHRN3N/3ngLSg41KXz6aF5oFCaqZES6DaKVrz8ItnCv8f4UXhX7zZ9cdFHNNO5ow3AvzxRg/eSLnTnFaQf1IBbxvxVjELOmFwHl9GpGt5vBmAPoPINlZ4vwzhXOhAgwE3M8lJtVoSUxPwhhgyaYFqd2fjYBOAG+DahMCfv/+DVYAAFChuUDDGSGFf7d+pt1dJ4yvk3IX59tRW0dEZMtq0vk//9/qgnhvCub3v/2jPDu2Gu2H3091b1p4O/vBQoyd7stWX0RmPX7v82U5feIJQ0QV0uZ4xBoonQxWFY4eBHO8cwpRS0O9Yse32/KWcWFJO+oKk0aMu9B3PSHD4Yjk/LDejvyyt/PE+L+NJytZz2+HqSqyEswTyq/zAHALF0ckY8TBMnJZ+PWog= 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)(396003)(376002)(39860400002)(136003)(346002)(46966006)(54906003)(70586007)(6666004)(478600001)(36756003)(426003)(186003)(966005)(7696005)(1076003)(316002)(82740400003)(44832011)(336012)(47076005)(2616005)(70206006)(8676002)(8936002)(356005)(86362001)(81166007)(2906002)(5660300002)(83380400001)(82310400003)(6916009)(4326008)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1950 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 087bed22-f36a-4cf4-f370-08d8b0b3d343 X-Microsoft-Antispam-Message-Info: EgXbyEVGp3LrSUFTjT6a9OZkfbMaNyU9BKnqs2cVljYrhDySok+J8uBACku7WKDWM+ODlPWf9L8/QdoDtHbHl+WpqlFqx9uWOq99wUXoFSu+O/DGc+Bfw/X8clC1lN+BSZjBljEbkOc6iRPw4eSiFJi64KIEpRi4Q/6X/sb2aBGq++HjwTPclVP86haMPwNz69Vg8oBgpCKhG1+NdTYWWljr/4pWPNMnFJC3VKT7UA1G1PAEfGYyTz6JJdoyBXABAOwg6ty1rCpXOVsqld/hv6Uu/6uCDfKFHS6HZeXc2/jHDOUKA000Ab0vYnG2d+QkSe2nrdTrH82oMVG0Qf2l93pCsZToxrz64SBtFyTHizbGEzd03TdFoyN8HDjhXvyvyYHWDsAs46tvwB4WnP8sIiSc5B79sE/Yq2vaYqxp0ES+gs/fDMGmodd/asJAbhIIcQLQvMY9lkFjJGa6fnInVfPKRXH8yKjLF/BWXO3ux389Tq5hBd0P4lHDwdExjdg2B6Fjr7XOF7Fss7ZPW8B3IwT9HILM4gvITQfdDgxCPkU= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:22:53.5973 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1dee0d7d-8eca-4928-2c5e-08d8b0b3d7b1 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: VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6631 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: MvhhBH8tLYnV2Q2gV2mFN60tx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766578; bh=/EfWLbo+ddtbkxCm3DEJbqaBV7AFHkx71ItLB8oROao=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=BvuZWNDDYMTKhuul6XFPo9hxXr/84d2ZlHTvCdWq+xnYsi5YXlVH1MekmqDFYXJBkfE M61SBTTgVA9XgAKpAWHeYm1QaSrXvqh8LN8pH7C/DFU2CvCYLwABis6eTEq7xUc606Oul 7Ozp076JD41hG6v1oArJsn4/tu6MmXD2Qs4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Update StandaloneMmCoreEntryPoint to remove the unnecessary dependency on ArmPlatformPkg.dec. Signed-off-by: Sami Mujawar Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - New patch introduced in this series to remove dependency [SAMI] on ArmPlatformPkg/ArmPlatformPkg.dec. Ref: https://edk2.groups.io/g/devel/topic/78838418 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPo= int.inf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneM= mCoreEntryPoint.inf b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/St= andaloneMmCoreEntryPoint.inf index 7d6ee4e08ecbff3262017f2e567145a148dfe0f7..8df725aa31312383a13d5dacd78= f186049b583b1 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEn= tryPoint.inf +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEn= tryPoint.inf @@ -1,7 +1,7 @@ ## @file # Module entry point library for DXE core. # -# Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+# Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -33,7 +33,6 @@ [Packages] =20 [Packages.AARCH64] ArmPkg/ArmPkg.dec - ArmPlatformPkg/ArmPlatformPkg.dec =20 [LibraryClasses] BaseLib --=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 (#69572): https://edk2.groups.io/g/devel/message/69572 Mute This Topic: https://groups.io/mt/79423282/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- From nobody Thu Apr 25 21:29:56 2024 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+69580+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 1609766599115653.5150863693544; Mon, 4 Jan 2021 05:23:19 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id OM6eYY1788612xkNLo6LOQNq; Mon, 04 Jan 2021 05:23:18 -0800 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.53]) by mx.groups.io with SMTP id smtpd.web10.13341.1609766596441728504 for ; Mon, 04 Jan 2021 05:23:16 -0800 X-Received: from AM5PR0502CA0003.eurprd05.prod.outlook.com (2603:10a6:203:91::13) by AM6PR08MB3813.eurprd08.prod.outlook.com (2603:10a6:20b:85::26) 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 X-Received: from VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::c3) by AM5PR0502CA0003.outlook.office365.com (2603:10a6:203:91::13) 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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69580+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 VE1EUR03FT032.mail.protection.outlook.com (10.152.18.121) 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 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Mon, 04 Jan 2021 13:23:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cb565939faa5a55d X-CR-MTA-TID: 64aa7808 X-Received: from b49e98d345dd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8C428588-6479-46B2-8BDC-634CD0B2A59B.1; Mon, 04 Jan 2021 13:22:50 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b49e98d345dd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j4KFkbYVQdH+wOjMf2zJU5e6ZOA08ae5el8RC4LRz/5a+/EWp6yqaucUYuZx5KyLLycuzztdLx/KiikUtBMn3Vb6JOOYnrcFyNX3N8at4U9178DY/8/6f8VqOAiMKYCDs1L3AQldR1suSdKpLAKQeykXk7irG8NiqevMyXboitVy/fdoFpyHbnbiWOMVg0z3zsOnDSjl4MaW6z4J1tiozJ5SUNo5tT3tGkk6GKKg16henIsEEbp6GYRAoAePApAyHm0i+PEA9I2CB7Ay6bb3ELtpHESvD1Ul1amf1wfPUPhLArW/NYHo57Ov43/YdgUs08g85YJx91tIK3ZDRJDa2w== 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=Gc/C8XxA3fqD7/4Pd9iezkUVh+U+3ZcaaJbVOwkqgow=; b=H2tP+mX1jWXjC/jggtiUJ3X+aeo/LsuBTWzXfSBEHO4kpw4YC9zwxzckHi9uOSEeA57bTMHLvc1dh/H6DK/iE2vRcu4ga0Vd2hs+LcSrYuSEek/3x52aM0dwpCRnnUjGV34t4aPHB7iEVdavYEhL67BGCgThTTFEm3pSeCqAUFWWMPKLPzibr1TIKNrLioLWdquPjf+errmJFl10z6oWUnaa/IiZwGpwGjKdBon9DHGSFNjQNJT72oFWqalUNKB0DhKujRfCNH5GreWkrThj8rXZ0YqhAf5HGqGLR3kccn92vZ5/glIPaR7IEyeiXZBit9N7u1UbAMThX75tV4Dojg== 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 DB7PR05CA0070.eurprd05.prod.outlook.com (2603:10a6:10:2e::47) by AM0PR08MB3236.eurprd08.prod.outlook.com (2603:10a6:208:59::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:48 +0000 X-Received: from DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2e:cafe::47) by DB7PR05CA0070.outlook.office365.com (2603:10a6:10:2e::47) 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:22:48 +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 DB5EUR03FT038.mail.protection.outlook.com (10.152.21.84) 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:48 +0000 X-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:36 +0000 X-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:36 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 24/26] StandaloneMmPkg: Add EDK2 Core CI support Date: Mon, 4 Jan 2021 13:22:11 +0000 Message-ID: <20210104132213.22376-25-sami.mujawar@arm.com> 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: 6bb8defe-d318-45f5-5493-08d8b0b3e2d5 X-MS-TrafficTypeDiagnostic: AM0PR08MB3236:|AM6PR08MB3813: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4502;OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: SwutwoSmqQakSqwSncu3mpDDtFxyUT8uq/JMrglWfGXRbUn1tl91gWmSwkm4sPvReqdp9JZOQJpDN1RGpJGLNB5LXErVnS3NLjGzZcaZ28vGLfMa2ECc4VGStgFCvn4+WfNkcmbVEYe3w2YtxbPBpUojXYZkcw0BZ7c+oRjLBbDfFeJ8dDV3fvq2SAgjA3dZUUlg6UDFGGeheRezSPsd8nji3ttSoQMya9rr/lKg12UaKPeILPkOyGvFnfLj5aXIW3C/K0RxVfJlgSZtWZy2RcKA4nw6aoR3ilwzi/HMsMidfXBheJLLDE0ZyTc+EgOYpDn+eRS7L1x/0f8NY7eIYtpv9T7jUU3zAXuEto5iip53wnw9TUVyNa9+poVNlNlyLN1cWkdg3YBNF3kuMc2II4vZ2wEfQ4DbRCRMSwUJNEmpcbVjKZ5stoKSXaTCryZ0iUJKFzmfeWItFTpshUFkdjQjxyQ6aJxEnSafWUsSvABvICQ3qedqFD8xakgw8TtuW4Cr4P4Alziw2uVMvZcdWBpxUasTfIPWD0bNatpwkx8= 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)(376002)(39860400002)(346002)(136003)(396003)(46966006)(83380400001)(54906003)(81166007)(6916009)(70206006)(36756003)(70586007)(336012)(186003)(356005)(86362001)(82310400003)(82740400003)(7696005)(8676002)(316002)(5660300002)(4326008)(478600001)(2906002)(47076005)(966005)(8936002)(26005)(2616005)(1076003)(44832011)(6666004)(426003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3236 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 22c0afac-e42d-46cb-c99a-08d8b0b3d4a8 X-Microsoft-Antispam-Message-Info: bczRUhrtHE6Isj6JDkXwc7hGEX5SOUtEQoN9ARFbnHqow8HgRegvjFlCCdV5PsL+Z11oWqYqJoMqO+x/X83NNr73pVnauquJXfiDrKGBpYVQRzN8JFXieMIPWNFtWYyPJtZgFnNQRhI7OomHXSf5zgZx8st3aMNX7EqMcs2R00HHjuxX3HgPppl7qaZJUwnl72Tp8LuEyLO5ofTKnhDe/04W7Xw5CjsFkGXcR/co1upLzHlju1JpWzqPOtRAtZf4gaApw0YMvecnEm4j/aEXIPru85Gw6Rr44dl86bNfMCaS01Of08qrtPjpvl8rGdelgUCRhS0CKbWTH0f1s54aHfAv5AdkmtgxGoaGheNz3BS1hGx+tBHQ39ROyS3CYxnt+QzAIvG/48nW/jBUApHoJu3Md6UAcNwIq1UEt3cccM9rzCMRXSE3slB6mM3RPCogbeYRPb0SqmKSRxEzEB0pxaNzCTdUeuFtW+gOYr8TGTQcf4s+GYlmU/KDCAvkV1N5NazyPphu8Wtb6ApmKoRtnkDYBsSG/WVawjy3GRGueqY= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:12.2901 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6bb8defe-d318-45f5-5493-08d8b0b3e2d5 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: VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3813 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: 3MUr8o2AVVfTzwO5PAHyDdy8x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766598; bh=SUb2wbAOlnUw9NxQj0r+gcPeZBSDMgEETgBlKVFvhJQ=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=N8bYuIWp44uBHfE0um2NOrWRl0xHUNjuF4Y22CCucERDVdGKbnJQZHll0ckC5H2ZGMo OPTN1G2rIWnAz/UWUPzNBv/X4vlYTCJT7EQEnqxbSOty3QPK/Akde4LFL7qqGl/0j+vK+ s9qqouNNYeobOzeb2lalQVKSucjoKxI/J+c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) The TianoCore EDKII project has introduced a Core CI infrastructure using TianoCore EDKII Tools PIP modules: * https://pypi.org/project/edk2-pytool-library/ * https://pypi.org/project/edk2-pytool-extensions/ The edk2\.pytool\Readme.md provides information to configure the environment and to run local builds. This patch defines the necessary settings for enabling the Core CI builds for StandaloneMmPkg. Signed-off-by: Sami Mujawar Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - Remove dependency on ArmPlatformPkg/ArmPlatformPkg.dec [BRET] - Updated based on review comments. [SAMI] Ref: https://edk2.groups.io/g/devel/topic/78838418 StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 84 ++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/StandaloneMmPkg/StandaloneMmPkg.ci.yaml b/StandaloneMmPkg/Stan= daloneMmPkg.ci.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cf754e67e23f1e86640ed909062= 8ac4a64139a2d --- /dev/null +++ b/StandaloneMmPkg/StandaloneMmPkg.ci.yaml @@ -0,0 +1,84 @@ +## @file +# CI configuration for StandaloneMmPkg +# +# Copyright (c) 2020, Arm Limited. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + ## options defined .pytool/Plugin/CompilerPlugin + "CompilerPlugin": { + "DscPath": "StandaloneMmPkg.dsc" + }, + + ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin + "HostUnitTestCompilerPlugin": { + "DscPath": "" # Don't support this test + }, + + ## options defined .pytool/Plugin/CharEncodingCheck + "CharEncodingCheck": { + "IgnoreFiles": [] + }, + + ## options defined .pytool/Plugin/DependencyCheck + "DependencyCheck": { + "AcceptableDependencies": [ + "ArmPkg/ArmPkg.dec", + "EmbeddedPkg/EmbeddedPkg.dec", + "StandaloneMmPkg/StandaloneMmPkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "MdePkg/MdePkg.dec" + ], + # For host based unit tests + "AcceptableDependencies-HOST_APPLICATION":[ + "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" + ], + # For UEFI shell based apps + "AcceptableDependencies-UEFI_APPLICATION":[], + "IgnoreInf": [] + }, + + ## options defined .pytool/Plugin/DscCompleteCheck + "DscCompleteCheck": { + "IgnoreInf": [], + "DscPath": "StandaloneMmPkg.dsc" + }, + + ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck + "HostUnitTestDscCompleteCheck": { + "IgnoreInf": [""], + "DscPath": "" # Don't support this test + }, + + ## options defined .pytool/Plugin/GuidCheck + "GuidCheck": { + "IgnoreGuidName": [], + "IgnoreGuidValue": [], + "IgnoreFoldersAndFiles": [], + "IgnoreDuplicates": [], + }, + + ## options defined .pytool/Plugin/LibraryClassCheck + "LibraryClassCheck": { + "IgnoreHeaderFile": [] + }, + + ## options defined .pytool/Plugin/SpellCheck + "SpellCheck": { + "AuditOnly": False, + "IgnoreFiles": [], # use gitignore syntax to ignore erro= rs + # in matching files + "ExtendWords": [ + "Bsymbolic", + "FwVol", + "mpidr", + "mstrict", + "schedulable", + "StandaloneMMCore", + ], # words to extend to the dictionary for this package + "IgnoreStandardPaths": [], # Standard Plugin defined paths that + # should be ignore + "AdditionalIncludePaths": [] # Additional paths to spell check + # (wildcards supported) + } +} --=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 (#69580): https://edk2.groups.io/g/devel/message/69580 Mute This Topic: https://groups.io/mt/79423294/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- From nobody Thu Apr 25 21:29:56 2024 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+69579+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 1609766598615333.8512638484548; Mon, 4 Jan 2021 05:23:18 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id c6ZNYY1788612xadrhrKnD0A; Mon, 04 Jan 2021 05:23:17 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.60]) by mx.groups.io with SMTP id smtpd.web09.13177.1609766596391457014 for ; Mon, 04 Jan 2021 05:23:16 -0800 X-Received: from AM7PR03CA0027.eurprd03.prod.outlook.com (2603:10a6:20b:130::37) by PR3PR08MB5723.eurprd08.prod.outlook.com (2603:10a6:102:89::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:23:13 +0000 X-Received: from AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:130:cafe::51) by AM7PR03CA0027.outlook.office365.com (2603:10a6:20b:130::37) 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:23:13 +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+69579+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 AM5EUR03FT013.mail.protection.outlook.com (10.152.16.140) 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:13 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Mon, 04 Jan 2021 13:23:12 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4de22b74617d27ce X-CR-MTA-TID: 64aa7808 X-Received: from 6ccda93495df.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AAE17DF3-9E57-4449-A1E5-8E107E756056.1; Mon, 04 Jan 2021 13:22:51 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6ccda93495df.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KEIQtKk45pahT+DFcQRq/tT9UhXoZH3IJmQBvt4EuEXbfvbhIgUHnLFkoe7BH8jYj057aZGKPLjwNZoxzSmEuFUWEjrlfsaBrBDtA1TG1zoLcJCxigg2S4SbooZ7yV8jzuGkbU+48AiVL3sk5GRE9KU4rcj6OiRHMxh9ZM6dDi4EFR/n/f3f73+KlnaF5kbq7djdUvUx7CS3js2AnmYz1ZN+ad7SQOEbIKe+DG/voyCr5TMsHaA4WOwd5GkxUdTG48498SEEXLOce9oMQxsyM3eHk3URPEgvLg7vxul7yNAbigdSmrhhPx+RSKX4Sh50zKQmIw3/Kj96dGv1QL5ZlQ== 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=iWWKtZtOlGXGSrBDyxvNWVgMDFItiezo7CFGhG21rac=; b=lcPQVDRjJ/zXxlE1ejdpqhNm1Zd+oX4Z1nM+AT1LoZ/PBmrZuHhsdleF0IAHfdPTTjN6pILZ/eRo2jAI6DZuPhLNw1x532zFwueUS2E19iyjFm+vDHPusQL0JPPw+A72rgXr38H/itCoI0fTVsZungIeyNcch1CNYzXxtF3YGU1ZByKDQkLvljm7RnRZXh532ZskwFoSK1kzrNa+01YIt+HNB/WsUjMwP0ZRzroOKf5xJoD41azscPope64DlmOqG+IkwXPbdmlKxZJFcYeDugzPGES8vAP9w3MmR8AtfKHz9tPgaIuERMKfNF9EeRDUoD/jlKeMKdrH1mF0KuY1Fw== 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 DB8P191CA0012.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::22) by VI1PR0802MB2606.eurprd08.prod.outlook.com (2603:10a6:800:bb::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Mon, 4 Jan 2021 13:22:49 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:130:cafe::c4) by DB8P191CA0012.outlook.office365.com (2603:10a6:10:130::22) 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:22:49 +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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) 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:49 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Mon, 4 Jan 2021 13:22:39 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Mon, 4 Jan 2021 13:22:38 +0000 X-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:38 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 25/26] .azurepipelines: Add StandaloneMmPkg to CI matrix Date: Mon, 4 Jan 2021 13:22:12 +0000 Message-ID: <20210104132213.22376-26-sami.mujawar@arm.com> 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: 2579c689-09ef-4db7-9a66-08d8b0b3e35e X-MS-TrafficTypeDiagnostic: VI1PR0802MB2606:|PR3PR08MB5723: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:257;OLM:257; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: tNlbJBp9JTBTscYez88mKLBNtjVFvEEUXvYhu4Aw+ToJWLtQpwAbCyp4Ab1lhH39LEWu3uhf1tqdtBGy4JYwOgU0G3kzbrvOWsd2rOMYe2rZVzaHSmFYf3vYMGHFz5EgO02+p5L4QYJgE76lfS6V8bNVZ2Pr7WSy21z2gN7ky5rXr5FJWL/7ycMUuKfK7nQ991HBptc5+bgTKiFO39WLd67kQp6j0pqS1AuX0yqCV+5ehr529CRD56Q5tTVexno2m/O4DhhmDisKkmIO0A3JveSlTGaSGkJztfh5qw40fCDs0REjOWEsrqgglmTrXoXoxBt3ivsy0YHL55PtiwIKMWvH8pLkmUgNDcVd7b0BIYc4xg455YEo0IThAZ3FMMk7KrQKjau2LKANmr0QCGq0KNYb46lzRWq04AdckYXJKGDRxGkhVCTdJIdGTKzh3EeVNepw52N9oH+tu15whFXXDcaaDm6iignPFlfNhbejhVUYAAaDjtpMVf2iOBwz7Nc6+4cL2Uy6lmmVZOT6PB7d0T11ujkSbLeEQbt0zwRBOUk= 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)(396003)(346002)(376002)(136003)(39860400002)(46966006)(6666004)(8676002)(336012)(478600001)(1076003)(966005)(82740400003)(54906003)(86362001)(70586007)(82310400003)(70206006)(2616005)(2906002)(36756003)(186003)(5660300002)(44832011)(426003)(47076005)(4326008)(6916009)(8936002)(83380400001)(7696005)(81166007)(356005)(316002)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2606 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 344f588a-2b65-45b9-9d45-08d8b0b3d501 X-Microsoft-Antispam-Message-Info: 41/LwTAn6zLSZvf+uWvUkFBk2xlF6qFnhG74VzI+HWBSVUMS1WYZx80DgnP7uzBCJl1zIjAI6mdPb30+norIleD5LIerhu24QGA6x3ytn5F3vo5H+EMg26XXrvbmS0ny1LYT9Zm9rYrosE7Cf8J6/nkaIWssax4lpYTOnpSQ788GCQFlNS/IuQj3VAIDhH003qkt9GL5CmhH3O4fwKnLr8VKZsihBro7qL2Nc4xo6aex2/qJwp+HtlWgipMi/UXIRB9E4E1aHSiXUGUrDls1whNsFnFElC9uwLCSPzLbCajVQ2w4Kj6dGvjAFVAvhL9KnW3UMZ9not4IV35ctBsLY8KaTk0tx2QgSsVgE6pKZOb93A3YhYq2RPvSvA08x+Nu5ishzMb9MzvaCuPj0ACbH5K0/cV/JQiTAOonH+JjupDsmxdwYxhzB8IyzGag5EZcPH66qyShHbygnCGXzjoI+B6k9gOJ28llaOPw6xgnHpZFa/W0t16DuIBsv9Hd4Usop1kmvBo7yg/fYpWegO3wcDzusKOSWf0vPJlyCIRJct4= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:13.2568 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2579c689-09ef-4db7-9a66-08d8b0b3e35e 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: AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5723 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: 8r2M3VesKfWs4SxpZYSA1WVyx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766597; bh=QV8baA06jaU99xOC+jkuS7iwCm57maSIb48E8ru6Juc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=uJ0cab/qmy/s3qqY00GZ8KTABmJrqYjCeViVF24RpbVI2kSAwGQ1YTKToNUh528u4l5 +SmyUeCyC/S9sfBltHxZTMeaC0IGQWXloOtwTclHu3wBZLL/j8aPBaUug0BXuNoHcm/yi 8jEeVxWqvP2xc4q4EaFSeIMqBxTMh7pi22E= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Add StandaloneMmPkg to the Core CI matrix. Signed-off-by: Sami Mujawar Acked-by: Ard Biesheuvel --- Notes: v3: - No code change. Added bugzilla ID and resending patch [SAMI] with v3 series. =20 v2: - Add to the PcAt and Shell target, to keep the [BRET] builders balanced. - Updated based on review comments. [SAMI] Ref: https://edk2.groups.io/g/devel/message/68603 .azurepipelines/templates/pr-gate-build-job.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipeli= nes/templates/pr-gate-build-job.yml index 10df21b041a670419e54a3d727bea83f0cbda157..1ddeb70200d50e95decf95a6b83= 4574f16da46c4 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -34,7 +34,7 @@ jobs: Build.Pkgs: 'NetworkPkg,RedfishPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' TARGET_OTHER: - Build.Pkgs: 'PcAtChipsetPkg,ShellPkg' + Build.Pkgs: 'PcAtChipsetPkg,ShellPkg,StandaloneMmPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' TARGET_FMP_FAT_TEST: Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTable= sPkg' --=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 (#69579): https://edk2.groups.io/g/devel/message/69579 Mute This Topic: https://groups.io/mt/79423293/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- From nobody Thu Apr 25 21:29:56 2024 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+69577+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 1609766597189956.1387306606381; Mon, 4 Jan 2021 05:23:17 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id fTUCYY1788612xe1WmaPDsXJ; Mon, 04 Jan 2021 05:23:16 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.44]) by mx.groups.io with SMTP id smtpd.web11.13275.1609766595881438477 for ; Mon, 04 Jan 2021 05:23:16 -0800 X-Received: from AM6P193CA0125.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:85::30) by DB7PR08MB4602.eurprd08.prod.outlook.com (2603:10a6:10:73::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:23:13 +0000 X-Received: from AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:85:cafe::f0) by AM6P193CA0125.outlook.office365.com (2603:10a6:209:85::30) 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:13 +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+69577+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 AM5EUR03FT056.mail.protection.outlook.com (10.152.17.224) 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 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Mon, 04 Jan 2021 13:23:12 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f7da489c302ac580 X-CR-MTA-TID: 64aa7808 X-Received: from 00b5e7907a2b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0CCFD769-31A6-4697-994B-BA5BFDECFF0D.1; Mon, 04 Jan 2021 13:22:52 +0000 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 00b5e7907a2b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 04 Jan 2021 13:22:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U5Rg9+hYgjVpF7OGRUv6YcEnxPsQ1fMUszV9cz3qUYlZZkwb1GgaOAvBfxSWiy4GmPBXCUatJHqWYs48JgdUFv7R/lBPhHihAe/u4TXO8EXUXLzcH2bRSNd6qXvVP10R1l/4yZssfyXgxz1r8zz3MH62iheK0sWxqewNHlYuKurcU4KreUA7WnD1jDHcoM8bifeIy4+P0Mu2hw5kHNxLdRR3Lrjh2npsSURfV8ISdOxUDK2Ul0vCe7N8Y6PYhKKdWaeISyKGF5K79W6xP0qNHtrR0b8NEYHicT6ZycPYkINHTyna8arxVuc27F3VfgTWv4IYmdKsq92vpsIE2srDhw== 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=Nj+6RGuiCfrfc+eepltbkRZaPZSTAz6Ife2lQFzDRpg=; b=AIDOFm4xxidH3+QGRFDobtB/HgG4eMHe3rhu1zhg0u7KMGEL9ie0m84KBA5JYU+GGOx0E8Ou+VBiT0COH7grSQqdhCNIBfx6zQCMsyvfLDR0jfmKhMF8+lal06Q51vwJCRiJlwAv7YcZAZwD+EJ6Oob+sV6JEAFo60pnegV1i/g7Pmxwclle5jZqQz8HlDDq25XzERtvW+vgaLoHa8XyO1E/V9zNmkhrNGZNx/MNnjhsA1xWfHcU5/RlxtbRyKP3ez5pFVrLZp1taMLYU5PsNXDvPXohCJOoNUq7LU5jta2Lh4yA8Nh1S//OYzVILA5Q8YWmmktxqHKgLvv/snb5zw== 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 DB8P191CA0006.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::16) by VI1PR08MB3149.eurprd08.prod.outlook.com (2603:10a6:803:41::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Mon, 4 Jan 2021 13:22:50 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:130:cafe::24) by DB8P191CA0006.outlook.office365.com (2603:10a6:10:130::16) 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:50 +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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) 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:50 +0000 X-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:39 +0000 X-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:39 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v3 26/26] .pytool: CI Settings to support StandaloneMmPkg Date: Mon, 4 Jan 2021 13:22:13 +0000 Message-ID: <20210104132213.22376-27-sami.mujawar@arm.com> 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: 0a20cc15-a0f0-4375-bf26-08d8b0b3e30e X-MS-TrafficTypeDiagnostic: VI1PR08MB3149:|DB7PR08MB4602: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:480;OLM:480; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: fuDReLrEX8+avqwrX9LMZMQvpDM80h0znB7PhU8hQCdQomZX3cDPZi1bIX4usjEk4C0sxO3Xvn4ceQDObS2tx5quPLrM2T0cDC3V3v8Fy2rtmKhw4Zz4LupPFfKeBKSDO8xvFR0jetURZVQXcX3iG5vLJ1KBqdbvsNSc18KA/IOMKzuq3s4JcfHLFDE0F3Zho8WCnwLOfEqrvjyrOaBRks0f8CbRQLEuKs/PzfWLeU7h4Bf804xFRRKsC7MiAuU3aG2AIGlnSrSTH9EYfFVQ4MHiSTdsclxwTioHNFb1o5vemPM7M6UHZeAU1lYSkGYIqMar7GBbFzYsr6kYnbNV3aq7AYVLNaipyJbCcJrM1T98EUgd/wDy3uUvWtECtpveQ7VEdtjmGOBw5egsMP7PM6gs/h8AOGPw5UxfkAm2Q47vwQ7XZVZKU9bjVsuboP+zlxVVQ1Z0ptYDAiRQum9CkNGy/ETVxoLDPWhxBn8V1wGMO12YMdT4qNaZDA48Ni9EMdAwLEWU4eBCY54O9r8kAoazKPeUByjuP4tZIBHz5tw= 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)(396003)(376002)(136003)(39860400002)(346002)(46966006)(2616005)(83380400001)(86362001)(6666004)(2906002)(4326008)(8936002)(426003)(45080400002)(336012)(5660300002)(70586007)(478600001)(70206006)(186003)(44832011)(82310400003)(26005)(47076005)(81166007)(356005)(82740400003)(7696005)(8676002)(316002)(36756003)(54906003)(1076003)(6916009);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3149 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a5936868-4096-4f58-40ac-08d8b0b3d583 X-Microsoft-Antispam-Message-Info: zkJdVIAJKbnaq+TrFuIOFXSIvVwHi7vL48wHFDbUU8GCjiS0XZpzRiWejA58+xH1UgGtUBUONu92suJ2ovED5jHZC2uLO2MijiLBdqaie81N67yPlFDS4IeaROp/3io2WFjQ6OpyFltx9BQaAO3s7/rFGI5o7Zbj08oYD25NsaCJAMNS4vd0iuz9vEuWAb88gsSaffDW4PKeS7L2gs0/abVfNrsGGhzNe1xL/Q7uoEsLhyEECCK3GkJRjR+IZgQ0IyvQmjiHuR3KN9eOLYLYua+Pz1+rdNQh9KxWR6dTzCuOx+cC91lFoQDnRKUmXI8fMTc49tSMifki1ARxxkv1Ux0zoIaeAVD3QsOGes7jujLThcywCmN0cPAX2N+Lc7gtEAxpQuGuvy3qUFp6L6GKvAsD26Ya+zVSk6+A0jovMAM/fyWDaVS+6gBD7Q+rVZg7+AxUPaTHgNhQf1Ig6rT78PSVVsRDbJt67M0hAF9sqoEg5Tltb7+FAWhQHvNsPSx/wSfBtck39JWEexO5ZgGKZNNLzLT4SfqAaMdN3A8Iwgc= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2021 13:23:12.7334 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a20cc15-a0f0-4375-bf26-08d8b0b3e30e 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: AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB4602 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: Fl9rxYkAC2hjZ5gzRct5eAy5x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1609766596; bh=3ISHTgqMmIqTJcTs6gQsWQJM8waRoVWvOB7AkScQmAg=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=kD5tCNDNND7T27HzTUI03cVk/u8DKW86tMJf2nTEcgmrCBFj9HJ5E55R2oCYggY1dov Isb/LeYtUFABDZbE32WVEO6zhCA/r2KzC/HYxQPywtep4uHD98FCMnaOhpNuWvJaZVx9G uwmBuzfI1MpfQ10nlDSWXhRfOpdAkkdRa4w= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3150 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3150) Update pytools configuration to enable StandaloneMmPkg and update package status in documentation. Signed-off-by: Sami Mujawar Reviewed-by: Bret Barkelew Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel --- Notes: v3: - CI runs in Windows and Linux both. So, readme.md needs [LIMING] to list the check in Windows column. - Updated readme.md to add check mark in the Windows [SAMI] column. Also added the bugzialla ID to the commit message. =20 v2: - No code change. Resending patch with v2 series. [SAMI] .pytool/CISettings.py | 1 + .pytool/Readme.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index b337d046ae08acbe8e587ff42b56f6fc9ce30930..0748c3f45fecf9256738ed5d233= d69732d4fb5be 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -52,6 +52,7 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMana= ger, SetupSettingsManag "UefiCpuPkg", "FmpDevicePkg", "ShellPkg", + "StandaloneMmPkg", "FatPkg", "CryptoPkg", "UnitTestFrameworkPkg", diff --git a/.pytool/Readme.md b/.pytool/Readme.md index 2fc905b8674fc217044baa2ff721f3c6afa504c9..e158b2b81a34077baa23a78c73c= 3965364e60bfc 100644 --- a/.pytool/Readme.md +++ b/.pytool/Readme.md @@ -24,7 +24,7 @@ | ShellPkg | :heavy_check_mark: | :heavy_check_mark: | Spell c= hecking in audit mode, 3 modules are not being built by DSC | SignedCapsulePkg | | SourceLevelDebugPkg | -| StandaloneMmPkg | +| StandaloneMmPkg | :heavy_check_mark: | :heavy_check_mark: | | UefiCpuPkg | :heavy_check_mark: | :heavy_check_mark: | Spell c= hecking in audit mode, 2 binary modules not being built by DSC | UefiPayloadPkg | | UnitTestFrameworkPkg | :heavy_check_mark: | :heavy_check_mark: | --=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 (#69577): https://edk2.groups.io/g/devel/message/69577 Mute This Topic: https://groups.io/mt/79423291/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-