From nobody Mon May 6 18:58:59 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+68572+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 1607539679032266.5402671000784; Wed, 9 Dec 2020 10:47:59 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id dIcUYY1788612xUzFVzghKtr; Wed, 09 Dec 2020 10:47:58 -0800 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.84]) by mx.groups.io with SMTP id smtpd.web09.456.1607539662673640785 for ; Wed, 09 Dec 2020 10:47:43 -0800 X-Received: from AM6PR04CA0056.eurprd04.prod.outlook.com (2603:10a6:20b:f0::33) by PR3PR08MB5628.eurprd08.prod.outlook.com (2603:10a6:102:8e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:40 +0000 X-Received: from VE1EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:f0:cafe::9b) by AM6PR04CA0056.outlook.office365.com (2603:10a6:20b:f0::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:40 +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+68572+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 VE1EUR03FT014.mail.protection.outlook.com (10.152.19.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:40 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Wed, 09 Dec 2020 18:47:39 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cc80c7c77c54e2a1 X-CR-MTA-TID: 64aa7808 X-Received: from b9a644d8b02b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B46E04C8-52F6-4991-AB9D-DC631C3251E3.1; Wed, 09 Dec 2020 18:47:24 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b9a644d8b02b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KXeBrzotGwSNtnasgsT9NclMAUOmKZJXsKAkfqUDjrx5y62fnBrPvVOtsOoE/A79EL1HjfqO4QXvI3Oeqz0f2FNpR+0yZg82c01zksDsvnajMUATdufF5fGSix9CpZGEjD2bKCx4tlvt/NpZYh/xiN15JSKRznS6k/yhfsPlND5E3yuerU8/BofmZIvp6YfdT7nQCgZZiunOTVVpuF2xKoVfscMyDH6VDXfuxAAUYEW8DqYGrHl+30dT+ez2xbPl0EecANgRVm65FzQOvetlT4P7v85WUPAWhSbUq1vqw+qOFmWySW6g7lEtDGsQK53VIM60mZnkv0gY+Nw/IoUMsQ== 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=Z9/vml6SvvphfLNM4taFKxYayXwtvQWRm1L3YY+rOnc=; b=PBbFnsINxzhNsPrgZJXSHQqG9iL2gSCtyJ8YiyrMq6/QnFxfP2ERVDMlhnuDo6ca/I+cXc5lzHepW4Rf454o4tCgkecch1dJyedL/Ia/Cerdo9kvRvQehTz31aeA0ZCoawxH0aIi5aE0+Qg4XLxs9XZ4S0tohuBu6zsZ7k7XqGRgJE01WlLm/GQ9ikyqZcEsLAqJW5MGXA0bqk43m42r7ZW561/UpCUcq8Qh4C5BIgCxbJB3i6XKFk/2pd+8zcXx5ZqTul7g434lOZhxr7aOzGOiDHrhFqMR1+xZgIaNFqlQ6tKlHqL+01xjtwF/7uI9j8PyMbNZvzXXS2wiFIdxBg== 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 AM6P194CA0052.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::29) by AM5PR0802MB2450.eurprd08.prod.outlook.com (2603:10a6:203:a0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:22 +0000 X-Received: from AM5EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:84:cafe::7d) by AM6P194CA0052.outlook.office365.com (2603:10a6:209:84::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 AM5EUR03FT041.mail.protection.outlook.com (10.152.17.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:22 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:12 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:11 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 01/25] StandaloneMmPkg: Add library header files to DEC Date: Wed, 9 Dec 2020 18:46:46 +0000 Message-ID: <20201209184710.20912-2-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 953b8a48-a8ab-454a-af96-08d89c72e7c3 X-MS-TrafficTypeDiagnostic: AM5PR0802MB2450:|PR3PR08MB5628: 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: D8zRl5JKiumym5C6cZmcd8+6R4LnSCLXmkUSPeGrHW76JzTCzGHlwUETxTztkVKieITHno8zSX/QLX4keY6lKlrbLtQwhg/C16nZENUIhSeJS/OlR9HhJWS1Gb2p/9H65GvHilAhQ9QKeR/Z6PoSELjcwHk3ZTVg2r7ZnJjoHODgTobusXiD/TVXxNrEB+r+KApSihziYrO65sN4iQDBbOpqVTfgBvDgAuiLHRnzgIW7wT4MaAJnfsL+mCgDFcMsVUbCbQ1UnOmOk1IQrPt0LI7FqJ/7NLOk+rwrTZuJDWQWvWXVFNVa4W58i7MLWumI7eNv49Iew06XkVJdaVPnfHITIRKbqYiED/z1Eq4xNljUEn+editpj3uQg55yJCFE6u2Fgj1bU/Nnp6vNKu0Zag== 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)(396003)(376002)(39860400002)(346002)(46966005)(5660300002)(1076003)(70206006)(82740400003)(70586007)(86362001)(316002)(54906003)(47076004)(6916009)(478600001)(83380400001)(4326008)(8936002)(186003)(426003)(8676002)(2906002)(336012)(7696005)(44832011)(6666004)(26005)(36756003)(2616005)(81166007)(356005)(82310400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2450 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 33ac5d1b-bed1-4b36-0671-08d89c72dd5b X-Microsoft-Antispam-Message-Info: D+aOykHhUnHRopvltdgrXUbUl15rSuo0FOCI5WUcn9XFYYzZJQqa1V2exhaJXUpg1vAwq2ngQBgIFOssEh7ap+2PndwVec17B6HJJ+EnOy/Ker8Yc5UAj1Q37uY7duWFWZ1+lzlRgc0AavE/fKoQl7skr7dOzzWKMTuFsQL/zsL6TUt7BCyX0a4ztsDmOJqaKabsnkxLgqmURiW4FwR2BlC0EJ5VRzrYy8+s2kBoJAeRo8zn4cjkPWtxTbdscKAUb6Keo4MOyAVeFY3MioRdaYOcnCV4ECb1T2zOg+HMG4VXD6RLe2vQmkQXHZmcT8l8b4pbuoP9hLNWlq+uEaCfjA3xs7s80WBNSX+4HoW5K7Gop3d8x6Nb6yvieY4ZnEokqWdOVW4moWt6bnDVDimlnA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:40.0042 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 953b8a48-a8ab-454a-af96-08d89c72e7c3 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: VE1EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5628 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: iCZH08xsE4DWnS1okX7NtUTCx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539678; bh=4tpHt+hFWvYHnq3zmITDGi/+IaJYeRXUPBDOG+MVRGA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=SMzSlWy3Q70EylDZCIcs+9FAdpvZzgoXM9CRP4H7AQnVfidY/vK6zBrMRMKnwYPM8eB KkEWxhBrLwJNoHUU4GpA2ZHWNR7gJOUomJYz9+MVmrlph04CvbldFBXgzcvRgcxq2RXXC tzTtai3Ypv8cQd3vIKgQp5tJAWWOUeY0fNA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68572): https://edk2.groups.io/g/devel/message/68572 Mute This Topic: https://groups.io/mt/78836539/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 Mon May 6 18:58:59 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+68578+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 1607539688812701.9551724200652; Wed, 9 Dec 2020 10:48:08 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id zP64YY1788612x3OJuATYoHm; Wed, 09 Dec 2020 10:48:08 -0800 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.69]) by mx.groups.io with SMTP id smtpd.web12.457.1607539665600855927 for ; Wed, 09 Dec 2020 10:47:46 -0800 X-Received: from AM5PR0701CA0055.eurprd07.prod.outlook.com (2603:10a6:203:2::17) by DB6PR08MB2693.eurprd08.prod.outlook.com (2603:10a6:6:1c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.22; Wed, 9 Dec 2020 18:47:42 +0000 X-Received: from VE1EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:2:cafe::34) by AM5PR0701CA0055.outlook.office365.com (2603:10a6:203:2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.5 via Frontend Transport; Wed, 9 Dec 2020 18:47: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+68578+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 VE1EUR03FT011.mail.protection.outlook.com (10.152.18.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:41 +0000 X-Received: ("Tessian outbound 6ec21dac9dd3:v71"); Wed, 09 Dec 2020 18:47:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d97cfb27da3911ef X-CR-MTA-TID: 64aa7808 X-Received: from 6c55779ef05c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4E353FEF-A29B-4A6A-B3CF-61DBFE3F73CF.1; Wed, 09 Dec 2020 18:47:25 +0000 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6c55779ef05c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bAKOWYMPuvy+iq4SMaXvF4q/Rc8vYdiTFeAqUST3wNLuBTi4Xc4iKzQBYLQTZa6i1BX5NuDUp/z/lBO1MbP55PfnICUr7NvgmBNnx8IbCc85I73/ABV/qo3PNFbvviJ3DPKIFcV9PAQeM5tiXfQEWvjewc3cEwMQNDKZDh6oAiJ+Al7JgXHbQVpvosWL/+d3qljelVovOIKEayabodSqBO5vfOffRrqxiKvvCeJ05Gh3GDOnbyPeqyw6yjUpvHz5Mx+QacAePw9pLKp6JLajH17ENKS7fCOYM0sXLkwOklVt37N2FO/0UAsijFbapijX/DaFMyRtHWvFxnvWc0uL+w== 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=HuyE55NDObfFXLGf/qv8W4T2j1RmrBJaweT/qulLwAo=; b=Kn+2n9ncyIkpZOxUs+ljDCYmHwTacFzQTDtS34yt2u0T+s93nyZE97ZiwpxYS4R4eYuoky0kzaaPDu7hd6RBtV5YFHVZXo5I4joxt+0D4b86in1WuHPOVqE1Ypq6QxNpAsyRkc+dw2y3Th1qdlifL8x0di5OgunnJftWSH6WjQtCgLqqtdqEYaQ+eEQ17VCtBMGIYa2B+akA1iHQFBUyHhNIf5cmZgPDV/WVGLOeMIiQae66ltekOSDczTDPdL2q3zdQMATASZbW1uG5k6bjv5OQGBeP8LlX6UZ8dW7y/LqXCXEtwexc2VrgPzfK0na7rNs7xJ+0meWmoPJEKjKU3w== 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 AM6P194CA0050.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::27) by DBBPR08MB5221.eurprd08.prod.outlook.com (2603:10a6:10:d8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from AM5EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:84:cafe::eb) by AM6P194CA0050.outlook.office365.com (2603:10a6:209:84::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT041.mail.protection.outlook.com (10.152.17.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-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; Wed, 9 Dec 2020 18:47:12 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:12 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 02/25] StandaloneMmPkg: Add library files to DSC Date: Wed, 9 Dec 2020 18:46:47 +0000 Message-ID: <20201209184710.20912-3-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 105553d4-db76-43ae-ac35-08d89c72e8c7 X-MS-TrafficTypeDiagnostic: DBBPR08MB5221:|DB6PR08MB2693: 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: p+VzxoOfmtruCqzXdtzSxyexbEbVvmagrtKc0Wswzh57W7g/vQYOl0kOsLTkssiXk6KK9vjRt5Z53Nc3k8A57pZhahjUT8J10dVI/adUoscZ+kUo6jBEpB1cnjFoQ/VXmCQUsEK79aXqMCViLPj4XZ8NCf0ToC1H8ToqWVAi7U51cAVK5sj9+ThQa90OzTa9JOfACT+mB5x7LsVD/EgGwXLzXNsBI0winsLNsdEGqPQU3vp/QL+row85QTH0po4hhECafGibVIzvYWZHAFhHzSCy7CMzQnkoBj7pMi5Q3l4q1ACn1VX1LZQ4ZW9Pod0GQo1TMeiCGaKGzDkGgGIcTSYOKiNneEUIuWBxp+yj0e1oskwISx6CbvUdJZBHbAFeDf6Him5tv+jfrG1myGLd4Q== 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)(346002)(46966005)(8936002)(8676002)(82310400003)(186003)(2616005)(1076003)(356005)(70206006)(6916009)(86362001)(5660300002)(26005)(426003)(54906003)(6666004)(4326008)(336012)(44832011)(36756003)(508600001)(81166007)(47076004)(7696005)(2906002)(70586007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB5221 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ea5eaec9-11d6-4760-8d2f-08d89c72de0c X-Microsoft-Antispam-Message-Info: RGnYCI/xyxs8IsYZGfuOtVpXBEhfN3Pp9DLeqN5z2PlsGVpJBad4medHTCK+5PjfHUs7h3erjXy2G3e9PxWQOXMvToKMvIbZue/uqTARhBJfh/IxeZ6roT7q4um908NwF4acn7ITFr/7mwtLFPKTdQn7L5Q10xRDiGA+TKa6r77/fQcr5ikTxNoqA+EimRezOEFia+JvrUDr7t+224m02KPKVOyPIEM/kzFIZRq8FeOa2gi5+SkrqrB2z5MSG1/H9PBTmzl/f+xiymWIdio3Tg0Hh50Z1X2hL5Nb/SX0GWEbQXudOSEutx6Cg/87Sy7oj9Ffe3Ee905H+hI86B2ej91L6jmrxKkRYAMqiVHj7IvKeYUJ1/Vf0aGyhtbzxj62h8iVNPJRIVonZb+xAkr9sA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:41.7270 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 105553d4-db76-43ae-ac35-08d89c72e8c7 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: VE1EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR08MB2693 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: 4YxBjy1nztmuYzZtRUy68ymmx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539688; bh=s+fEVRguuoleBIDs8aVPirQ+Bd2AEHTp0l0gs27GYAY=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Tn6nqjfzEcLdeOX6F6SBDIcz10fDvNJ0nFf+tI5uQUvM4OASKfbURe1kR+e14D/aGl8 sRjxTu7iIfe3ynqUxEzGRLMJ4gDef5s5eA5mcOJTSr4TKeu3Icjqo9PvWAbmIh3dOSwsV nuU7rYO+KlH8B4hcfK0U1rdCG0s72d9nKAE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68578): https://edk2.groups.io/g/devel/message/68578 Mute This Topic: https://groups.io/mt/78836546/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 Mon May 6 18:58:59 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+68573+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 1607539680902727.0793095714969; Wed, 9 Dec 2020 10:48:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id XuFZYY1788612xbNu1iWlSOR; Wed, 09 Dec 2020 10:47:59 -0800 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.71]) by mx.groups.io with SMTP id smtpd.web11.449.1607539662426781884 for ; Wed, 09 Dec 2020 10:47:43 -0800 X-Received: from DB6PR07CA0087.eurprd07.prod.outlook.com (2603:10a6:6:2b::25) by AM0PR08MB4465.eurprd08.prod.outlook.com (2603:10a6:208:139::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:37 +0000 X-Received: from DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2b:cafe::12) by DB6PR07CA0087.outlook.office365.com (2603:10a6:6:2b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.7 via Frontend Transport; Wed, 9 Dec 2020 18:47:37 +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+68573+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.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:37 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Wed, 09 Dec 2020 18:47:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0d67ff8adf9ae420 X-CR-MTA-TID: 64aa7808 X-Received: from 5936ac80f374.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 93A83A15-35B1-4E3E-9EA6-4DAA6109CA74.1; Wed, 09 Dec 2020 18:47:20 +0000 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5936ac80f374.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UuDYgBJh3HRU5KDEvOmx6r1dmpg+Fg+vFNiAIIx3I//tcX5NBkr/lYkPWZ8xA/F8o4JGlM6FxBGSY6GF3ArJIe/xx9494PdlUEyMOF8zPtGyx+8rHt4MITpT/YSMzdlPNMoeTDAsK5Pfg8AdNLAJQU2+kVg9IqjiSBY8Y4Xd+xCJCPLwEsEX0iBZdJSIZJIm1rwMHhL+pKlbtdusNDYY+OVdKzE8clX/rU0/OW+dl+J/jwUZvfOVVGyC4kUQkHJXeZzi/OHsL6XxI5/T/WGNH3jIAqLZbdV89JyrJDjauoiQU3OZKclvJouvRv05JZsRIy+YbpOoR+GiodqyFCBx8A== 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=tz8QMvGYiaU+PNKRJscGp3D0f0Z38frEJMK8Y8cUVT4=; b=Q5888G7sp4hJX5xUIHlEm7KJg1YM+BiIf8hrd81rHNi2YTvzvMBFiojU8nj0KCjyyXd2f5Q6tgjCp1Fja4TvDdhBG5FKXsALcmfCe0GCKJjhbv4Y2RO5m86hCzLaYZXx3wGGGec3xwMr0kpyYYrQCAmoeF8alzYYbII1ZBJH3mZCy4k6oQfJZ/fSnxqjZhOb6CwnjcK76ukC96FSQoY00j1gTGjGsIZ4JDulNmoD5Jb5X3zC81IbPUpvfvqdFHBq/vb+CzBv1tkXk2GbSdfGEe4fWzAFTOc9w/rhqbx1FHLMk1LiFt9uo3C4U2lSa+gUwnNYKkvnYH2dwiLD8HfV2g== 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 DBBPR08MB4758.eurprd08.prod.outlook.com (2603:10a6:10:da::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Wed, 9 Dec 2020 18:47:15 +0000 X-Received: from DB5EUR03FT064.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:130:cafe::bf) 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.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT064.mail.protection.outlook.com (10.152.21.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:15 +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; Wed, 9 Dec 2020 18:47:14 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:13 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:12 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 03/25] StandaloneMmPkg: Fix spell check reported errors Date: Wed, 9 Dec 2020 18:46:48 +0000 Message-ID: <20201209184710.20912-4-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e5deac98-3acc-45ff-55ee-08d89c72e609 X-MS-TrafficTypeDiagnostic: DBBPR08MB4758:|AM0PR08MB4465: 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: guInVRW26ZbqOujpWuQPcJ+i6X/ngn8rCC1RhtjZLT2D0H5zUnOH9ptbCduBncZDwSPdfQjcKE5y5x1j5QYfVCQ0O0ldWRcOTXa5Fal0Z6x1VoDSkqRI97TJkJCPO9R5/I3LV2EOaErJaM/lg/mcNBGD/GII6jMQ7EY9Jh3hxeRmbEX4mV/zs51PucDhZBP2zIu9nYaAgiq7pzQLHkcvvKIx2qximcWcF4xLzIYKDtAUFfFP5iOq41SylYr6EG37/07euMjcpxa3vBNo7wMrltu9uqibGpaRWP2ad6USW9BylYY2OKBV29+lJ/lUqIW6SMDA0BSXqABAGPYAaqjaCRzlriHftUn1lHfcUQLy5TqOdO/huynXlCXy1WFKaP4qZFZHuiGsaSDGBFfMEtH6bQ== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(186003)(86362001)(30864003)(336012)(81166007)(356005)(6916009)(6666004)(8676002)(54906003)(426003)(1076003)(82310400003)(7696005)(19627235002)(8936002)(5660300002)(47076004)(26005)(2906002)(36756003)(83380400001)(4326008)(44832011)(2616005)(70206006)(70586007)(508600001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4758 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: c292a5d3-bec0-4343-f5e2-08d89c72d8cf X-Microsoft-Antispam-Message-Info: dMYO7d5ByhyCL0MWWhUVB+ELILrySwBZAMrzn90wSwCWW2IGf0PbXGZIwXGnidjgsa7eW1LGg/cjJYMx/Ah7qhBRjgr85LlCK3CaIDAMBf8rXs7wr7/WvFcQcjGSkN0viRz15HI4pgWrGkmYABLF+hygXZ3isq1ELuYhhrjjhKjQ3TDBklvEnsLW3yXCivE1GekNO99PQ7q5ipP0u9ugeCIj6BnZ77Yy9nWWWzPflcwRBxxJAfm7cX5CZAz+vdMO7PVz54MqTvOSNWffqdGVXbh3L5wCd1p3GsH655uVa2aT3bKizKkDb8JqeA7f45+uSuDkihIAq8Zlu+GaP6y9YWeJ64ZrHDcyENUmDYuXqC7UjabFsmJBvgmSmf6C1nuUefSJwG4lpMGJa2bER0moLA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:37.2411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5deac98-3acc-45ff-55ee-08d89c72e609 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: AM0PR08MB4465 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: Q9mRTvEGp9XasmSPlDhRTlmex1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539679; bh=OElV3fXNxozNbDymLblF9VdVlD6xRgw8vb4hfOfBlTM=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=eIpO4t6sBIvCRIsmympe3AjJk9y/qtXmAwqkPLv5dDhAAzHqjVReSOLajQrrjVcVWVQ bbMY6W+79d9IUpvjn+io3o8M95g4uAlMmLua/1ypQIJuGZtd09Jz6RJLlYdaqm40gG8p8 Z9bfVUwbgpMw3lPRIjLqo9zvn4J+7ApCkY4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68573): https://edk2.groups.io/g/devel/message/68573 Mute This Topic: https://groups.io/mt/78836540/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 Mon May 6 18:58:59 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+68574+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 1607539683683782.0506102947712; Wed, 9 Dec 2020 10:48:03 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id jIH8YY1788612xMDdJKN2Vfl; Wed, 09 Dec 2020 10:48:03 -0800 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.70]) by mx.groups.io with SMTP id smtpd.web12.456.1607539664489368439 for ; Wed, 09 Dec 2020 10:47:44 -0800 X-Received: from DB8PR03CA0029.eurprd03.prod.outlook.com (2603:10a6:10:be::42) by VI1PR0802MB2461.eurprd08.prod.outlook.com (2603:10a6:800:af::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:41 +0000 X-Received: from DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::3f) by DB8PR03CA0029.outlook.office365.com (2603:10a6:10:be::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:40 +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+68574+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 DB5EUR03FT029.mail.protection.outlook.com (10.152.20.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:40 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Wed, 09 Dec 2020 18:47:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3ab17182b1213e9e X-CR-MTA-TID: 64aa7808 X-Received: from a194c21d3ad9.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8AEF32A0-473F-4FB2-9744-1484831B6E98.1; Wed, 09 Dec 2020 18:47:25 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a194c21d3ad9.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=drCdT08e6SyvgChufOKkF0yRfzsv/56R7FkMDrEjs16piRovLVRteQm9gxxwA8M2fDHzT9S866CFJ7F4kDPrCyIeuR0csuGcJv+29Y8eHSKgt47GR9TeVW4bOEsBoj6JV+l6eRjk5lEb1XtZWe+0Rz+Kb5qIosVsxj5Okk4LZOYQkGGzw3ZCAm+BACa1sECF8/ojSx8FUPFrjBa9JdQK6C/vwxnMvKEReSlW6cMFGmwFPqYmSIWlN8t82QzV5M5h+BgNwajNR7UlWPR/F6tap4hW+tccNBD1LAuonYz6Rmr0Pdfkj5JxAWwtiPaLzLeFu0nDNCHDCFwW25kXxcV+BA== 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=yIMm6WF7PO+wbxsLdYZdLCijSqFiDCwC0yU5/mXd5FI=; b=M+8SN3CGX7BeADPwL6PwNDKgRMlamFE2m33WtUZF4Dq9RghM0mB7ZSP2DVFGW2cVJG1GNox9jB/z1xGZWstkRCF0ZhVlzF1QCfyfttiOTpgipMCCJMwFb+E/p9hmK/Th0O5rzPPZ6odTLNeNxtmTo6ZoNzt3poTEaimrMVg/3OGzcSXPpWctMtXocKRwiuQewxtIyXl2qMV+GguBVMC6n+YShlyC+ZX/7uacOlKd8x8IVPkeMsJ7hLJNigWFLXoeoutZ2CtaT6+/lNA+34/0DLk93sFlGzSF0u6olAKSWti7RmWlgkAMFJx38kfU82FLsJIAQramN9xWocu80ohyeA== 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 AM6P194CA0050.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::27) by VE1PR08MB5661.eurprd08.prod.outlook.com (2603:10a6:800:1b3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:24 +0000 X-Received: from AM5EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:84:cafe::4) by AM6P194CA0050.outlook.office365.com (2603:10a6:209:84::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 AM5EUR03FT041.mail.protection.outlook.com (10.152.17.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:24 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:14 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:13 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 04/25] StandaloneMmPkg: Fix ECC error 9002 in Core dispatcher Date: Wed, 9 Dec 2020 18:46:49 +0000 Message-ID: <20201209184710.20912-5-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4735be54-77a0-4d20-1769-08d89c72e823 X-MS-TrafficTypeDiagnostic: VE1PR08MB5661:|VI1PR0802MB2461: 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: eSfZ+ngpeVTjP6DQA5zNrZrIfjM+YgSHhpeMGd/9VAkvvh+TlqgAEi0dg6kG0HhBrxQYDF1GTy8SEtSrC1AWysgC0x3Zz3TjmJ2zAiq9OwkhHp7pYM8dlN/yysbsfwRbphePmYSjOX15JUPqMsXRwQtl1EMuWPX34G+K2vVuLf+VYPGN0CzsCq8Xqe+YCfuGloOrCcViLGSrHM4gyDE7MTUsxm69YYOthlV+55Ke8mIViudOlEBWKw57DieULrvgyhnyP+R3rd+7AfPTTwwF+T6muc1BNOvIjSTof65+4knRWDcNoj4ek0xtofJ0Rn8jBpf/n+dVULHBFwMORt5JZPH2miNSvFePv6RGV7nxHDYK9EkNMIkzNif6GZgEKC13apb+LL0bwJx5NPT3j6D7AQ== 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)(346002)(376002)(46966005)(6666004)(356005)(6916009)(81166007)(5660300002)(36756003)(1076003)(86362001)(47076004)(8676002)(2616005)(2906002)(8936002)(426003)(54906003)(508600001)(7696005)(4326008)(336012)(82310400003)(26005)(44832011)(70206006)(70586007)(83380400001)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5661 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8c2daefb-d557-4261-5f93-08d89c72de3b X-Microsoft-Antispam-Message-Info: Pz/y5gzAZzdgc4kZgzdml1UXkysYw2sOBqBqCxtPm1QnuSKEM7KaFv91vJkv92TB0W8StJpEBExh/EJfcyp7ODULDX+m4zOpD+UmHqM8R5JLUpU+Q70paZ8MKRolMRT1gZdyDbUK1UV3ZZedZ/hUnlcaRAl7hiQUju2uv6I8y5BmBPbFN5fa2B/NYwOoui5oGFE6uTqy5VqnTFlpBzUhws2x/IPEe5JudFY0seJibMii/plLdT0/DcAkO035KcxLkpUCcD34qyg4U0b7lVv/MfsT6qKA7mSp6MwriTGNjEbZtkEZITbK75o5seECt4tjMiSlu5WYnNcMAF9MXFskMya1cn+WDZgA/EVcgUjdBSvVWdCI9/Oay//7wwC8bB6TfmvlLwVeo37NFk26p3KQKg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:40.7683 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4735be54-77a0-4d20-1769-08d89c72e823 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: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2461 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: 3gaUJCdGDxd811OqpWxrPKplx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539683; bh=Lw8pelyWmRE7ZUVifElp5MVYNISKemjrY6+2nKx9UTo=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=qutb7hTQUmquDy8Yg/u+1uz+didMpiOkziSKA+TgI8rclZonl+2UteP1ywltg7p366d rr4Jv4Z3U23cjyomzuqEiKKW7q8SxJ/NS9Nkybl6/WqpUBN2U0Qh23DQ1Z1Qjk4XKSd3y dqn2Yeg9a8U6Zzbq8w84wi9JTBVM1kRGT9w= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68574): https://edk2.groups.io/g/devel/message/68574 Mute This Topic: https://groups.io/mt/78836542/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 Mon May 6 18:58:59 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+68575+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 1607539670303153.71115695647984; Wed, 9 Dec 2020 10:47:50 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id FTcsYY1788612xSEVVHbdtDm; Wed, 09 Dec 2020 10:47:45 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.73]) by mx.groups.io with SMTP id smtpd.web11.450.1607539665066794463 for ; Wed, 09 Dec 2020 10:47:45 -0800 X-Received: from MR2P264CA0083.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:32::23) by VE1PR08MB5869.eurprd08.prod.outlook.com (2603:10a6:800:1b2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:43 +0000 X-Received: from VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:32:cafe::5a) by MR2P264CA0083.outlook.office365.com (2603:10a6:500:32::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21 via Frontend Transport; Wed, 9 Dec 2020 18:47:43 +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+68575+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 VE1EUR03FT006.mail.protection.outlook.com (10.152.18.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:42 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Wed, 09 Dec 2020 18:47:42 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cadfa89a468aacaa X-CR-MTA-TID: 64aa7808 X-Received: from 0d5bb0373737.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CC6B92CB-8F78-4283-9738-ED9F1B8AA209.1; Wed, 09 Dec 2020 18:47:27 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0d5bb0373737.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dwm+/CTgy5wkpGTmgX2Bcyy5XGrn7vBr/de9GX5qKtFPoREQSbOrQU+2m/79GGX49y3I0pEdD7r3dJVrxkcdJBRQG+++NbYliBxc7O2tCmbSDndgrG7T6NrIIfthrHejZl/UIY1mni4yUUY2Ie3tS5dy48HZI6xBLBc1/bo/+u8JfFCUNHOaov9223c5z2Rn1giqT1PTgoX5A9v0zEpw4i0V8NmE3/+27/kJYEi9VUAb84YL1LhcZL99zBkC6f52LVpPURAhQu4TpXb3MWp3DdWGrzEEYolbxkgeZeA2o60OQ1wsbbvCZBizR/w0Xzo2eYCuvVuHEAugTYl9wSq3QQ== 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=F2HLiNmNDnfHacobzAen8439s3YekDZ9xN1XI7WKX4U=; b=DRU8nfgLj7+TQVD91ZJ4XS8U4RHyhocBSfGuSK8kuEUgmN7jL0C87ecllGOhJx2Oq2cYcjKIeKbP8Vzf2TzfvBr6bQLOmXvJfrv4zt6L5uje/ipvMsxlqTXrkFXdbVImgOlz+cU7l0jpcc1HlfctWQUBrIe46wOjPDoLryvKOMldW6goSwpkIH+g8eLPmPdM1DpiaGGwzo6CVnnMdkGX+VPoU0DE4CkiV3BsBIFgZGpkD5Y6RqqiljLfAOtoih/RrWc/m4iJ0rGyoQXkqZvZH0VEbNGSzzRKM4UbAaKCFgftdiPsQWFMQUxQtIKa8zTFkxNboMcGc65zqCuqc1Q+Fw== 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 AM6PR01CA0051.eurprd01.prod.exchangelabs.com (2603:10a6:20b:e0::28) by HE1PR0801MB1979.eurprd08.prod.outlook.com (2603:10a6:3:4e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:25 +0000 X-Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:e0:cafe::aa) by AM6PR01CA0051.outlook.office365.com (2603:10a6:20b:e0::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:25 +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; Wed, 9 Dec 2020 18:47:15 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:14 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:14 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 05/25] StandaloneMmPkg: Fix ECC error 1001 in SMM Memory pool management Date: Wed, 9 Dec 2020 18:46:50 +0000 Message-ID: <20201209184710.20912-6-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ad9e5f22-632a-49d2-d11a-08d89c72e94e X-MS-TrafficTypeDiagnostic: HE1PR0801MB1979:|VE1PR08MB5869: 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: 9eek17IYIuDKhHCvxAmXhvXdaaqPHmRqcqcCaAWXWKJHnovWm2hQLImCFzK8t+Ktdd1fCnRHGXZDIGFblamUYZabL+LvuBnb5HwR5cc1LBiI0gva1HDWnGoMjDHThCLiz6Lmkwh8bzy3frczLbBLYpZ7C7t5gar/WhksL7Y/+8UvFPu3ugYVX6+R2eiP3eGvaQjgQMi93MxeAWH2Uiex/VoMBCNGcDBG8z4Q58bBJgMJCEUTO5b+cfiG40ehSfUi+CZ+TEnPgrcNy8QIPqnPH84sdMj0fmWN7ZcU5B/NiIqO+nTO4y72qLDgPvpneORaUax+WJLqb7NkHq1+KEnU1hB7wvuRx4ivb+WdoUuf+Va0qZt5lYc4HenwM1BeKv8CYXH4PndfuB0BCXeItg5qXw== 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)(136003)(396003)(346002)(46966005)(36756003)(6666004)(47076004)(1076003)(4326008)(8936002)(70206006)(86362001)(82310400003)(5660300002)(2906002)(8676002)(70586007)(6916009)(2616005)(83380400001)(186003)(316002)(54906003)(44832011)(81166007)(336012)(478600001)(7696005)(426003)(356005)(26005)(82740400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1979 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ada63d85-a82a-4734-4990-08d89c72df10 X-Microsoft-Antispam-Message-Info: yfN5cgp42twkyo861rgV2bfFpJoBUca3DWS0W12+9t+pK8QPxKOsaR9NAbf1I2oiEUw4yqHiIBSvP3FRR+e6/+7No3stXEs7pNs+BrfG648cmb3j3iXWqstLkS0ANQD4pomOYZemrHnV1a5WTPFpHBqZB8DmEJeHoIgVG3iaLTpVDxXlusvIgVtU8dMB+p3v9SnjrQUNn4j9hIFEa6IBUCYE0VnVP5Vel7fPL+o+PaaP/8eY5b+OxNqH/efMSCKI8o8t54m0ej7YeAS0cJtbaPAiRoUPX43C9DuUqppPoMMC8BTtMbrOvnZ+AkXN35IBq4uoSGlA8Z2Fc2l55uNJNiAo6CwReSoWU1BDbVlE83v9yNaDis0pfWGDUuvYOl6kqXB5P87DK0BxMGTk2/QdRg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:42.6117 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ad9e5f22-632a-49d2-d11a-08d89c72e94e 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: VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5869 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: IVhfrhKhP4jSf2k9LZaQqPtKx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539665; bh=SJT4lEXu2ve4bMng/tqWCd/wwFlLlcjdEL0duf6ApGk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=UJw8FausZ8KuXBsJW53SPdSKNziOiaMFckgSXjM/xU2FZ45ja4cOT0m/d0G87cRi/K4 R1Kbzic5msUzF688ROnhy9tR1mOPzwPiG1C9vg7S1CHbXe2fl9f3L4WqiNcuVXnUJVDIR mRmUJYPC44WSmeCMjIx8SjIjsRzNzPXb3UQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68575): https://edk2.groups.io/g/devel/message/68575 Mute This Topic: https://groups.io/mt/78836543/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 Mon May 6 18:58:59 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+68582+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 1607539683063555.956913358409; Wed, 9 Dec 2020 10:48:03 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id USSiYY1788612xH9m9Qj0o43; Wed, 09 Dec 2020 10:48:02 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.72]) by mx.groups.io with SMTP id smtpd.web10.454.1607539667458992399 for ; Wed, 09 Dec 2020 10:47:47 -0800 X-Received: from MR2P264CA0079.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:32::19) by AM0PR08MB5043.eurprd08.prod.outlook.com (2603:10a6:208:166::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:45 +0000 X-Received: from VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:32:cafe::cd) by MR2P264CA0079.outlook.office365.com (2603:10a6:500:32::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21 via Frontend Transport; Wed, 9 Dec 2020 18:47:45 +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+68582+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 VE1EUR03FT031.mail.protection.outlook.com (10.152.18.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:44 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Wed, 09 Dec 2020 18:47:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2a71889da3d9d13c X-CR-MTA-TID: 64aa7808 X-Received: from a08d53c29784.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CFDD7EB9-D446-429C-8813-89E47202EC56.1; Wed, 09 Dec 2020 18:47:29 +0000 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a08d53c29784.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fDHBl8T+wFhbp6eWXAG+Hh5OnFN9dTuNidRuiNUL0GGpfGiGqsOoPaRuRB6zZH5VLgt5TR4ppgJmhH/SH5jQ6z/N+dEarv+oTdBMkZgui5qC0ogaLssk2HAt4735w8QDU5N3vN/fsfQi8t63GYU2CvD4eL7O01QbePdyxSVy/YTE+l+6TlKoHGVBCROCXXngpr+O6fbPs5L2gVT3NsBzD4QVXRtqXt3fhPS/dtdH84hyJ1Up4rgS8gRffIomu3QZdvlix/R9q4C1vTI7R9eWn7yk0VhMpO2UoMkGeM0HgM/5tlPt6sxUvXrYoMB5xh1F+DuQmRb+/t/lRnf/mX0xFw== 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=de11ozc+Wq4XDtVO58tZpt46ZTAphy8tW53hW6xboy8=; b=eB0aLMy8ZM50yWMn99KCTv+3JivSpwdvGGmdIhv/yKtSw7F8Mqle3MfDOWbW36F03/Hevev2CnoA3gtE+IGtyVGRRwcQwz9e1oI+FP5MdEuGfa96sOpZBF1H9AH8H1bxH1a5M3hPtDg4jmpzAgR7bXXVBli11YNQR+dk6eadQFHtOUENK90J2cr+es6c/kCBYC3V9YB1PBq92BxmbkMmgD60YpjxQreGp9fJtJ0Vlymt7VrqZCY8U2vaVukHnJYELqlsp7SMSKqqdYSVZWo1H9/gcbyX8K+xaTcqzxkViLg34ExbAkyTEMBLhRLPpUExPsqaLUmi3K9s+MYamNF7kA== 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 AM0PR04CA0014.eurprd04.prod.outlook.com (2603:10a6:208:122::27) by HE1PR0801MB1883.eurprd08.prod.outlook.com (2603:10a6:3:4f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:27 +0000 X-Received: from AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:122:cafe::c4) by AM0PR04CA0014.outlook.office365.com (2603:10a6:208:122::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 AM5EUR03FT047.mail.protection.outlook.com (10.152.16.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:26 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:15 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:15 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 06/25] StandaloneMmPkg: Fix ECC error 3002 in StandaloneMmCpu Date: Wed, 9 Dec 2020 18:46:51 +0000 Message-ID: <20201209184710.20912-7-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f92d3fb6-510a-44be-7ca7-08d89c72eaa1 X-MS-TrafficTypeDiagnostic: HE1PR0801MB1883:|AM0PR08MB5043: 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: fzt0Txsaj8F0NPfv099G9vzUYQMKPhsqruR8PyZDmQKvgTg+0JYtV9jazgNLiGv7RVpiokvSWmPNbRkPc/YU3mSg9JTLhURTjEhh64wJFIL8KVUUFQvnaE5pM+dzlLocZZJdMLiHit/PckBZ99fmgl6abbJAc68f1JP4lpPtxdO3LFf0TWMLcrx6/9JWZv+vOV8h8y6w64R6o8YkAyoJj80uoxG30MRkS+0o2Az+C171k17gCDPupj5glSQlmuqxCFZ2Sl6b5bwtJx+SC6prvIe6UXm+IFrsLhEAtNS4kJI2cSe1GFpPmXTCJDvcey4r+Ti2BxmBH420V+OJOZSTfivSmQtu3d0lN3eRgkTuSrkzPqxQKlbQ3MPfr31UN+Q19mweeLt2K/Qh7KmZ+U3Zig== 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)(346002)(136003)(46966005)(83380400001)(426003)(1076003)(26005)(508600001)(5660300002)(8936002)(7696005)(4326008)(47076004)(82310400003)(6916009)(2616005)(86362001)(6666004)(44832011)(2906002)(70586007)(186003)(36756003)(81166007)(8676002)(336012)(356005)(54906003)(70206006);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1883 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: afcd5ccf-b0aa-4718-ee84-08d89c72dfef X-Microsoft-Antispam-Message-Info: w+4UQZMDuOLBrC1OHXMVRkTr/VTsj8pVZtCxe8cDIExcKWeOc5XgxEilsE7O5PS0MQ0g1nS813yF/69pZsKe3Y1OhRZlq4WblcchUPhSpkAJbvZTZM3rGA8TeGU9MN4oF96A8tJtdrrGQo3xFy6EG26yfkemg5z+JA0wj9WZppO+4tbIbNKOaajcKTHI1rsg16iUATsV1EWqQlor5iEAcTDrDthczKhOkm3IYeTz08OrHQuoRgeCCqX4tyHRRvSf32iyocXDR+j0ZTDSAnWgCjvEkIkNJWnfK2HSy0hV9CubMYIwquyGH/SRpqiKSkOhG3wl30yFXLkPiYC53/NuaGANMoZKjKknvGvw81pQrdmFvPhStRM+aOxUxhW6UuzMTwCz6djQSNxqeDWLnJA7RA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:44.8322 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f92d3fb6-510a-44be-7ca7-08d89c72eaa1 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: VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5043 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: ewbGC3U2r3TGZjDZWyFFUjh5x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539682; bh=tKEONjY8eVGuFtts5Aa+9W26ZnTD19sXjCgPRMMPT8U=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=w+qTXOl6Ovauxb3mLAYndR93xP1tA2ZoCttsD/TcNlnz3pB7wEG1M38ZEpw+2VklwQH cLaE63KjEyrRqy9zt6MGRaoDuWO9OODOTw2YTWiR3SKx2nzNaxRgz0C4MyNVPmN5jMCpc X6roT6N+bBEJ2j/XbsCkG8YE8+3jzrUVg9c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68582): https://edk2.groups.io/g/devel/message/68582 Mute This Topic: https://groups.io/mt/78836550/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 Mon May 6 18:58:59 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+68588+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 1607539703370917.6625881574519; Wed, 9 Dec 2020 10:48:23 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id u1KXYY1788612xkuUFqRAof7; Wed, 09 Dec 2020 10:48:21 -0800 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.74]) by mx.groups.io with SMTP id smtpd.web08.479.1607539671540043413 for ; Wed, 09 Dec 2020 10:47:51 -0800 X-Received: from AM5PR0402CA0003.eurprd04.prod.outlook.com (2603:10a6:203:90::13) by VI1PR0802MB2461.eurprd08.prod.outlook.com (2603:10a6:800:af::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:48 +0000 X-Received: from AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:90:cafe::d9) by AM5PR0402CA0003.outlook.office365.com (2603:10a6:203:90::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:48 +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+68588+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 AM5EUR03FT009.mail.protection.outlook.com (10.152.16.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:48 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Wed, 09 Dec 2020 18:47:48 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4d77bbf462a5cd91 X-CR-MTA-TID: 64aa7808 X-Received: from 78c8aaaa8a79.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F33C94EA-BE58-4008-B84F-6CFA400BB675.1; Wed, 09 Dec 2020 18:47:32 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 78c8aaaa8a79.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KZJBVMnRZhojDxI+uSzbmrTPzXgfViIQkRN8CZ/IdrSvn3uL3F2TuxLM2O2iDTrxVBSSn8lfU4bj79vrAU+s/D73bcOyd9eNanv0y9EFA6SWcNZcG8e84AuMu478Ce+um4sfjuqCRZGud9S61H+IEXFnQWzYGpz5ZgBqPZ3VdpAv4Tdy3fUO95N/9s9LQSVmX7o1KhX9MTPWgBmNbSU8eGtEesNoLzW0DZXlC0ERquOEt04J69rAyv+fn8cfTA4ivOzTTgbJ0wThXf5EUPvaNMW3dqh/8Uu/QY+c2pvormIx1ZpsVnEaspXglUUmY5XJg9v8fyar+nHjayJG2j0B0Q== 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=W7WYojA4vuMXzWIwjZr+L0KqJo3i+n7JI0nhOWdyzlM=; b=DhpkZAwoZj/13WbJc1l/s5Pfd7ao0llHtipbDhB5UHHcidQeBc4SXmVjWg5zOTMJ5T1DzgrMldLiVvvVUuPomxCByJNWRuU8hwyET3FMG4J09L8725XFhAZuLKyPs6dhvKvRAb6lUKVlj3q4JLwtfOVM/gRybz+YThZaeSwHbErrg7KSzL4qltkwJoMXTrHCPJVPi5GtRF2gvf1BGCLsbJoZIyqKUGchFlcrqf4QAJfakUzO0oK7ulL9y9pktTlGIJsWtrm3pgat5T2bCoTvyEtilS3DmaE6z+YEYR5A+nKQX2kv9QLT/zBPljU7zuVx5yP53LxJgis4+EcmNDaTTA== 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 AM0PR04CA0008.eurprd04.prod.outlook.com (2603:10a6:208:122::21) by DBBPR08MB6140.eurprd08.prod.outlook.com (2603:10a6:10:20a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18; Wed, 9 Dec 2020 18:47:31 +0000 X-Received: from AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:122:cafe::85) by AM0PR04CA0008.outlook.office365.com (2603:10a6:208:122::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:31 +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 AM5EUR03FT047.mail.protection.outlook.com (10.152.16.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:31 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:16 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:15 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 07/25] StandaloneMmPkg: Fix ECC error 4002 in FwVol helper Date: Wed, 9 Dec 2020 18:46:52 +0000 Message-ID: <20201209184710.20912-8-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 64572f26-3924-4caf-7756-08d89c72ecb1 X-MS-TrafficTypeDiagnostic: DBBPR08MB6140:|VI1PR0802MB2461: 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: DcTP1ADPEuSLzAxsHZUne5gjfDj2SIoIeNgVEH0ExQNFqlnFIYPrDYPHUxvektQCflLZC00xOa6WAIY6pCopvV9YXYafmkZDCWuL5phN15LX4g/EWGDO4Km7nSq5LJ+fexu2SjdMBEq0xgPulp0VAzvNI7zCxxP++dS/NhAgn75nEIoxwBYMTSSDR59kq0Bw1HGTdYxB/NWhnxeyA0smBiDAVlkth8r3XeXwOVR7rkiNwrLpJaZJXspSgast1H5OlVoiScfAjo1YGH6B6+BCs/Z4MFHWR7RngTVMrBeXPDhJxDI3PMo7KGIPR/vX9Z3imLMjq8rGhdpE3i6zvy0PI6XXAFA792aaA596BtD4bPjeUmgAExph5GHTBsi+kmyfFpcEd+oaREy1/Kc3CtxI1g== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(2906002)(26005)(426003)(70206006)(54906003)(508600001)(2616005)(356005)(82310400003)(7696005)(6666004)(44832011)(86362001)(6916009)(8936002)(5660300002)(186003)(36756003)(336012)(81166007)(1076003)(70586007)(4326008)(8676002)(83380400001)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6140 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 41183e2d-b7ba-48d6-e7c2-08d89c72e2a7 X-Microsoft-Antispam-Message-Info: aAG4tTUbYLgl+CqSPyIu9ZxNW+fZykdwBJAJLRm1KwUrZDsM4tPvEIj+y299ag+cktzknI7eLViy+7RRY9Sq5NOy/q0g3s5JvpdbtiFIj7aOz41wflYpXQPPra8ilsi2Y3pC5N6/FTUJpB5JoH2mz35fyC4RbMpV2soS1p4Rm4F0Dss4cuTKabtN51mIxSBK8Ygx8ZyxU6AjWfx1mNKLNagVPtXan31uAIfd96qdzDyguHtOvJAC1KzBUB5FXaadbmR0LqFjddnpo79Pk49We2H7fspnrdYjF7NSrfzZ/xYS1tMlm0ZuybmsD5WgPaUXh/ET3xHZqS+sDy1kmBWg7nyKrf+2EtJjs/0sNL24v4OttAZSw1kvusK2C/aUBNb0def5K/weNbZzAfg3u9cXEg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:48.3523 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 64572f26-3924-4caf-7756-08d89c72ecb1 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: AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2461 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: gRgv5gIABLHpEDOATs8chsBax1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539701; bh=fd7+HfbK7WJ6VsnXY3zvzet2IYWSaq0uM+E8U8JbAJM=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=rgG/oT+QHvhfOUoCwtbDlrARgVgye1EGgh3YyEvPOiy3E6HpHNtD+zmg5MHE7FrcZ7o GfpxB4mbjlvQLxyJ/Zob86W+45AYLscwmZ+GCnvIhQmN0x4zeAvmdd88+GofD3Of9OVfI IOjsdjPaJaE1rjHFtWf0tbiUnkuIPCJxrhQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68588): https://edk2.groups.io/g/devel/message/68588 Mute This Topic: https://groups.io/mt/78836558/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 Mon May 6 18:58:59 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+68590+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 1607539700246719.6268530470929; Wed, 9 Dec 2020 10:48:20 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id DWc2YY1788612xQP8ZKWazYi; Wed, 09 Dec 2020 10:48:19 -0800 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.57]) by mx.groups.io with SMTP id smtpd.web09.473.1607539673231562194 for ; Wed, 09 Dec 2020 10:47:53 -0800 X-Received: from AS8PR04CA0105.eurprd04.prod.outlook.com (2603:10a6:20b:31e::20) by AM9PR08MB6129.eurprd08.prod.outlook.com (2603:10a6:20b:284::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 18:47:50 +0000 X-Received: from VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:31e:cafe::4a) by AS8PR04CA0105.outlook.office365.com (2603:10a6:20b:31e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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+68590+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 VE1EUR03FT026.mail.protection.outlook.com (10.152.18.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:50 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Wed, 09 Dec 2020 18:47:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8accebe385a3352e X-CR-MTA-TID: 64aa7808 X-Received: from 3a3893437a9a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D9004617-286C-47AC-A61D-4FC4D716B490.1; Wed, 09 Dec 2020 18:47:34 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3a3893437a9a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HlooCmfoaXHqGevFr5OUiJQhW86skD1kG2A1G5V9QPcZo0HXLL7wtEw2YK26cYrwyL0GlLvxbXpfynYl+juCG3HJcXIhazvnUAdJFKgh6AH25zuA2/NKGJUro/UeAQexfmvd5omvUrDhedVXu3CJArhlCzS5j1j05PvbxckSkZz7gIuZJRYflzZc/YGX21obTv+fE90wSzO5l5z5pXlMLe9iRxKmlDWeVwkf/kNe+4c/wsoY5ML1yZ3w0z3fpmTtH7sOLM5zj5qX8C3klDiZLwze3LtsIpoYDeiXivIWxFXI2sadJV/6pB9ACcMqdAWX9wy9dFS8mMFyGWFXzbQRnw== 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=cAoqDL9rF/RKDlQd/QDzvdxH3/FH4QeeNrxU/IPLhqc=; b=JHzIsDWJJVQLIXHVaU9s+yNXyZFbHhMVwdH9ysWkBL0zsMJqCAUUEPAHg8lxSvvbbahQfOrYPolxMTqV403TdjPzpxLPIDSGUqde9iqkr66AShKqPXVq2WjFEeAm6mZ1aiOGdzbRkIkyavK3pCr0qUz95LIwHLMDLF8e7vifqDqFdqpJn7/J29eCtfk+b9PGQBcOMP0wWXDTZraOm3Aax7MZADlXKySC+ty9GkXCoCv/P3aYAisIMBHn9OLv/h3Od1NCbruKo1ChnBy8cygeGfDMNoEScc2bQGTAfDsABg82le/quwTxmd27CSUI3xoFUbDXyIg0eO8mKjy2xs+SNA== 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 AM0PR04CA0002.eurprd04.prod.outlook.com (2603:10a6:208:122::15) by AM4PR08MB2882.eurprd08.prod.outlook.com (2603:10a6:205:c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 18:47:32 +0000 X-Received: from AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:122:cafe::5e) by AM0PR04CA0002.outlook.office365.com (2603:10a6:208:122::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:32 +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 AM5EUR03FT047.mail.protection.outlook.com (10.152.16.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:32 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:16 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:16 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 08/25] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCoreEntryPoint Date: Wed, 9 Dec 2020 18:46:53 +0000 Message-ID: <20201209184710.20912-9-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e876d0ad-97b6-4336-b44a-08d89c72edbf X-MS-TrafficTypeDiagnostic: AM4PR08MB2882:|AM9PR08MB6129: 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: H2SdCzrkP4LF+2DhxDCqTCVlhxoUTsgKrRDJTX0YYft78k9h18fq4nNTkvrJNwvqN7wFwpD8fDX+ypN8RZcnYNfTC8jjgYMFv+0HniABQvb0ooaBBSCxFfiK5/pGP5x3wmOwqntXhQ+TaXobvwtH2FuJioRippjXl6LWm0o1o9eNT7ZtNV/P8QjGym1YVeomLzOG24jpsiBVaOvCr5ZVriJ1BJtq7WRN6z6C/JnJ5u3OBgiLPItdAyFhLATTWgiNQezjFh9sb0m5eFdmkMu+7Ed17fpyLhMdVdxFvtoMeiRz6TQ2ArZWujQdeztJG0ZU5V9XRwUGcl/3Vsbz9/Yqo+NmaVe9rWhaonN3zhXCzMXELRJijcUjZ7Y9gvBmXjpE1wO5AK03s/s2dpHV6wiV7w== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(136003)(376002)(346002)(46966005)(508600001)(70206006)(426003)(81166007)(6666004)(356005)(47076004)(86362001)(6916009)(54906003)(36756003)(4326008)(5660300002)(70586007)(7696005)(2616005)(8676002)(1076003)(8936002)(2906002)(336012)(44832011)(82310400003)(26005)(186003)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB2882 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d0f4635b-0e86-42bf-259d-08d89c72e34e X-Microsoft-Antispam-Message-Info: ijgAIvjA2HGwHxOB6FMxa0scmebWujolxh5YoGBqRtDJCe6jG0U6QYHz5NibwpMiIrxo/1mnRB68jpVVXRgzV7aCSdoJc6SJQ0Th4MkoDZzTO+nYljzrOk7P8iqvH69b/V3vEux7doeKg/+nuOh67YpvB9kZSRVdVVc+f1CuZr/bMrngOUQjxRHQfYvpJml5QehhD+DIMpJCE9Rf3j1WdRY/Yg3oxKo23J3RHdpzCyYt8+o6RhBH0hC+ADeex9hrGbgJoPMyJLOBI/dUimMNU+H/fDxzvpZbpeBpAxeoLPDYPs90CxCp/UlbCtVulrjmYTP0C7kGwZgVwQqwEtmJFG4SGllCvPYmv7/ShrSGdJFf9LpssWhbHH1R7+N/+o++ynTHkcj3KXBN1DFbpNonDQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:50.0634 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e876d0ad-97b6-4336-b44a-08d89c72edbf 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: VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6129 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: 4zNvES5GT7VxTGEv78rqmqksx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539699; bh=i8OFCwHG9k4b4/FZbybdK5AZrI7o/7Jc2d6WaZwCVAk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=HV5Y2ub+X/vNSgRxXF+08+5S1Pr9lPWB5RLz/ct1sN6SMeBZ08g/5cD/fPP2hnMAukh OIh1VY9b36M0WYbqfEk1MkSPT25G3v1OwEeivvQnwH28qgnwJlXCOvUC52JLzAl0YXQE2 V9GMvEh11bA19QwLp/egla/AwRK/sfNuWLg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68590): https://edk2.groups.io/g/devel/message/68590 Mute This Topic: https://groups.io/mt/78836560/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 Mon May 6 18:58:59 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+68570+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 1607539662590799.4872024951881; Wed, 9 Dec 2020 10:47:42 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8Q0XYY1788612xom76DnFYHl; Wed, 09 Dec 2020 10:47:42 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.59]) by mx.groups.io with SMTP id smtpd.web11.448.1607539660822676023 for ; Wed, 09 Dec 2020 10:47:41 -0800 X-Received: from MR2P264CA0024.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:1::36) by DB7PR08MB3017.eurprd08.prod.outlook.com (2603:10a6:5:1f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:38 +0000 X-Received: from VE1EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:1:cafe::a4) by MR2P264CA0024.outlook.office365.com (2603:10a6:500:1::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21 via Frontend Transport; Wed, 9 Dec 2020 18:47:38 +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+68570+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 VE1EUR03FT049.mail.protection.outlook.com (10.152.19.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:38 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Wed, 09 Dec 2020 18:47:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2245f9a8aa46f1d9 X-CR-MTA-TID: 64aa7808 X-Received: from addda86b27d5.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8E773986-CE07-43EE-96E6-6AE811B09A27.1; Wed, 09 Dec 2020 18:47:20 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id addda86b27d5.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mAbI5kn1i8CgLdzZl1Ditnr0aB7k9Boc4rE/mq3QQUctz/yPlbCj+e+W+JG1FV5w+jrHjJPpsn0pPK8NKCO4LSO37jxOX+2BSMfVadJ0NjyRKhstYee76+aXoGbO3cMtBQ02gGtZXV/Pz+m5/nixuVzTFxV1um/Tfu/WshaxotXRkEAX0cnDQ9/gY0MK7VJ5y6qh9ULqezUDmuB7XapP6vrJvFMGj5nyECqbzYcoaslTn5u6glR8NUbEkJ+a3BXOnEUVlZT5KLjhtc3CqfCSYq2dxdX/CDR7NTLCIFCvng1LBJZS4wbYW9ejH9fh7aNlyIkVRVK2ZTTt8Pgd0Fhvvg== 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=tfAvlnxSByS8i1s8s2e2Ws77DqK7Sf1aDTMjkyyin3Y=; b=VnJEgSMeZusIC6/aFQ+MUyNnxgEmvrnODLhQWcm5mIGY/2F2H6+XvsckcAC8cPz52AhMUWdQl1WbcGsv0uJv5huUj/tetZ8cadLFd5ExMVhOZJ6Bhjd9kC7MaHHC0nFsNjoF/V5KnPhWInsGcIUrcQKx18gBfcxGLl68ER66Tl5qmPqjc9JFfT4gTCBGumE5L1aBsnavQtGNML8vFRi9hSHh8Bp7Sdn90xGwrtgHvyCF6LCt1nqHBVISL3rgYUot0cBKzqIym5YpmSLspQSyJzvkqhQfYCNjWDeM8v5V1mX+zQfBZtRQUOecQwhuPGSaoNkamZwxwHf8yzSI+6IiIw== 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 DB6PR0501CA0013.eurprd05.prod.outlook.com (2603:10a6:4:8f::23) by PA4PR08MB6109.eurprd08.prod.outlook.com (2603:10a6:102:e2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.19; Wed, 9 Dec 2020 18:47:19 +0000 X-Received: from DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:8f:cafe::e4) by DB6PR0501CA0013.outlook.office365.com (2603:10a6:4:8f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:19 +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 DB5EUR03FT062.mail.protection.outlook.com (10.152.20.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:19 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:17 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:16 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 09/25] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCpu Date: Wed, 9 Dec 2020 18:46:54 +0000 Message-ID: <20201209184710.20912-10-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c78a8379-0dce-4199-1e54-08d89c72e698 X-MS-TrafficTypeDiagnostic: PA4PR08MB6109:|DB7PR08MB3017: 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: ay7kYZ4MiyZFMYVH7/PlMkV5XXIduli0pXlpm8uxdlGyMdyjAkyzK0VizoyPJGjsix8kCXxYtn8m1y6tJvChBtee3HfsZXNZci1FGDmfU4ojY0rmCW1y/b98dRNWV4KtpAR/DEaqaBIycU3QB9u28sSyML68n8adPGbuzN1F5gPxBf8O1RSkIx83M+XJONTHpKIZXoxGRbtY8pNqt82K3CvCYDzRUl3JipI9r5u5zQO3DlXRCL5ciOIvR/JNEjE24Ac1angYYE6xflhGTpoZLs8mNNTML5gQSejM5mg5uZbZPlSte5e44lanCCl6936urfE4GUvSTtDER3bTSePNZnztL/CPrW4w5w4bXYn39117cBYnlMLgDoD9zYQxU+u99CEDzqMIOmcRnwy2ShOSag== 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)(396003)(376002)(46966005)(426003)(47076004)(36756003)(8936002)(70586007)(8676002)(70206006)(478600001)(86362001)(2616005)(2906002)(6666004)(44832011)(26005)(4326008)(1076003)(336012)(7696005)(316002)(186003)(82310400003)(5660300002)(356005)(82740400003)(6916009)(83380400001)(81166007)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6109 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 240be0b6-1607-4daa-abda-08d89c72db34 X-Microsoft-Antispam-Message-Info: 1Jr6mGgkiYiX51/OHdyDWqUiFJdvQLy5+zqLdI7uPQLPF1DDdLjIiQssozbRBZc4QWptQpGnzHjxzoALGQIhdNMSDaetB1tP4+dMFLjKzFgRzCGlNF8sb+dXWTIBoYrffD505DcO00Vz1shG8zO1GlzU5BmS7AXOOlb+0vSu8J3uis1wsuUuuYnSkDPyxfYi9toNCwBg0a5QOENnJOHxA4UC0lhEhM7yatJhJSXyHPxcVfLk8Gd+aseqoWfXRx+4PwESRafCpZcuv7n465CuM6c9zjUc4oNs7Gps3pv+5jqtJsW6DtdgODKK8tthrCiOqpYOyA6v0euu0/extcM2YWfEj65cm/X0qxe+qy482BbSHp+Tq1Lng/hqk2NlKGMQDMVP8DCnX/tX4bMfEledQQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:38.0529 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c78a8379-0dce-4199-1e54-08d89c72e698 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: VE1EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3017 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: BFMdL4JbjRX1lOUHS0Ga9Y8jx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539662; bh=ZiwSTycfkwlzAaNnZOFFrJyAkt+r3xizk0CifyrzkH4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=ia9vKL3jDLOHcJwUlUh/y1AboJ4B7NA844V+eEtJrv+eeOnhH//Zr5SUlkJ4AnxIyfZ hO61xsprFn/+VVBUhkR3zOD6xz6KouDx0Z6jAwq0gxYgU5dGwoOqEFVItnS/IWIJJ0TRr R5mEKZSXMspxc/Izqv+JuQxfypf4evL4V9I= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68570): https://edk2.groups.io/g/devel/message/68570 Mute This Topic: https://groups.io/mt/78836537/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 Mon May 6 18:58:59 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+68571+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 1607539663087780.7866135225312; Wed, 9 Dec 2020 10:47:43 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id tWLQYY1788612xcvqT1QB4Tm; Wed, 09 Dec 2020 10:47:42 -0800 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.61]) by mx.groups.io with SMTP id smtpd.web09.455.1607539661870996868 for ; Wed, 09 Dec 2020 10:47:42 -0800 X-Received: from DB7PR05CA0027.eurprd05.prod.outlook.com (2603:10a6:10:36::40) by AM9PR08MB5921.eurprd08.prod.outlook.com (2603:10a6:20b:2d4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18; Wed, 9 Dec 2020 18:47:39 +0000 X-Received: from DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:36:cafe::e3) by DB7PR05CA0027.outlook.office365.com (2603:10a6:10:36::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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+68571+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 DB5EUR03FT033.mail.protection.outlook.com (10.152.20.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:39 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Wed, 09 Dec 2020 18:47:39 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4f8123d2821f496e X-CR-MTA-TID: 64aa7808 X-Received: from 0cc473822b40.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A2FC473C-6520-40F5-9C3A-1C4C15BB5CCA.1; Wed, 09 Dec 2020 18:47:23 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0cc473822b40.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E8UsX2sWX6YL6dOm9iKLbvMOWe+DtT/iXb+FPbtZ8Mg9RStzdb87g4wrphYi/CHdbVTNuTHvE5GnYWOJ28cNlb68gDlcUXSwHGvLJjvvRVqM2SJ3XwRCzp41wFBLgKWVrGVNICZMQNMaRIP8ViAcRCn0u6dtgaO8Kh9p7xaUEkisaEHeacseEEMFGXbfZqB9fhZ7LEvYBUUN7+Xs23Gh2PpxMjEwSANFo/F0ROKnhzUFIIp8Dfom0fPaHti7c2abqtbddWM8FXwzd60OONw+DkkxwMRVqtUP+/A/7QrQ8jtl9Yu1TiaeMfBhBW2dJ9zLhL34OiEeUt47xvhyHj28iw== 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=5MMM0UiAbwQeFnLLZrykHrD/OT1OHm5vM3w4fBBnjQw=; b=CXgH+9R0Y5x3U7jpIoxmCT6Nrom38oUgXfi5/mGJTFz3fTj1RjQKZMUsUEOQFJ7PrxdRmQ7HdTsV47AeZlE/FCXGjfJcE5sEYOJcCQqp6Pc5AUCGaLs9hWMCkJOKcugbVUMmMYOxNWW26De2jIa7xCVAnNPeaduIFbq/6p16CoKglhigdiyNvcZehwThkRotQMLhEGsMoOYYqAZrDOruyG8jNQ7WAnz6qYbkHv3IplnHYfmDQyAk/4I0Or0qmdfcB+TWhmyTAVtOfqmYIucFIb4Vv7kUjmeq0poDqk4LnEQb7uNDLt2vTk4qddblMVo2RMctQ+Yy8Kf2Rzp5nNE6Eg== 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 DB6PR0501CA0020.eurprd05.prod.outlook.com (2603:10a6:4:8f::30) by DB8PR08MB5081.eurprd08.prod.outlook.com (2603:10a6:10:e5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:22 +0000 X-Received: from DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:8f:cafe::f6) by DB6PR0501CA0020.outlook.office365.com (2603:10a6:4:8f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT062.mail.protection.outlook.com (10.152.20.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:22 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:17 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:17 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 10/25] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCore Date: Wed, 9 Dec 2020 18:46:55 +0000 Message-ID: <20201209184710.20912-11-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dfbfbe88-feec-4663-26a3-08d89c72e750 X-MS-TrafficTypeDiagnostic: DB8PR08MB5081:|AM9PR08MB5921: 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: J1BlHUtcvABn51BmHVDWSSGApRjvWN5JOpyZ+/6t48MwMsw9bNMiVnK4Med1zROJ4Dz8enSgFHb67cf+d4z75ywkgEGC0dKFlmIBHAeDJCRamR9AQXMImjD5kw+1Ax1eP13vXQoq/jQN30k1ZAlEqMspNPfd9Hhg2aZAE+ducw431gcZS/Uh4VrBT1jGkkVGIzH9wwT9mnvNYIrxl3+MU0RA0YUxAi6ees3CrEu8YMebSZpbLaHXDX00iaUe20VuIb5OKZxI4NOQjKVYQiZeXC9A0JcP8VLAfI6a2cBfDllZOJFH3Lnk9ITbRH/1bLhRepRuHuq878fTtifu9M47pmdWGK6E8mzfQMfE1J63WJXiYVeLt1C0vHAeKvcAf/frYpq8VRk8HqPqtSOUrcHCfg== 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)(136003)(376002)(46966005)(336012)(426003)(6916009)(44832011)(2616005)(508600001)(186003)(83380400001)(54906003)(356005)(81166007)(7696005)(26005)(47076004)(8936002)(1076003)(36756003)(4326008)(82310400003)(70206006)(2906002)(6666004)(70586007)(86362001)(8676002)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5081 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 48036ce0-606d-4990-830a-08d89c72dd1a X-Microsoft-Antispam-Message-Info: DXp8b9k6mY+gA8NbzUDZqjs57U4F1nhu/I+FeBXHV4I4QtcR8tBPvKAmrqh4+bVbKzDOvk1pTiysQXQPADwjZaTNgpUEx+ABB2KCv+QhW9HzNzbLYrWQbyt1apGV65ZNNfeGon4mjhqBxrSQ/CssBV41Bm4H/AmRfZ4CLhlmf/57G3qtMyNuT18PJV79ZaWWMZPG1i5f5UhoxBXqsNyRWBFv/5IJDOy+x9Aqz5ibOj43wsnMHwedzMPflot1pbnO7tMQaosjBdk6dJpZJCSbsvLxlam7wLMtIEGD9z54dvYD2WrZqNbvQ+ojS1IBLmNKtFejs2v09s/zbdzHxgSD/hUL74HIGNlN2F0ggViCNd/UwYlOqoeHhGn1u8zkIRIu/GPB9FJqskUBoN67jpqXag== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:39.3839 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dfbfbe88-feec-4663-26a3-08d89c72e750 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: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB5921 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: 6GFq5pkokr918g2tFY1jlI3ex1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539662; bh=nQabyM5wDI/3oivcRZdAn75C+SZPKiMlAnywuCeW/U8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=qd8VNr75B7Sst0LWILYrG7bSxUMId8N4mJF/EbgnpUOseiKWGih9zhCMrS/TspcmlP2 0wwLGp3Zs2azkcIeI3xCh4PYS5H59BT6yAm3D8UENIV4PojGeznxgvuyxnRzLwZPbp92B y3Akyp0H3UCpyqdMQZi6pwWNfolctqwPKaA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68571): https://edk2.groups.io/g/devel/message/68571 Mute This Topic: https://groups.io/mt/78836538/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 Mon May 6 18:58:59 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+68580+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 160753968086611.804745125421391; Wed, 9 Dec 2020 10:48:00 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id kdzzYY1788612xfbnqrql06o; Wed, 09 Dec 2020 10:47:59 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.50]) by mx.groups.io with SMTP id smtpd.web09.458.1607539666978838678 for ; Wed, 09 Dec 2020 10:47:47 -0800 X-Received: from AS8PR04CA0017.eurprd04.prod.outlook.com (2603:10a6:20b:310::22) by VI1PR0802MB2525.eurprd08.prod.outlook.com (2603:10a6:800:b1::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18; Wed, 9 Dec 2020 18:47:42 +0000 X-Received: from VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:310:cafe::8c) by AS8PR04CA0017.outlook.office365.com (2603:10a6:20b:310::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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+68580+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 VE1EUR03FT038.mail.protection.outlook.com (10.152.19.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:41 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Wed, 09 Dec 2020 18:47:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d7f913de5c0c4c94 X-CR-MTA-TID: 64aa7808 X-Received: from 243f791fa028.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 98DA7412-D17B-4900-813B-A4A959138118.1; Wed, 09 Dec 2020 18:47:26 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 243f791fa028.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lhgo4M1nnkjToPBlDu35tVeVasFGykMAd5eMtmhO4kGHTkr4FjuLFG+QjQPtJVOgbvyfYqNNDSJohGGpXb+9/wxhD5zFLjVxNrowu6ZlMZNFOlPmchOkfbvzhUNQEv44RmVCEZupgGvbuA0PUCUEY1J1MYbzF/dHWAvK90YcBFMo2h47dlW6Hz+enEB6kghSKWMK73Ig1Wuz6vgHbN+MTDAWRKU52XnwhKbFO3IrB/oa3YeVKattOxzXBX+klsLTWThJtsv3KJUfBzR5qC3CdWdAtHoRO3JaDamewDElItDjyzOcyoQPvLXGxWNpElike/qMxsC+Andjf+BN0VEGMg== 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=+19MQfu+XCQedHp3wqmyp+sEWk9oW5t5Ccew4mzjjc4=; b=WpONSrabgF20NhsClAcvMoAK0FhKWEwvfcoaJUP0OtoizNqPbnoebm1xyrlHMOfjwkQplhlTtUTsrMa2MH5iaKaAyGs65rbpIB0KyvxrGeaukJvTGqEB87Q5c6mSr5DOA/DIIWXGQEzuRIE0htXdCTr2nqt4MIKPM7N46S9sqWe7NmXTjRJH4CmYwRoE1GvC+6tE5wzlF5fNVXEHHHvyIcFXqf3q6f7hKEeDv7cYdQHJV7+13ZRiVrWg60/TOD//L9uTBF43WnZ3uaFR89l9OQSZ5N8mxv4uXHK7PMB9QgBy2kBIO+gF/ZinvHZmjbCeswRMNNcbcVK0FLFm7Ffa4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from DB7PR02CA0035.eurprd02.prod.outlook.com (2603:10a6:10:52::48) by VI1PR08MB3709.eurprd08.prod.outlook.com (2603:10a6:803:c3::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.22; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::f8) by DB7PR02CA0035.outlook.office365.com (2603:10a6:10:52::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from AZ-NEU-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; Wed, 9 Dec 2020 18:47:18 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:18 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:17 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 11/25] StandaloneMmPkg: Fix ECC error 10014 in StandaloneMmCpu Date: Wed, 9 Dec 2020 18:46:56 +0000 Message-ID: <20201209184710.20912-12-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a4189797-4365-4940-4602-08d89c72e8b6 X-MS-TrafficTypeDiagnostic: VI1PR08MB3709:|VI1PR0802MB2525: 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: R3rJFBDjREf4bvPXpg9Lc5Effxknf0PYBfy6BhIi9KTNdFS8MsFRvxxUpLY+5rMJlvunTwiLb9EONY8oh+Yv0NNV9E+xmdfug1GnDqYW99PxuOGYyWPzEmQ8MQHoQa3Dv20D7O8UoqKBEG3KRNd1Mdri5wwTjugGpKNr8Mmg1fwGmQIfOxprGVnqLAmhyXRw7fKuXI9XCaECIjLEP4Z+LDaOIJfU68dfqAIkGEVonSOA2uGAfhzh0YDtDe1oydFqFSvaPrpX9DtstfpnrTRipWc7yvME8OGVvouV3+Nk6c7kaVbEAy3R2mC4KiOmCQJqLvPenGK7McpkKuoH4v16dTSux2TsdZy8FOpDKNhhLmyBZCkKCRaN7nI1U8wijwMfxgHQ6C+kq6PLD8xwF2l8xQ== 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)(136003)(376002)(46966005)(82310400003)(47076004)(2616005)(6916009)(86362001)(7696005)(2906002)(26005)(336012)(1076003)(70586007)(81166007)(36756003)(5660300002)(6666004)(186003)(356005)(83380400001)(8676002)(508600001)(426003)(8936002)(54906003)(70206006)(44832011)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3709 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 65eedcd7-43d2-4d69-0416-08d89c72ddf8 X-Microsoft-Antispam-Message-Info: vN5uhmyETJEIJ3YPeW9uf6RX72Ma0YtAJcxH2a3whD3Qpob/pHvNvIrX2kX3hVf75zJ6clUwsjkNyCy2lOtmgOrA4scHAfw/uCii9F7HhLRHayPuza9iOYqRK4wKdwkDmxn1Qb/zwByssJ9m5u1Ty3azUFX7GXKTrnUB+Fb3Zzd4joLvFo6QtPSZWy8Bcr0/Axy1ZnKX3sD6zNtM5f7hFFa0nZLyw3uNaTTPws5TaVaqT86FNLmZZkv++hULd1ZdgoaJ7CQIGJgQoDlpaWFQD9AYplhmVX1GoNxaIapRR04a5eTBvyrX+1+/vg9UzcYwFOd8cozjPpyJoJrpbn75THJKYMpLrOtcdn6rgq7jQxXNe6ZpEzmOjHuXkN29dq7EJyNm5Q20jAXwUJVDNpDNBw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:41.6120 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a4189797-4365-4940-4602-08d89c72e8b6 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: VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2525 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: dvyTNokV6ZqR19soUjWyDbNHx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539679; bh=w7nYJc22MZBeiRpZfc5JbObKx1dcZdkwuPKpav1ZbnQ=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=jTQS5m3wi5Ktpj9GAo8aaIAzj1lY+7oGdH+6iS+0ZwNC9dXmenksv7nu8+dMmeajcrr oVxKc22puftWK6LxizRQfysYXbM5DmS/pKTqlKGiQv0vPcvfsvuY8vRZrD+Qt5oqoS7oD SV8dzdV9gcDopQRH82VRQ4PtI2lodJHtsD8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68580): https://edk2.groups.io/g/devel/message/68580 Mute This Topic: https://groups.io/mt/78836548/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 Mon May 6 18:58:59 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+68576+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 160753966819331.88412885396474; Wed, 9 Dec 2020 10:47:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1AD1YY1788612xRiuGGGCHbH; Wed, 09 Dec 2020 10:47:47 -0800 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.83]) by mx.groups.io with SMTP id smtpd.web10.451.1607539665555883933 for ; Wed, 09 Dec 2020 10:47:46 -0800 X-Received: from DB3PR08CA0014.eurprd08.prod.outlook.com (2603:10a6:8::27) by AM7PR08MB5463.eurprd08.prod.outlook.com (2603:10a6:20b:106::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:41 +0000 X-Received: from DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:8:0:cafe::6c) by DB3PR08CA0014.outlook.office365.com (2603:10a6:8::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18 via Frontend Transport; Wed, 9 Dec 2020 18:47:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68576+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT027.mail.protection.outlook.com (10.152.20.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:41 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Wed, 09 Dec 2020 18:47:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d1fe9f0ae9380945 X-CR-MTA-TID: 64aa7808 X-Received: from 09f6f5cd0dbd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3BA824EE-53EC-4567-96FF-E2D2639182D3.1; Wed, 09 Dec 2020 18:47:26 +0000 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 09f6f5cd0dbd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RafLTrhuBBz/MxrCbli4wHPJhFiHr/RXN3clhXw5qC5peqCk0bohva2lrXHoGVriPCDDyEno2ZLP0dOXRsiL1aZ2GuhoxRNU5BAILwUmecLp1AMdEzYF51ix67HzXvQtuApaK/ToZ3/9oizhCdPjwfkRVDHAS7SQpSzl5p3aGrL4TlbxkPKL/58zfw/MKyHde9r/DiZ8UXgO/duDdX5eeb9X4Eu7PPae8XI8MIhmx2EI7b31KFjV0E8RE+FwFyzaCTLnHZ4cJnjhI91TaHJ+oVqC2QuQx8Ips5wiWrTnudwqcotoPPYjFPez7ON8MJ7pCpSfxAqUkfSuN73ZMZ+4tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ROwr97iPlBC2vldsJCrLCvdXuDcOcTtLA2lvP1/uxrM=; b=W6aXhWeCr417hTmtXpthS62Ce/hJEXgSvdIXFvcUp5blYAfthvw/xYu4CX3ztbiOs53HGS2E+/X2/cBJ8gihdnDzpGoGXP4QAk60kO1DwMDPAHVCO0Z1IcCebE9AK5QOYleQFUJhWkcVD7VlYZq+T5HLe3o1aJ8L+3awhqfqwLx2WTfpqmN2BNeMeyLhTyU0Dunda9upYs/LXyM60rlvUrlYAoirAX8dASvQE5tkytgQZXXtCrdCjWIPNK29SCyIKT7BsLcNY16IRoQYaoUU1dMe4TzjccoFVeSRCdE5xommLV2epCzb0laZOkaGpL6lX63Bza3yQ/X4wtviZ1nfZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from DB7PR02CA0035.eurprd02.prod.outlook.com (2603:10a6:10:52::48) by DB8PR08MB4186.eurprd08.prod.outlook.com (2603:10a6:10:b1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::f8) by DB7PR02CA0035.outlook.office365.com (2603:10a6:10:52::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:18 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 12/25] StandaloneMmPkg: Fix ECC error 4002 and 9002 in StandaloneMmCore Date: Wed, 9 Dec 2020 18:46:57 +0000 Message-ID: <20201209184710.20912-13-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 19c0a832-ef4a-448f-fdfb-08d89c72e895 X-MS-TrafficTypeDiagnostic: DB8PR08MB4186:|AM7PR08MB5463: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ijC6+mNWUTvjqLOl4syhCtadr5cjhxEpJOUtOax2tURgbcwbtyQD29dhHHPrLtCBCufIdEjbA4KTcDD7eojEbinl6RnNJMUMOS5OKgm1rRLZUAU610/AT9nnV6S1krW4RMvbmUDnRbmhgLtyEZBi/HxpWzZ2uO6H9Nb+O3oizc7rbe7U98w62/SX/ELECBICic/HrkChaHE9cvCwtRgPmUfhFYbM1LLwCBc3Ffashtuf7+skjy2HGk1LIOLUKqlT60gU41ngSCBCHqNWpeBbxZQSbITZZrC6elWzsds8z4P1XKDhxDCGq4/dFA0bbrX2CsR3Pi1N4/AWDcoDezVMMNmG01vyB+B1RYCiFMs+pj5k9nzz9gd/K3MOWvQ9Ynwr7Q4pyc9wu5mcqUf8Oiegbw== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(86362001)(44832011)(5660300002)(83380400001)(6916009)(54906003)(6666004)(36756003)(4326008)(8676002)(186003)(2906002)(81166007)(356005)(1076003)(7696005)(82310400003)(47076004)(2616005)(70206006)(8936002)(426003)(336012)(70586007)(508600001)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4186 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 12580952-0c99-4ea7-fa3d-08d89c72ddb5 X-Microsoft-Antispam-Message-Info: aSFf+fgztZvWbZdHftksdJzMXBq3RtI+mXMaOzDsDiLwz3/EelF/vHjjUVePVDw+9WR12SePb4POCjawPqtX98NMlU5FFZqMC0pydwB0P52Xxoup3YUsnOADwf/8rDM3XkPk2WTCJMxWB/s24b9nvtPKkjOH/DvPtr5NVYtEGG1IDMUw0gu6rcd6uCwAOR24V7rw84+IfyFipp7uSAOiqM2ndu2aDhM0aiylykNeW4+JFp1SbJHT0dBegOW/PGc67MwIvKxM1gMInq5tpf2wLKWp3urApNcX2MZf8Ih9vTTj0o/QCV3IlcJk98KzPCTYHfsviiCvYCeWQDYd+PY4T/oGPBUqgSNERrLrww8KvHmAIjHbRR4TaFbBvRbc3rCA5fhMKVeZcuqQ00XpbjNSlQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:41.5204 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19c0a832-ef4a-448f-fdfb-08d89c72e895 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5463 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sami.mujawar@arm.com X-Gm-Message-State: XKRznxapx1rsCNLFc8hkIWawx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539667; bh=FXDW4t+V/Hfqz2l3avVPaJnkce13okwEnGEAlN7r4hs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=UConHYr7coxt41wt4hiVRCtjfstDwB485HjbW3UzUoE/li7C0ifqyOcDg+JF4RMFiRN lP78Q3hrWcpnqxWypDByNdWS5CHV19O3V0cG/B9fgHz8qJq5S+HdimGvfS8sjM+1h1+OU 3X99ePjcobHzQw2PdgWP2cHuOpCAvsYm0w4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add doxygen style function documentation headers to fix the ECC reported errors: - [4002] Function header doesn't exist. - [9002] The function headers should follow Doxygen special documentation blocks in section 2.3.5. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao --- StandaloneMmPkg/Core/StandaloneMmCore.c | 23 +++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core= /StandaloneMmCore.c index 803d7605ece7f6a3400866a04e39acf74cda8144..b04a9f985c6ecc601a6d7caf8fd= 433a1d4cf73c4 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -414,6 +414,15 @@ MmEntryPoint ( DEBUG ((DEBUG_INFO, "MmEntryPoint Done\n")); } =20 +/** Register the MM Entry Point provided by the MM Core with the + MM Configuration protocol. + + @param [in] Protocol Pointer to the protocol. + @param [in] Interface Pointer to the MM Configuration protocol. + @param [in] Handle Handle. + + @retval EFI_SUCCESS Success. +**/ EFI_STATUS EFIAPI MmConfigurationMmNotify ( @@ -448,6 +457,12 @@ MmConfigurationMmNotify ( return EFI_SUCCESS; } =20 +/** Returns the HOB list size. + + @param [in] HobStart Pointer to the start of the HOB list. + + @retval Size of the HOB list. +**/ UINTN GetHobListSize ( IN VOID *HobStart @@ -475,12 +490,10 @@ GetHobListSize ( =20 Note: This function is called for both DXE invocation and MMRAM invocati= on. =20 - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the EFI System Table. - - @retval EFI_SUCCESS The entry point is executed successfully. - @retval Other Some error occurred when executing this entry poi= nt. + @param HobStart Pointer to the start of the HOB list. =20 + @retval EFI_SUCCESS Success. + @retval EFI_UNSUPPORTED Unsupported operation. **/ EFI_STATUS EFIAPI --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#68576): https://edk2.groups.io/g/devel/message/68576 Mute This Topic: https://groups.io/mt/78836544/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 18:58:59 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+68577+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 1607539674286668.5004510003603; Wed, 9 Dec 2020 10:47:54 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 3gQLYY1788612xl7ezWARpfl; Wed, 09 Dec 2020 10:47:53 -0800 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.42]) by mx.groups.io with SMTP id smtpd.web10.452.1607539665563264396 for ; Wed, 09 Dec 2020 10:47:46 -0800 X-Received: from DB8PR06CA0022.eurprd06.prod.outlook.com (2603:10a6:10:100::35) by VI1PR08MB5406.eurprd08.prod.outlook.com (2603:10a6:803:133::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:42 +0000 X-Received: from DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:100:cafe::1a) by DB8PR06CA0022.outlook.office365.com (2603:10a6:10:100::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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+68577+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 DB5EUR03FT038.mail.protection.outlook.com (10.152.21.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:42 +0000 X-Received: ("Tessian outbound 6ec21dac9dd3:v71"); Wed, 09 Dec 2020 18:47:42 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3d4663108e108f10 X-CR-MTA-TID: 64aa7808 X-Received: from 5cf3849600b0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 606D9672-9B73-4682-B618-FA50D426D5F4.1; Wed, 09 Dec 2020 18:47:27 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5cf3849600b0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hvb51fHyQ6udK4bxMO8XDOJ0MVgW98NLzGAux+iskm3bwlVzaxBFAq5K/T0SrxEpe2RlL/6H1frPLYUEFP7V6Bw17AfpSBgaVqbcjF4t/sat5qbcEhPiQSpcEk4pK5m6Sg7ph0QTkEEZwfi3/xjyOules+SOfcijcF2Ss8NBHdZ0od0H84pYD+W1FQjOrlf3QAQOGmHLt6sWq1kMplFqcpBwGZ4i23+GgCtXM3SgqJLhf3r1ZP5HSXvEhOLXxJM2q5WOuwiQGlGVMWiTVLte8Js5TeBXpsjLC+XlkH82UNiG9qYOwxDKJ/UW7ErsQcgMoKVqDCYEPrTpGVhiQCmEdw== 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=en46+h7Fo0hviCbJWTf4GdJfS7aBjSvvgv2BsSUvJJ0=; b=M+nHy+44ZjaaNh4UonGkANP5jRzorX3++G848oSN4JTdMqZvCyZnnstuP4PV/JNSYkcP3VrgTxIoGkymXQ+sWddkFzk/X5vZPe6GRMxEno2BAk+0TxP4blies/Wc1fEfyZgKvEukHBJ05nPP+HoFrRI0My+71g0O1x19CMchEiafgSTT3NcvrR1t7jT4GjcRNbjaQRQ+20GBmzAy6/p0532sO+8sjRSMJ/+eMwaRYb5rCVu/Q5c8ZThDIhtDUOHgY6/Rw9tLwuH3USBgdpDqHHnft68fZjpRjf8JxMwAJVFxg0ojOeZ/FE4e1Ox2clBwF4c/T0zeuSHok8yxbKyH6Q== 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 DB7PR02CA0002.eurprd02.prod.outlook.com (2603:10a6:10:52::15) by DB8PR08MB4009.eurprd08.prod.outlook.com (2603:10a6:10:af::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:24 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::64) by DB7PR02CA0002.outlook.office365.com (2603:10a6:10:52::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:24 +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; Wed, 9 Dec 2020 18:47:19 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:19 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 13/25] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCoreEntryPoint Date: Wed, 9 Dec 2020 18:46:58 +0000 Message-ID: <20201209184710.20912-14-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e5328a47-7c13-46ca-27c5-08d89c72e923 X-MS-TrafficTypeDiagnostic: DB8PR08MB4009:|VI1PR08MB5406: 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: 91wfRSEAxUfFnb2tpyN+fveJyf5JJKBOVdxTjriAzkoEO4T+knsNaQuafgF7AWtLwt4/eLjINWC2u6J6dqqkjskg4aauF5owFl4FhA4P3Qk/1LvlDrmse3T9F6uMGz2RM7PKegjDJnxspiwNzTcDi8ez3casrm95hvw/etSrpRsiq9Xqq+L2ho2GmJFf6xUwcT8/hHLt6L9bWeEkxIhfxqwSNkKmy2C9K1Wz3xb3PyQ8QR7I1UhY2vHbBTiI27gZxRcOmgWmpvi4hBwK7eXnP+UaL8pJUAzOZxRfESwUm+xHp/+TsABu9kq6opIg0So9q8qO4L8/2ezSahRPcWp3A/0OYwVYIrseCwoGhOFWPjF78YzWlgL2liiPQUrjzpH4cwThpBEkXsi7SujF/Q4d5Q== 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)(346002)(376002)(46966005)(186003)(82310400003)(8676002)(26005)(508600001)(70586007)(54906003)(6666004)(7696005)(70206006)(356005)(6916009)(2906002)(36756003)(336012)(426003)(44832011)(5660300002)(83380400001)(47076004)(4326008)(1076003)(86362001)(8936002)(81166007)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4009 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 1f2ce1f5-ee3b-4d7a-9e52-08d89c72de7d X-Microsoft-Antispam-Message-Info: jhEHB4FTptXXJKgXGRN2H8ukuDS9ods70oIJ84mMuSBF7igfnlcnu9r0HMoQWoFzsICxc7uSgKMM/R2rKUk5WaaPxaUTJvT/d9FyJbDEmLVGODfnf6616nYOcpf50L6at/WIXDXI8IQ67OSdKxNnwQfPY74jzbHB7gsYoGNUIe/65ZhxtwKFsZPEvkxPOG+CDxD23Mof9NEtXi2GR+wVclRHRZFySTgg1Jb1+aCgKHY4gNgid81CufS8BnqFXCACknZz1yMXnDRCu79q4NxUKxAOuK8XbPhryCQyckX/4vf64G4++QlDrJ6CoQAg7X/3Xubxu9xYqteS+Dr2Kilzbo+ITSdRg5f7gZ2YrAoKmgOrW4SsKc8PDUvrL+dmQPi4SMfLEDYEYlthtNJBJMjVpA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:42.4435 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5328a47-7c13-46ca-27c5-08d89c72e923 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: DB5EUR03FT038.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5406 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: GnvsiEYUl9xdG9bd6kZ5lbQjx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539673; bh=0i2FYmUqgbhlQzMzEi4Wr8+lMpMMCD8vWLDsovu6Wls=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=tBaCl4TNTFUQ1UPn2DLOrcjbb2UJg++H54eSiMAV/tX2NFZ9Op6T7qnNKEN6nLntC8j I502312y8q4gouVods+r/0ut6yFlmIkk31Rcii6Oz8Q3GR0MU7B4AkIx/gVfMXiP/BKbU KgxRKvIBj3xizGOquCOSWzjZA+/VlvFQ7Vg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68577): https://edk2.groups.io/g/devel/message/68577 Mute This Topic: https://groups.io/mt/78836545/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 Mon May 6 18:58:59 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+68594+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 1607539707974530.2779313926907; Wed, 9 Dec 2020 10:48:27 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id GxVBYY1788612xvpe1XJapcc; Wed, 09 Dec 2020 10:48:26 -0800 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.89]) by mx.groups.io with SMTP id smtpd.web08.486.1607539677241884948 for ; Wed, 09 Dec 2020 10:47:57 -0800 X-Received: from AM5PR0602CA0004.eurprd06.prod.outlook.com (2603:10a6:203:a3::14) by HE1PR0801MB1692.eurprd08.prod.outlook.com (2603:10a6:3:84::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:52 +0000 X-Received: from VE1EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::c2) by AM5PR0602CA0004.outlook.office365.com (2603:10a6:203:a3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:52 +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+68594+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 VE1EUR03FT023.mail.protection.outlook.com (10.152.18.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:52 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Wed, 09 Dec 2020 18:47:52 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3a0679641d7ab836 X-CR-MTA-TID: 64aa7808 X-Received: from fb130f326076.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E79B5CAE-3D69-49A5-8B91-2D2BE222A5AA.1; Wed, 09 Dec 2020 18:47:37 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fb130f326076.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dZDtEjMbkPSiA1LGHKFVaMps9cwHy3eFWXYxA6IsYNFzCaie5DQTP08anxEaRiebFStlcXKYu+4nv/GdryrTPblz68cLQRNN5JVGIlo+Gk6SI1HX7N2pEObT6PLF6fC0S0mZW5ucE20NWpqA1MzeKhQmPQKFEAxIzu2KIdBfPs9ipho6gQO3tV5zpe/UqveXsJSCsqxnmyJzY3A9+CoJjZXm+s15M9DpdMrBFJMPBIhjyOKtuU2YS0YLSzTPSaA8DHlOJfXioMpFleNimB3XkICadW0iRQBLVSVEtyNW8u6zMviijLpu5J2V0Ks2gJWNseUkuB0+slPjmPAGSUu8Zg== 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=RoMMh/RxiqGrP2ka32SCx2US7PUr3y0wwxEnVUhKfZY=; b=CRULaaTtWfnQQQubtUchawItoikdwZL9Bj9PNpCoYb6M3zjIBoYbgrR8VioEoNK0E3nMW398B3VVegEENtpwEUkNKAo4YAOhMuKGOJeb8JAESPxVOhk1gxz2+BQYHJ7Ypaq6uTrTe1HhHI9eCLt53hhwa9KzQ8Gve1GifjRVppp3M9BGk3o1PPA4cLR+x03jZfNsFdplw4MIh+d4p5/Qnaz4goD5HASBbCW9Ck9Fd3KsxLhItyyNRpzOzWgZAs12Odjr2AHGX5Axio5FywguCjDeeqbn3iRz45UAYjYPrnuGc1FqPHekfT7ooZf4AdP7jCw21qsOytqzoUnH0oQFdw== 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 AM5PR0502CA0003.eurprd05.prod.outlook.com (2603:10a6:203:91::13) by DB8PR08MB5321.eurprd08.prod.outlook.com (2603:10a6:10:11c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:34 +0000 X-Received: from AM5EUR03FT051.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::16) 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.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 AM5EUR03FT051.mail.protection.outlook.com (10.152.16.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:34 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:20 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:19 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 14/25] StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmMemLib Date: Wed, 9 Dec 2020 18:46:59 +0000 Message-ID: <20201209184710.20912-15-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc36ab3f-2873-49ad-b276-08d89c72ef39 X-MS-TrafficTypeDiagnostic: DB8PR08MB5321:|HE1PR0801MB1692: 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: MSSXe6Ms/FMbmeaSP8p8uXv3/JKeoD0i+0cOtmWSS5iTgRATq2vG8ge56FKkVhzk8W4q0NR/ZN0y6q7vIWED9FnoQGesS4CeT9ARFrRDIKPeBezuJq8MtcNmNgBtJtCGwbzZbTgXXV/LYZ/k23bJb9xLX71gJoDOEbelKywLIozl/1igPC0GtiK+HQx3qRxMRBjREGm+jBWsaLH7fR66XiWioGGKqZOpLBdiBvtFatxyigoHoiY/Ot/6ijAZNScGwbEwWmHNOMI+WCUjndYS50Eyh5p94H1O8Ij4FMvXE0K2sitZaM3l+oElVJ295aZRvdtJNsy5rwmGCikwuk5nHbm0y1F57+mRsNbzMVdUE05b+GXLWyNsDS3RtALd5q92vZJl0MgJYow8LKvw8HhupQ== 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)(346002)(136003)(396003)(39860400002)(46966005)(1076003)(83380400001)(2616005)(426003)(54906003)(4326008)(8936002)(5660300002)(86362001)(81166007)(44832011)(26005)(70206006)(70586007)(478600001)(356005)(186003)(6666004)(316002)(36756003)(47076004)(82310400003)(336012)(82740400003)(6916009)(2906002)(7696005)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5321 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 89d8ca30-c8de-466d-c154-08d89c72e476 X-Microsoft-Antispam-Message-Info: LzV2XlNocx84w2xqOwftzL8GRLlxxrtG9Fi1bCCCwrZe1MU6iAGNtiVUmBTfdSBrzC4lzG8NjB3KGHqcYhkvTr6wZXKgLLzPtZ8X61GIBZsgnpNnTwq/rFD5B9rSGR/xwj3T28opLVPsgAeOLS54IYLKgp/qjnFCZUb9ooXS9Ehhlv61J3BmBskm0DCE+dMyD1Fya5iZZM3VUfpuXYTBFHJWQTm6+mU6BfiAhev6mgrH/nadcHG9h/jr3M2aTu9r1Qbhny7tQVicwL+gXjYub73VNl9e6DH4PUajHBpj2SWDYb5OftFMoIuHJpCK7CNc+W7Q6WbA68yzpdD45VEzQXnrIYcKMrFNSfi92NERqVe6KjKwk40CHtJcQWDz2LyZsebtYTCpVFpQMFwmnUUIvg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:52.4986 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc36ab3f-2873-49ad-b276-08d89c72ef39 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: VE1EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1692 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: wuw4jmmH8eqCuqAw6VSMlyidx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539706; bh=QeeTm7/JzyoBivlDyQcOMQvrnBYh4CLJW1s4QPDQMn0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Ael9bsFeDkXNk+lg5PeRUS24a0zTCNB1vJM0vQDfey96TzZMfmHF/4rVk9ux8SxsYk5 wJ9TVEV/KHtzuLVESjvcHUYYbxd3cEdiGxirtmkxYbr8Hf+XSpNKxO3TiLVBPpUjvKgSk LTKx6cr3R8x4DXfi+jHt1I/OvWXJLInkJeo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68594): https://edk2.groups.io/g/devel/message/68594 Mute This Topic: https://groups.io/mt/78836565/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 Mon May 6 18:58:59 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+68586+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 16075397012218.458865271030277; Wed, 9 Dec 2020 10:48:21 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id XgGuYY1788612xI3PmwcihZH; Wed, 09 Dec 2020 10:48:20 -0800 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.42]) by mx.groups.io with SMTP id smtpd.web11.451.1607539669901544105 for ; Wed, 09 Dec 2020 10:47:50 -0800 X-Received: from AM5PR0502CA0006.eurprd05.prod.outlook.com (2603:10a6:203:91::16) by AM0PR08MB3249.eurprd08.prod.outlook.com (2603:10a6:208:5d::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.28; Wed, 9 Dec 2020 18:47:47 +0000 X-Received: from AM5EUR03FT051.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::8c) by AM5PR0502CA0006.outlook.office365.com (2603:10a6:203:91::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:46 +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+68586+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 AM5EUR03FT051.mail.protection.outlook.com (10.152.16.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:46 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Wed, 09 Dec 2020 18:47:46 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5b5eb9b02f54d45e X-CR-MTA-TID: 64aa7808 X-Received: from b18bc4840a4f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1413BD28-147A-4135-957F-DC5542D2E2A0.1; Wed, 09 Dec 2020 18:47:28 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b18bc4840a4f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dvea2Ztxi8OSEZiKQpzsYBz2/VqL9AOGzp+njTuHRjG7UUjSKbxoik7aHWx+6RVpXGZ7+gdvGZNp99jxKaT5iyJq2QmhYbPu2cBXfRL4qT8Lz3YalrNT/Jg8qc8BlaW6rJpAXYV3DNSfpFyyZq0YsrjJqXpTYXKSALKK8eFJSaKSiHxQJoB8iUi2i8RVZk3/pZZSSC62vau7tT71UYlCTB2oRUAxNiHO2DFT9/Hc/ijm79bQUXTjCJ3G4hiJUBPr2Z2dp4T3J9GWGAhjlbQfTnjcf+SseRkBGMEN6Kmw1V6GVy0nNuSMTfsckHYLm+OaI0E6VQf+0u7rHIHTBM0NQA== 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=IECaqLUMrxThwxnoukvf1s/TwMGDwy5UewrK0okJOFM=; b=GUBvUXkAMAFbLuOZaHbme12N/kHqfSGESRUTWvj0CuH6r96HUKzbFjJWw5ykDj2VLxCq4z9BICzWfo9pEOOPVgdq+Lz9OxCH91JekdGtABMel9zOUmuXtE9/fE45yCvN6/giy35W7WkeJn9Im/N5VS9UN9Iq67c+SPGfGFzvgx55DwwbzwdYcHDyElI8YY98tJIVdi367fEMqkMq40QtzyA6OxOITiDI2ur6ZaFKeJkGl/eDPWnLz9ihFTvnjva4K/MgrX7lMzHFLGCdshYk06vt+EPlWrP+ATWwRasGLsNW9DO9+9JIxp7bxEwTF99tnTl4C5DjnNRWWOSJbrPSpw== 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 DB7PR02CA0034.eurprd02.prod.outlook.com (2603:10a6:10:52::47) by VI1PR08MB4525.eurprd08.prod.outlook.com (2603:10a6:803:101::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 18:47:25 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::3d) by DB7PR02CA0034.outlook.office365.com (2603:10a6:10:52::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:25 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:20 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:20 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 15/25] StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmCoreEntryPoint Date: Wed, 9 Dec 2020 18:47:00 +0000 Message-ID: <20201209184710.20912-16-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f723b65e-2a8b-48aa-3b1c-08d89c72ebd3 X-MS-TrafficTypeDiagnostic: VI1PR08MB4525:|AM0PR08MB3249: 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: WnDzu5oVyR4064dzHGtv0cYjCdSpS4RuTpABm8D9/1V0Oxbk0M6dCb+wLv0PdM7+2ypyATqedJwQ6E7YEoA4tmJDe2LMy9FJAe4Ylr602ejmXHBRwjsYa3rcP7QxPW0VoKhN9ZbRBjTDG/rVHsTyUFKlHsSdL3Yp7fmDRwL7oTWm4ZAQ1I/SgBsN/6wuLyvXCgqMVAXBnCaYDlkZqlM5ZShrzz3/+vXTaiO7xPd5qtdz7Nvb4TT7YY1Bgk98ix3Xn9B/L6Pbu5KNxMVpUmDw3+RCDWID8oC/kMZ0TlgzUwnTWgixqponiSS7AJlH22l1wxyhFRCVnfwExp6kn37wHzIbumWiktbf0mqbqPRLX2f6QRmQ6pWDW9x83Bc9I1Ymy7g6IdnVjF6CRBWU97TKww== 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)(346002)(39860400002)(136003)(396003)(46966005)(86362001)(8936002)(83380400001)(1076003)(26005)(82310400003)(36756003)(336012)(54906003)(6666004)(2906002)(7696005)(4326008)(44832011)(356005)(5660300002)(8676002)(81166007)(2616005)(70586007)(478600001)(426003)(316002)(82740400003)(186003)(6916009)(70206006)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4525 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT051.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ed007c9b-e0a7-4ed6-511b-08d89c72df24 X-Microsoft-Antispam-Message-Info: fvChi9PhBgtmrma2AYbBRoo/cyjhMyZ0bcM9D7zQWJP/l2I8AK3ktLAM7imssRArIl3Yb4qZcCRMaTsJY4FEGlz9pNVeXd6YknjfECRMTnda7l4pXmZWk7+IcP4y+YVNHPGJYac4RpfM9dtUHUKOsv8JeRwdiPViPxBReJpJXnI/uriGT8zm6h/FQlqQVFJzqpWCidZx4+QDEC45n0DRsQ6vAXIxLQSuK4BOM4YakLSmPQpRbEsAVXxkHVoXdVVZoJrP5ZlnuXmS9GTFl3kyA8fAM+crG7QtWUj3RKIskh4DiJb3oBjFDu3EmrAIgOWWpFoCMfG9DF0V4u7kapCb1kAgD4puxZ61AQd9Htt3bry8cV6aMCjx0is+/rAhkl0+WRY6k6Xl1Iv3NpWPHGDBpA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:46.8989 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f723b65e-2a8b-48aa-3b1c-08d89c72ebd3 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: AM5EUR03FT051.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3249 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: lTeRsQ5A27LxMzGIfs9l8rxWx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539700; bh=u2SUQfDS4BSl9ybB8PTy0SYjzxCZynJqHpxnU65xjCs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=OOnzMT91z8oshsQg4AVVdt24iTM7t9ZH4kYebHOMtLngRx+dpNYPe9h1VU3xfbw5lhd N8enE6zZ7Ia285W0dQ+nzuxNpxXiwJTiM9b4DvuU7bI6YxgdCy3+syK1E2qgRCN14ig3z d/uc7h4P8O5BBLcviM1cmUnIJYdCcafmde0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68586): https://edk2.groups.io/g/devel/message/68586 Mute This Topic: https://groups.io/mt/78836556/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 Mon May 6 18:58:59 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+68581+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 160753969268571.8310359303016; Wed, 9 Dec 2020 10:48:12 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id g6TZYY1788612xThKSI5KlOd; Wed, 09 Dec 2020 10:48:12 -0800 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.69]) by mx.groups.io with SMTP id smtpd.web12.458.1607539667060073429 for ; Wed, 09 Dec 2020 10:47:47 -0800 X-Received: from AM6PR04CA0063.eurprd04.prod.outlook.com (2603:10a6:20b:f0::40) by PA4PR08MB6109.eurprd08.prod.outlook.com (2603:10a6:102:e2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.19; Wed, 9 Dec 2020 18:47:44 +0000 X-Received: from AM5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:f0:cafe::2a) by AM6PR04CA0063.outlook.office365.com (2603:10a6:20b:f0::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:44 +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+68581+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 AM5EUR03FT021.mail.protection.outlook.com (10.152.16.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:44 +0000 X-Received: ("Tessian outbound 6ec21dac9dd3:v71"); Wed, 09 Dec 2020 18:47:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: abda9af82c8c618c X-CR-MTA-TID: 64aa7808 X-Received: from 001eee7926e5.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1FF3B7DF-7CAB-45C4-BA14-18C41342AC5A.1; Wed, 09 Dec 2020 18:47:28 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 001eee7926e5.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WH7BZaDvELt+j16C85vW8y2h6egIjIZoOja98BtI/j5AWldEjZD9ej+Hn2wbvaosRRRNdJ5w8XdPJ5sFYLKkjhp8WY7+ZlGSElvuQmLDrdCBTiiveDe3sC3DYf7mvzsR+2XKWJ+ZhU/jrExRYvlGeRvYd4teJd3beP/zzvIUW2+/uo/5YLqyNRoakV5Wh+3WPEfG8kkgOnx0D0JffYs8Z8sty6+MbN5PnJDCKRhNEo6YmehooJ5m9pe0CsSMgIQsGrs7QxBT1ZspYy9Cb0FuTk3wE361IqQDRMZAm/MNvljKH099O2QSJXSTCid0mZqpjU3MvsBb2ax5eJuQ6hyM6A== 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=rFvUlZb0FsVX7svtVDjVIKCwVeNZQKWbImf5jE+N9EM=; b=g/jdGRi/IKcViCWzNNB5iN3f7tUvc01E9M4S9zwfAGd//WyO+IvKswUQIDpEhE3MEGt2dFow3H1oj2/piG8X2rI/zNGhnw05O5M2E7H3a6bBnI+NLAXgKuUgcZFCC6AhK99sWVKac4ME3mY0biBosq++k8bRjKghHW0TczIvMEazpqpNiCK+QA9MBOla1l3JODaI4DRwphpXcrRb1W4hgRpXVFOVEIU/2nIEaY9UAlgwqg3XgguFdHJSK1/tVBaMtDMSiW1qLPt3p1X0h7qoi6tPfL/rdQtUNZTurEm9jGl4SIyvjLCJfEo06Gmktb/rtWLZIAuInSZNdemI39jV+w== 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 DB7PR02CA0019.eurprd02.prod.outlook.com (2603:10a6:10:52::32) by AM0PR08MB3700.eurprd08.prod.outlook.com (2603:10a6:208:fc::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:27 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::2c) by DB7PR02CA0019.outlook.office365.com (2603:10a6:10:52::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:27 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:21 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:20 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 16/25] StandaloneMmPkg: Fix ECC error 9003 in StandaloneMmCoreEntryPoint Date: Wed, 9 Dec 2020 18:47:01 +0000 Message-ID: <20201209184710.20912-17-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 66ca6efe-57f8-423c-5609-08d89c72ea4b X-MS-TrafficTypeDiagnostic: AM0PR08MB3700:|PA4PR08MB6109: 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: 8eb0ajcAkeMG5DAR5d94RHJvfnFuKFsWOXq6WKjFEe9TmZcMrfaxFoeGRfrNUq7HvLn8vt19PxtcoTUWHclqg/ahuL1ch65t/d79T0aO4EDYPGxGw7XInkYSqxM4D6b/TnQAjQf8m6sYM4gmcPhuhmI+Zg9RPZjGHVt0qTHH8poDVQm6GrshlOnt4JuUIbKdPu/DxevgbvlSB0uANoO2wv4t8ckRDDx194zMnwt9Cy+utc/8H+fKOyq5Rqv3SpVNhaTLp+IfYW1CIRKM5pXAwlGN37y66x4LYZAHF2IbyYAzim3mtTpG1YQYNUmJ2UrT7B2BJr+wQj0VNIO8GIsCXQHR/+eeYIupQQjifZkL/vEkcDofdRPZ0BYN3cXOmVYTcz58c+OmU09Yva1/SU5Wxg== 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)(346002)(136003)(46966005)(2906002)(54906003)(86362001)(5660300002)(82310400003)(2616005)(4326008)(7696005)(508600001)(426003)(47076004)(186003)(336012)(81166007)(70586007)(26005)(70206006)(36756003)(6916009)(6666004)(83380400001)(1076003)(8936002)(44832011)(356005)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3700 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: bd0bbf64-9c63-46c2-af07-08d89c72dff9 X-Microsoft-Antispam-Message-Info: yr7UCz2qWmkX3gYV4m3COZOJIUpcKx+aCH2iJNV5nD+ASHvS+TmVmNdm4DCHJ0o+eRo0zjJ0Z7NuN4NfgY582bRFjWaIkpkc/FEpw+EhCCe8Ew4ZYUvtjA5OaHeFpJI6H54hzopy4k9G/0THfbvq4mxWwkEqptPkpkNHJzg46S4Fv5nJsAc3vAF1aX6PBd/qdLI4sAjqriOMxE8/IVcFUSnPI9TTusRme/cvf/lPcF6EdeKBrLnWSc3Mjcde0lsYLUy6iR/RX7/Ai2bvYriwOCTuPxDBq5EDRyy9kObQ1w7MIcSiDaHz/hEdc1OFbt5pfnHpON80UMNB/w7bC3sYpYUcQPlM0zhxOzrjUVdCr0CMSgtOkoZiaypN4/M9IfTGIK2KEk7cu7pdwCbKrHsbQA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:44.3376 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 66ca6efe-57f8-423c-5609-08d89c72ea4b 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: AM5EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6109 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: YjMSWMYVTeBUJgXi0Vh1Zi8Kx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539692; bh=44xInPUpk7YrXlgG0+S//kBc1ydNfAJOBxXBogkCbOs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=TBDhBgUIzucEzO/TtgXDTL99bjW/5aizEXLo6gg4tC0MaFU6EqwiPzNXyquwy0H10FJ GVWFzvnfgKk6d/BDvN28oa4q9lbwHoKho3cphrja3CIoKtmZN1GJ+QYC2AopDiim/2uhA 5AEtX0Em51cbbOAw+0N1Qp0xwdVWKWh1HnQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68581): https://edk2.groups.io/g/devel/message/68581 Mute This Topic: https://groups.io/mt/78836549/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 Mon May 6 18:58:59 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+68587+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 160753969141840.09650340399833; Wed, 9 Dec 2020 10:48:11 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id G0WhYY1788612xtI0nG160nb; Wed, 09 Dec 2020 10:48:10 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.70]) by mx.groups.io with SMTP id smtpd.web11.452.1607539670378609413 for ; Wed, 09 Dec 2020 10:47:50 -0800 X-Received: from MR2P264CA0076.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:32::16) by DBBPR08MB6139.eurprd08.prod.outlook.com (2603:10a6:10:200::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18; Wed, 9 Dec 2020 18:47:47 +0000 X-Received: from VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:32:cafe::3e) by MR2P264CA0076.outlook.office365.com (2603:10a6:500:32::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21 via Frontend Transport; Wed, 9 Dec 2020 18:47:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68587+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 VE1EUR03FT006.mail.protection.outlook.com (10.152.18.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:46 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Wed, 09 Dec 2020 18:47:46 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c949ad7395928b2d X-CR-MTA-TID: 64aa7808 X-Received: from e4fb7d2fa2a7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 096F700A-9855-4A0C-8F7C-981C034F83E3.1; Wed, 09 Dec 2020 18:47:29 +0000 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e4fb7d2fa2a7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nflbgnwx8P2kl6RTkXal9GrilgfWKg6OM6HbSQVREcGCLG+SZRlxOe8I4dV3EwmXL127xTpbvowrpwBYc9HfZl5sptJ9SJdKN8wu33pj/Kh1qBAGNfwG6f1+/9rwGR890KyA+7EyBK8UgPt2pnIeynLvGkz8vYq/QAQ0oTx3P0cUQdUKmBEBOZ3cOBewuAEz2uEYVn5/27XtdyACwdxcD+J66FoicH1Pa02tXy6mkIzKVaHvwkkcanRrLXSF4UKqQDh1MYZpFgH++VOiQ0+hONzxiHaJGOB8ctIMXX92ASNBFpm279bO8Qic3Dx2U7cGOCDNK+WELcJL32FhzdixnQ== 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=zbDtr14PHSinuIbAzB/srOa7L3dCjFyks2JM0Z6eWGM=; b=OVjCzHndBThzDyn1CWRFtY02ulcbPdXDpBkXHQxKvHlEnigTreaQqmoCAFJgPzAQ3N72Sjr0DBvifFq8eEJtedtjekP/1uaD/0VnP6+Km/IFHroGXecld65nRRbiHUcDyj+Z3H2wygNVsBb5lC/rhFK6XrTZ3v+M0mve/JFST1feA744thb5Hci0cTgNs6DZ2DdHogaoMVJbCLVmPHSTXsuWRTElpvBZPLbivX3yG3YnsSmyXtLGWd9qq12d6Qfh2EXm9njr2ngD/GiSGi7W7Gptzkk9G8f7/LFNjqNi/NA3H2Ex2KbSPIG4/SPetiVVUOI1z4akGW88A64hAVPr3Q== 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 DB7PR02CA0016.eurprd02.prod.outlook.com (2603:10a6:10:52::29) by VI1PR08MB5437.eurprd08.prod.outlook.com (2603:10a6:803:13d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:27 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::70) by DB7PR02CA0016.outlook.office365.com (2603:10a6:10:52::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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; Wed, 9 Dec 2020 18:47:22 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:21 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 17/25] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu Date: Wed, 9 Dec 2020 18:47:02 +0000 Message-ID: <20201209184710.20912-18-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 28be28e5-dd46-425f-b7e1-08d89c72ebe6 X-MS-TrafficTypeDiagnostic: VI1PR08MB5437:|DBBPR08MB6139: 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: Q2d6GyZXHOaXhC7XOJbdfhjchN9bICoryUuN9XGlDyQeTZTn3pG37IWOJ5HbnXBbrbQPM5G+wPY/607AiSfJsSYiJuKgsqiscZTU685JbrjCHKf13GVtOLSU0vBnqV7iPaCeWLoUGkWQqXEPP5CrTfMNH7IG5taRzEqBVIm6uZMBxSzfcIvyXBRb4holWsDZknA6YE1gLYoJMOVZhBC7CsYTcOPoCKdM5hIKAr6wA3a85tGNjFoG2Zye7xmJJc66fIoq4CKm11paAl7KY8b7gBBizsgvmjl+hxESbdm9ZeUxR47vbXaAc6pWPJ7HyWCNEVwvRAhR1qHTDcvd5GWmC8xpESHM5bySDObjw3Bxmo9j8lRGdRcnD7Yf0MVPqWAw7GcytDBDwVLLPv65+04Taw== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(136003)(376002)(346002)(46966005)(2906002)(70206006)(7696005)(36756003)(336012)(81166007)(426003)(4326008)(508600001)(8936002)(8676002)(82310400003)(44832011)(5660300002)(47076004)(83380400001)(54906003)(2616005)(70586007)(186003)(1076003)(6666004)(6916009)(26005)(86362001)(356005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5437 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 2d13defe-1bff-4ef2-87bb-08d89c72e05a X-Microsoft-Antispam-Message-Info: 7RZ1wOy16acrDvczjBhkEFJHFX0ktpXhKdt83thTJqhBCVQIxwQPu0l2Ftw5NV3QOFNn9TCzH0TfdYTDa4I+xNrBn/I4YrfiiHs8jDlNfdGQHEOgIxO9BqQT6Yd7KS+CVCTUSj6TAMpMagwx5UzbEWhRQ1TWl8yvKO2PpwPHtlXuCSfjdWixTBB5LEmcu0HUcG5GFhOqjQueYcUJAL64RH6jEn3T2bIfJqbupXlel6ZOJPMIwwAgiesNzPu4X1RHZNgcyG9T3O6S2KmSwYPYQ/RZWvHXrQxy8UAlqJRk++0hNtboyGQu2p2dTgUVMiMAAU44Wma4AVtZX1uEMCzRmuTghj7SHYV+j5ptwSKvusYQH4U92jkqXKoSUbzjEX+3TQ39ZbN7Cx/uLV2Zp/cobQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:46.9636 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 28be28e5-dd46-425f-b7e1-08d89c72ebe6 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: VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6139 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: S0UQBPI33RvOYJop5k4MXtzgx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539690; bh=1vbAn5SzPRnF4Ui1T997FWsF2bphKq1xYB1BLd1+PW8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=kHuHPSpPfnrHGpRoUfCv3vD18rSuYHkzVzNRrQPzANLYxLNtzHdr6n9cbtq+HeNCHGt XH+dVW9lIKq9PvAc+xnbR92mwV7AofKPnG3Do8KZVzF2kC555P9GxpHInh/65dd6Zmx0Q DbZ8cYciqj90LAwHjb0BdCB0Fa7cJ2KYL78= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix the ECC reported error "[4002] Function header doesn't exist". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao --- 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 (#68587): https://edk2.groups.io/g/devel/message/68587 Mute This Topic: https://groups.io/mt/78836557/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 Mon May 6 18:58:59 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+68583+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 1607539686413203.21687260295846; Wed, 9 Dec 2020 10:48:06 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9KRpYY1788612xAYHTr2n3YQ; Wed, 09 Dec 2020 10:48:05 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.85]) by mx.groups.io with SMTP id smtpd.web08.469.1607539668519015937 for ; Wed, 09 Dec 2020 10:47:48 -0800 X-Received: from AS8PR05CA0017.eurprd05.prod.outlook.com (2603:10a6:20b:311::22) by VE1PR08MB5869.eurprd08.prod.outlook.com (2603:10a6:800:1b2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:46 +0000 X-Received: from VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:311:cafe::f5) by AS8PR05CA0017.outlook.office365.com (2603:10a6:20b:311::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:46 +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+68583+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 VE1EUR03FT059.mail.protection.outlook.com (10.152.19.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:45 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Wed, 09 Dec 2020 18:47:45 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 678e4ca801b5637e X-CR-MTA-TID: 64aa7808 X-Received: from e4686a0e8eb3.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 93E0C214-DC0C-4906-8E6D-478A78C697AE.1; Wed, 09 Dec 2020 18:47:30 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e4686a0e8eb3.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RYVSc+vDc/eLuj6JNaXQERoJiiA/jpVlL627FWImfv/NKCaso+qZZMrUXCPH6NFjOZjJ/hjjiJizzOhPDPSBIR9KfVH/8uQPnAI/B/NBWozWmXWRWNGVhFW/guEAFxVBMi8YyqYgiBISlgv4zn4i+5J7/IiI6WFfMopYwGwbnU0gLcwpULVfWKL+DC+KLH4MbcTN37gXjdau7v8qqCA+nA1ML9KvkhjpMuQKs3+mkuPT2EIitnSU4B/Z3RdRSobls/fk2MOi//XgO37gCz2W/OFNskGWvzmtc/nCehxIJKgFZJpAMHP7AvISSkJbwQ8nPOSFOy8IlkNkCn/1bTKt3Q== 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=qU50gwjyaV3H6nbuoPeyQ2ACl4CGFRnLPItw/5EQAZQ=; b=EO1Uo+hky1iM77Dyiq0NR1IPhV81fUgYJCwoepQ/VIEKHSi7dU5Gs+4dekayeYiwaRhHpPcL3gZDDaQrJ5fcXBaWsc2lkIrC8/Q4KSyndfYLdptMdU4AOyM+7DFJjB3t/0/MfAZFCV6IONnuzJtecr9C/H0TuR5PiOGkQTcqxNGovptIXVrcrgB6c7hvXwNz2Aq0poN3NMA8fSiaqfR+ysX1L6OSr2UAcV6+0ji0PCSfb0DqorHUoK9grlTErLCJ9UIOjWpbcvLJ4iaB2XREdkZG43CgyCCAxsOOI+anbHKHw7iuoBK+QnY0aAEtPk3+bCfimUpBwU2DrjdUzCztWg== 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 DB7PR02CA0005.eurprd02.prod.outlook.com (2603:10a6:10:52::18) by VI1PR08MB3167.eurprd08.prod.outlook.com (2603:10a6:803:47::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:28 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::12) by DB7PR02CA0005.outlook.office365.com (2603:10a6:10:52::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:28 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:22 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 18/25] StandaloneMmPkg: Fix ECC error 9001 in StandaloneMmCpu Date: Wed, 9 Dec 2020 18:47:03 +0000 Message-ID: <20201209184710.20912-19-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b50279f1-9877-4834-eb1b-08d89c72eb50 X-MS-TrafficTypeDiagnostic: VI1PR08MB3167:|VE1PR08MB5869: 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: 5HFBgYxS5NlAfYtarSDKm1A7mzr6zh4yuXEFbdBLxMfiy8i2dtfp84Ui2dCUYPssKkSC5iQi6rEQ0bHIuN53Z/mIoKP5LaiYPJ/LgOYYG8hxfk7QtUvXlIL8RlhA3PWgKqawmvC5Tl99GI3NTc8f5//A4hTKGGJpPKsQXrT6DlMmST7chn4UWxOZXD9fGHoDb3adI/kkjugiVPla3QJaeGehnkanllS6uti95bMV+VSe5gy3fI3Jw1kuIXruKIJSYZmTD5jlUsHh9e+KjC82RgM7mw0ahcMzDRdJcrvb3NpJKIXaTF6ReiNSpXzQOMbhNtEe/TtnbG265sGapLmYRqwv3SMS8zbq8k0rk1dd5AxMITHs+s5cDEPIQBaCcXGwr+0p9YoKL8WSRNYgKcTmnQ== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(86362001)(82310400003)(83380400001)(6666004)(70206006)(2616005)(186003)(508600001)(54906003)(2906002)(4326008)(70586007)(6916009)(47076004)(1076003)(8936002)(81166007)(336012)(356005)(5660300002)(26005)(8676002)(44832011)(36756003)(426003)(7696005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3167 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ad02286a-2728-4a45-097a-08d89c72e0bf X-Microsoft-Antispam-Message-Info: RkpzlqGt469FNy7NFjeGWNzre6ia0mVNA23YlUpEGJ3hITrchbUeM6X3+mu8+xl4xnpQ4uTvqota9tLTGQD3zC4/x72urgikqwJyJDwVOoArqwJD2tMvIzwpgWBskFTbL8Svy22D8xJbGjXmB+Gccf3rMDlpTwW0tZFMUqa6AaaZ0jn9Zb+YmRUDOKyKi4HapkD10CcIZlPoaBQSe6hohlbVdGmBaLcEDFTQrGPyIqumUxwuC2PsNS0cJnQeoSXPOppNQ0l/TRvSINfJS6xVpKcqgn5slPPNvdejnQPckUsonxfAwAjZPZ9EkElP6hvlfl3tATXl5nmW3b9e2yG6ecZo23Q+uWiwgKFKNgUwhEDlxNkl6HY9+3RPaAhEAmH3eKQWJtVtNKpSn2z3GzfKsw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:45.9699 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b50279f1-9877-4834-eb1b-08d89c72eb50 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: VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5869 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: 8Fc8cpJhwP8RlRVN2vdF6nPrx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539685; bh=NJYwq4NR4aBEr4qv+VouYN2u2ZUY0/QjFjpwc18ndgY=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=YvV5sI3U8LHszdld/M48r//shyqlaLrFS2OXvCaQNrrrDWqahbXfgq15rFDZz3lw1Mv 9/aSG2tyDt3zuxgu+c8Gcc0aRbcZSdI3z14pAmpMEEin01isnEZeKsJgxhi3RCkq/C/VA H9pdIwNb7cGsmc255DUzUQ4tOGYB+joPUnY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68583): https://edk2.groups.io/g/devel/message/68583 Mute This Topic: https://groups.io/mt/78836551/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 Mon May 6 18:58:59 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+68584+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 160753968820737.46079864832666; Wed, 9 Dec 2020 10:48:08 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id xWUpYY1788612xjUFvEAHh1R; Wed, 09 Dec 2020 10:48:07 -0800 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.54]) by mx.groups.io with SMTP id smtpd.web08.473.1607539669482999629 for ; Wed, 09 Dec 2020 10:47:49 -0800 X-Received: from AM5PR0601CA0061.eurprd06.prod.outlook.com (2603:10a6:206::26) by DBBPR08MB4885.eurprd08.prod.outlook.com (2603:10a6:10:f2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.22; Wed, 9 Dec 2020 18:47:46 +0000 X-Received: from AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:0:cafe::f7) by AM5PR0601CA0061.outlook.office365.com (2603:10a6:206::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:46 +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+68584+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 AM5EUR03FT010.mail.protection.outlook.com (10.152.16.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:45 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Wed, 09 Dec 2020 18:47:45 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 80618ef46afa8c28 X-CR-MTA-TID: 64aa7808 X-Received: from a77c5761f590.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9160D5A8-EA84-43DC-8090-5D0F35F18572.1; Wed, 09 Dec 2020 18:47:29 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a77c5761f590.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ILHjvulczDTYzdj4MZEiTXyREMydGdmhT1uDyOLlMWwWplJvOA33BzVFT7AkIJZ0lXrmCrK7SlHTtzXldAg/5EhoaJjNX0GSjfrSEW7/P0F31OKr8zvIyawtts0AL8ZZ2mohEz4V0ZCSSs7YRiIqwBmcQF9PWEeoEDW3DNwq1K6p0Q+DqKV5Ar3WiOSUSZmxSvNGZu+9ydT3kiH9ZE2iXIHf/lXnDKZlKXDByvJofhSOSYOgZi5Ynkityume12KsceuYbPkQ8cC6uqIa/+s58yijxpUPtdY8LnK64qSUDRTC/kV26IVsGjzOJScZTur0ZcS48xUmpx2bwAuhGgPMkg== 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=alEkWA9M4SDfcJeEGLs/kp+468LOix77sh/WX8mxMfg=; b=cFb36VKU9WaY+EppkOPKSoxqmLEZjGvezjKQO/9uNNZ9C2IEWVw/u56d3IsSA+rncbIUbwGAmCtong+/JpywZzJyOW9Kp2iQXagsvrs8HfC+hrekMIq0eDsoZ7VV2LOOcxtH8gSjnrOIde6pNYEKccI4VmH+xj/XBpQM16/r0gf+eKRCicJijDafhWjfGkQ28zliId6/oGPS/kkWZKvvXC09u9MQsiwyEL93eJSnWy8Bqn2VD+YphcgxdA8s1TRH1swTyFFT4W9BE3mr3H76Mgado+Tq9Qh+8V4zKI2JUeKTur3GQUIb5OJ977Jm1VAPaeGmwrhbWpxVhz/7w33RTw== 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 DB7PR02CA0031.eurprd02.prod.outlook.com (2603:10a6:10:52::44) by PA4PR08MB6317.eurprd08.prod.outlook.com (2603:10a6:102:ec::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:29 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::b4) by DB7PR02CA0031.outlook.office365.com (2603:10a6:10:52::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:29 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:22 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:22 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 19/25] StandaloneMmPkg: Fix ECC error 9001 in Standalone MM Core Date: Wed, 9 Dec 2020 18:47:04 +0000 Message-ID: <20201209184710.20912-20-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b1f0d38-a8ec-422e-9324-08d89c72eb35 X-MS-TrafficTypeDiagnostic: PA4PR08MB6317:|DBBPR08MB4885: 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: PVeVZVBcAIIz0m97L4C6QCLCv1ou0ojKDHQm79lFX22bTL/Y3QWskr94MeH+SGzdDssnvXkNimVCb2jJR9YkpWWAO4evCQpLKCYH97VA5Nlmk082vsTHEDvElapCs0pVWdL3o3FlKwyQ8OJSs+0E88I3ntaZs4qVc3I7sXBkc992HJ30Gdcp3wkG0M0d1qMVISLSGB3G1LcM1NZ/x0G5buRz+0FxtsHo+VG7olY/btvinWoS5KubYwER5MKlZeRT1WSM4bwyz9M6e0pghEOCeatQ5tav51CIdMzGBBYiprwM7W4PWB7JftY6/AQYtb/nnd6zlmP2O9TRuEVvM5CNRJepzseT7Jo++rFKTig8YKewTe57CZp3VsOyK/G7+0SGEkh5kx/EFV1UiCwnMUqGYCyhFzmZmTglXknUdU5HzFsfuMm4Pvk0Kxh6VQ060X07 X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(136003)(376002)(346002)(46966005)(186003)(81166007)(83380400001)(82310400003)(508600001)(6666004)(7696005)(336012)(6916009)(8676002)(26005)(70206006)(54906003)(70586007)(356005)(4744005)(8936002)(36756003)(426003)(5660300002)(47076004)(4326008)(86362001)(1076003)(2906002)(2616005)(44832011)(14943795004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6317 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: eaa71f8f-a954-477c-04ca-08d89c72e122 X-Microsoft-Antispam-Message-Info: hIhlGJbsgqzvjy+QjJ2JFGHMRZh1uG3n63wrpAauZ6OkwRt/1LftskEUyLPeo/u27AkzIl0Xd/KPT6Zlb9ylCRs3bXyf0nLlsZy6aWddMKQ2IhLSxxRbw14UdSsf7q3VWLBZSA9+WGnKM7hSba3veRT8sHAnOhxqoWkdUVucSbTmqpia1rmMhmTuYB8mBo6HsXnI95Hg18Zh0/tFvG6IQMgUSN3I95UdAA/a3WjXQagqFpC2YXTqvt+TkwraqvnBFOUMUUZwkDZLHDOWDNxmEEdg0vBYO9a4lGERTkjPvlwJTnDtZJkHrjjbJieraT5FgdlgsiF5zjnNLQ1yQv/qX7lF/deq2+oEUaEjmZlfd7IdB6UsXYRHJiKhEeK14qmh6Qe2fKc0QVmd3DYTmV3v+nXL95Pl0i5VMzxwlEuaAupQA5/HDc3BrB9mQYoKqyUB X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:45.8727 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b1f0d38-a8ec-422e-9324-08d89c72eb35 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: AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4885 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: ElSP0n5p0f3GaOCo8RFs8Z68x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539687; bh=I2PHEZNm9saHf21Un7/zh+03pTWpehaQnq/U4ZEJAwI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=jX9Bgs6AHkLvnxjDKM3z8Z0bnI1Ba72kX5g/MT3VVjqy3mble1MyrFCiIJbxzLtv34i HZfMqWgCMOwRGoirk4kWHmBVS9COvnDLjA2hdxB1Bz1TZExokHb69eYGywjctaINf/Ecy c1gdO1w8pn5P62g58K0hYj87Uti9lsi5joM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68584): https://edk2.groups.io/g/devel/message/68584 Mute This Topic: https://groups.io/mt/78836553/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 Mon May 6 18:58:59 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+68585+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 1607539689435818.6225264116946; Wed, 9 Dec 2020 10:48:09 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id R3wTYY1788612xSupnymm8Yw; Wed, 09 Dec 2020 10:48:09 -0800 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.45]) by mx.groups.io with SMTP id smtpd.web09.462.1607539669555670050 for ; Wed, 09 Dec 2020 10:47:49 -0800 X-Received: from AS8PR04CA0151.eurprd04.prod.outlook.com (2603:10a6:20b:331::6) by VI1PR08MB4606.eurprd08.prod.outlook.com (2603:10a6:803:bb::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:47 +0000 X-Received: from AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:331:cafe::3f) by AS8PR04CA0151.outlook.office365.com (2603:10a6:20b:331::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68585+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 AM5EUR03FT054.mail.protection.outlook.com (10.152.16.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:47 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Wed, 09 Dec 2020 18:47:47 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 655e1c0c1be611fd X-CR-MTA-TID: 64aa7808 X-Received: from ffc06fbd25a6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ACA2B9C3-ED80-4A14-9E36-9D0DB5894EE3.1; Wed, 09 Dec 2020 18:47:31 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ffc06fbd25a6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lZIgYOGGaD3Bu82gX20ZRtLbz17D21dXxkN5+O13mMZ577QU14Lnr1RAj7Bi+zMUAHxl+hBqfKUDRszXo2HAZZPZBeozr9ZcvPQ0+8sfyZg1swskjMSOrCXRZZR6x69IOuUrTSi4XySIYWW+UQsVKqd0kYlc10cwOe/2XpOClTIeeIk1TU5NJqb8Rthfz2vZcoVN1iF3HUiWbJVzPXi+vytkzYC1Luu9Mn03DtIjcC554koX181DXJTmSNXGkfXzj6vSupmJSW7dNpcoZDMTSufcnjjIQri6f7uowsyuQP+aLDIMQT3DfK1XQWKmNNpUH/JlRfKsfqSWi+aF7xdPAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jmwEOZum/1BSKipgPuSpqimFl8rrXYx7IEbfBZ0gWmE=; b=K2rthLgyAn2ULlUTn2HWdI4RmZkM0Z1W/2722Szjv77O7UgWmpJoaNH2HV3JAAQsxHfkaL++702gY78ojsgvVnIcQ9A9W0uWR57liaAH0webn1zXYW93sxEP8hw+GBNbIUGP2/ivY+itjGiVxCsJ6GRIiqOINbD3e+tFJXSki0JTgn6LRFzhvMjbugu8QG6R/Gpahp91Mzi9FgneVjdpeLQ9vmu0b0F2ZFds1wg6nS90AmuTkAbYc973RxzBaZdU45sWz+VWtwXks69HdoUQRgGzCjxpczwwcJ3K6wnGsa4C2PynuA0PkS85T2Qxl/O71TVKcnM/o7X2v0KfnYj4WQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from DB7PR02CA0031.eurprd02.prod.outlook.com (2603:10a6:10:52::44) by AM0PR08MB4241.eurprd08.prod.outlook.com (2603:10a6:208:140::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 18:47:29 +0000 X-Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::b4) by DB7PR02CA0031.outlook.office365.com (2603:10a6:10:52::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:29 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:22 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 20/25] StandaloneMmPkg: Fix ECC error 9002 in CoreMemoryAllocationLib Date: Wed, 9 Dec 2020 18:47:05 +0000 Message-ID: <20201209184710.20912-21-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 324c5509-d39e-43a1-b13d-08d89c72ebff X-MS-TrafficTypeDiagnostic: AM0PR08MB4241:|VI1PR08MB4606: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6108;OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: L++P9MJFlk+A23XIbnSwPntJvyrSTAnGezvfzFBCQzk+SddqqUhMRGdhjZjt7Pds3++RSx+w6xSaxBeQ8voj9fuhTP0qlAIHT76h3Zqb02Ug9Pw9et8weyvVCpopwQ+DSogKF8H5FUUuAw4jvbUVgDCw/EaUK3QC3G8cY/W8pJkMGi50l+u0gkX1GNG5nJ+fZkwqIDOKLHUh9hSGenfv+io2NmjtIt0Xo80fohr+Zi3tTUoQM56u09srPp0PD0X91wYU1XkjVB3xB5LWYejUp4hkiVZ+BIbksiu/nrNtanXds/iHiAEeuWuJTTz8iX4eZlM+Kz/pFy32LlZniCXl5hc+MqRCxRUYh/1+r+edGm5sUobYyke+UEeQSDNie4mGvPqqgWb8L9mMaiZHd3+2ew== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(136003)(376002)(346002)(46966005)(8936002)(83380400001)(2906002)(81166007)(26005)(4326008)(70206006)(2616005)(44832011)(186003)(82310400003)(7696005)(36756003)(70586007)(508600001)(8676002)(6916009)(54906003)(86362001)(6666004)(336012)(426003)(1076003)(356005)(5660300002)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4241 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a0dffceb-eb08-4f6f-cd7a-08d89c72e166 X-Microsoft-Antispam-Message-Info: KiR7FE6HYoizJ97c1ka5AU9JPoCcJ2vDbqGr0ElmQpXT/HZyaYfRW2ixobVMxn8fGWcsDbXx8TmERg40lmKNYAeI90650pOfhouz5c5sYqB9gHhPRpXba793Z1A1YUDGpE7ZkphzjFcTPhnxI9PM/b9O9H6326UeGYxzKRVkb0SvKE8RvqnjQaSGgga0HNA6gRjPOO5rafAmy4q6EEKs5nF3ONzHQGOpMRk0p5+Xa4ioLM+n8JKKIPItGkkDuE+/cDUJEjIRKADpHq1A0b0eOaHgp2QSuzFXc/xRFIHnI/8g+PB1nnaOvO8kuWb1aig6lprJwnQ70/mRV7U8SIXT/y1dfj8rYkLaXCxSdQHG1Epw6w7yEvBr2tYSX3koRW2qyX4LdJaqxmNWJh9h36Bzyg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:47.1953 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 324c5509-d39e-43a1-b13d-08d89c72ebff X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4606 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: 2uI5Kc1YYaCHlpqHcXtgDzdXx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539689; bh=nuXh9GlHAMQ+yWYEzDoxIw/+HXap5oj2N4dg5Vpq+xE=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Z5biuHr82AC7ITJjhXSEyfu0RsIHti89dsjBgI4qWvAnZNgBFmsiFNF1K2IB4AyHv+I z97OJsZ4MIUnQj6kXbqjR88b6ym0gi5uQtsATliX38ify8gS0ItbV+BHIiySvn/mncmIo t4CEjC8zg/6KRkXYNMmalI6jqkAGmMvCx4Q= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68585): https://edk2.groups.io/g/devel/message/68585 Mute This Topic: https://groups.io/mt/78836554/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 Mon May 6 18:58:59 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+68592+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 160753969469661.43784326884702; Wed, 9 Dec 2020 10:48:14 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id uj0XYY1788612xl4iq46VaDy; Wed, 09 Dec 2020 10:48:14 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.49]) by mx.groups.io with SMTP id smtpd.web08.480.1607539673609269338 for ; Wed, 09 Dec 2020 10:47:54 -0800 X-Received: from AM0PR04CA0035.eurprd04.prod.outlook.com (2603:10a6:208:122::48) by VE1PR08MB5661.eurprd08.prod.outlook.com (2603:10a6:800:1b3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:49 +0000 X-Received: from AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:122:cafe::43) by AM0PR04CA0035.outlook.office365.com (2603:10a6:208:122::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:49 +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+68592+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 AM5EUR03FT023.mail.protection.outlook.com (10.152.16.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:49 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Wed, 09 Dec 2020 18:47:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 07251bc0687671b9 X-CR-MTA-TID: 64aa7808 X-Received: from b2df97c9e928.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B7FA3FE3-7B51-4117-8DA5-7490FDF3CE32.1; Wed, 09 Dec 2020 18:47:33 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b2df97c9e928.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WXboTuwShApWI6h/Q3BEs03gm2mxRd8t0/JpDe6q7qB/gO4oVvzG9xMPbRvpxWSqNxTRavurBGulA4hkzpQSGP/tF+bY2ix74MQyIrgNsO0i5nm2tpZzTUWVX2vCTibNdHYbQD18Jhol2g/a2HDWLS401S8OlnwWa7/aGzOqzn021FyHdjEb00qnsL3WPbUrjshn0Ra644TKApUNGfL7UL43me+/puL1wXOIDhXQV1e7k86up304fEHdvhOX6ePnflgSKKcvUHUDUfpFze6OKR8MTiUZtt92hHI8xr/Oaa0M3iCz6f2+7N63409zua+IkHu1TK+Q9lQs3sYihiVnng== 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=ER20CpqFbNiTikpBVd0UkA7SHmBMDRtGR/M/AaTZrO4=; b=gbPugXkMncnUKYPARs5s1BQCqxoJTk8DpUwyFLdi+uMG9ePz5ohULBJyWvAX1FfXb4r49IXsz61l5N0wuUVymwszYsDKddo1OvGRW+4qoPc8Y0nT5un9ZTU8MQMxEQX/ruUT/n3ZYmY1Vg9kEj8CCcNKB6filFZo6eoAr6+bQYvXA9oAl0/6YvvKpwNvb+EASQKd1m0BafhYnVvlxFVCA4JJIWgjnB4A6LsUId+SGGr03zD+0VSMwz5LVsYJ77c9148Mi7l9qp8eVqtGVpSSlyrfbBZu0bSZPls9oVIBwJit4BftzQI6lS4IAZpZhcoAxg5pp07Huw1JKMZbR0Ck0g== 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 DB9PR05CA0009.eurprd05.prod.outlook.com (2603:10a6:10:1da::14) by AM6PR08MB4708.eurprd08.prod.outlook.com (2603:10a6:20b:ce::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:31 +0000 X-Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1da:cafe::e4) by DB9PR05CA0009.outlook.office365.com (2603:10a6:10:1da::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:30 +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; Wed, 9 Dec 2020 18:47:24 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:23 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:23 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 21/25] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu Date: Wed, 9 Dec 2020 18:47:06 +0000 Message-ID: <20201209184710.20912-22-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 46f678e0-a2f7-4c87-5993-08d89c72ed55 X-MS-TrafficTypeDiagnostic: AM6PR08MB4708:|VE1PR08MB5661: 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: EKCaT5Npbn2JydTj9rhgl6x8HDvsNu8vYrtKbqS7N31zckL4pZzM8ortMnydpUha3SPYDWnQ3AN9Rv5xTAILUmsdOJtVvQ/pxrN5jF0NC04+3XhKLh0LJiPWzV/5Xp8sddH4jxImhz3ImigqWltBmT0PknaSsGiQc5rKXk4QwNqHJ6ZZ2oifpjuqNMbAdilavvMbUmhbkh6gYXfxlx1yBLaXYmXH7A73XLeDa8N+JrscFsjZdsbjM6B7gzyujWAh1BPtqRYFIKC0TapUIRNU7zmFOy/N/wCTSABzX0JM5hjaX6o3uJUryqabijC15gSnHbr7t6GLNOZzoIZSY5+nxaYXq4Lz8Doisfwt7oi4lQNJdsSH11Wgl7Uo4y5QxWacYXEhe2qwPUu8Szt0ckX6Zg== 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)(46966005)(1076003)(36756003)(186003)(6666004)(4326008)(5660300002)(316002)(86362001)(54906003)(82310400003)(47076004)(356005)(2616005)(83380400001)(6916009)(82740400003)(7696005)(70206006)(2906002)(26005)(70586007)(478600001)(81166007)(8936002)(426003)(44832011)(8676002)(336012);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4708 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f1eebd4c-1b7b-4a65-2f7f-08d89c72e209 X-Microsoft-Antispam-Message-Info: Owl6pGNnkJ3wrM7/k1DFC1moNoZkEt62pfS/4J59YCsSrwPMPEWXW2iuPYJt94TaL+rTfJhfXwqMNppWbAOU2JpAlFw2uHpfiyVPdXQ/AFHtZxjw8kdo0QPUORX4bgKYifPbJgAwa/u8sVUiHzrzDU2l4O6OnSzLydaIILEE+1TAa9ZWWiiASsd8b7Qt0jQW6FhgloXPw0rsFGVnTin6C2fD9EQ2nBLdnkcZHjmxDR/9yErRx0K3APXBmvhEweYR/du0E/dJukz2A8LbsUWtzjksGRzzj0lmXEbXaUbFauP6f8d+kR9hBkm7xUiSYwSFzrKquNeoYFoYeY4XdKe2US0Yxry2TeNywiUaJdSMGbX3caPD7C1G9TsEJXZWmr2A2zBw6Q+7t+3t73vv768RnA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:49.4313 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 46f678e0-a2f7-4c87-5993-08d89c72ed55 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: AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5661 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: t1DUk0A4m6Ho30PkEeeREIkpx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539694; bh=+wi+mP/0vtau6DxV5d8iCZruIT6+1pUGa2iW3yOr6Bs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=K/uph80q7pBtzLdyBz/hQVJJu2Sr7SWbQpldq6PJVWus6b94GHRDcjP+ODbVpIj0z0G JqJ1+3+TJ5vUIHoTy9QAgXk1ZHPYNJODQegyiwpmtSAJC2zGu/mOZuXW4nYTHCja3KW0h 7BamC2+kfXBRzi//2DUXqyYv2wqJmQtbp2I= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix the ECC reported error "[4002] Function header doesn't exist". Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao --- 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 (#68592): https://edk2.groups.io/g/devel/message/68592 Mute This Topic: https://groups.io/mt/78836562/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 Mon May 6 18:58:59 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+68589+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 1607539694081253.5102170400554; Wed, 9 Dec 2020 10:48:14 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id l6r0YY1788612xyYXuxrY433; Wed, 09 Dec 2020 10:48:13 -0800 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.54]) by mx.groups.io with SMTP id smtpd.web12.464.1607539672218205762 for ; Wed, 09 Dec 2020 10:47:52 -0800 X-Received: from MR2P264CA0022.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:1::34) by AM6PR08MB4616.eurprd08.prod.outlook.com (2603:10a6:20b:6f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:49 +0000 X-Received: from VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:1:cafe::6f) by MR2P264CA0022.outlook.office365.com (2603:10a6:500:1::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21 via Frontend Transport; Wed, 9 Dec 2020 18:47:49 +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+68589+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.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:49 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Wed, 09 Dec 2020 18:47:48 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e3026f28069e16a3 X-CR-MTA-TID: 64aa7808 X-Received: from 1624fdd84d0d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F69C296E-B1C0-48EF-9C6B-4E13A9A27545.1; Wed, 09 Dec 2020 18:47:33 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1624fdd84d0d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d3wymT6gPdSCTgyxgZvZQxuqBFLUbihDSTCJOw+HlWS08S5WwqFBWOO3eDv96GaTDnlCWQuNCB0x6nL4SuQ9gFIX5HimCkr5uP5PWnt7KscotkTTTiW6AN7zX6eKLRTc5DZc91Mx/ZVszZCiobU36j1zKV8mPuzMqv9EHr85Pal72I3+0ujKelRjtR4PJjNfMknSmumg77bcxjuZ/rwms+2f+FDdtMXePbi3AxixpV8oCIwrK0HawyhhBicu0C29AIBmzYhuJpONeYfela+0ZS+K/FsIo43huSjqvkOe5DLq/NZTTqQ5NXnSQpxbveaG4PniFpXzU+XaSa5KLNchWw== 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=NcP2JyDP1E+Y9AWUPmdJs9segnDe7BPpsE6PFuDacqc=; b=SuZT/Am5Mla3hxKTfxbBWmhNXMbkHoix5FToiW5QOovR4RBg/OKp1tkpO8afDFykUZ7mAzpZ/Wtlx4Ti6eaBmrnOzKT/f5Z6AZ/0teCgeL6AaJM0psuTfNzLGBSJq8wNW1AzzyVV2CmVmf/fXXrrxplJST9hhdCkbCL2lh/AevZrTxguOqxWT7hIwHW5QEUkgQvSP2acEU+D792sfpSGARZmjthCmX6/axI3rOXVzpK2nlb2e2/9O++pKqv4Bv4FQl6UEo/lfCZsVxtmsB5D7yAsfUrXgsmm6VbNTq62le99G6FtTY9k+rTPSdaISyFFKd1Hv+2JHCwA1qrig1L++Q== 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 DB9PR05CA0017.eurprd05.prod.outlook.com (2603:10a6:10:1da::22) by VI1PR0801MB1709.eurprd08.prod.outlook.com (2603:10a6:800:59::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 18:47:32 +0000 X-Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1da::4) by DB9PR05CA0017.outlook.office365.com (2603:10a6:10:1da::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:32 +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 DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:32 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:24 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 22/25] StandaloneMmPkg: Fix ECC error 8005 in StandaloneMmCoreEntryPoint Date: Wed, 9 Dec 2020 18:47:07 +0000 Message-ID: <20201209184710.20912-23-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d7fce253-5367-4753-8b87-08d89c72ed1e X-MS-TrafficTypeDiagnostic: VI1PR0801MB1709:|AM6PR08MB4616: 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: 3gLvA6NfXzq942z6nk17Hn4ZTeyQq5dttMqZ5GXQQk+RnaxmG6qf/iCt5Sqw2TvAz19E/l6pyKE0jiieaJWSXCvGOlIbkZddIabcHa1gkpmcQChu/krzUpG6X3XiBSa7O89iZMwkzOIvR1kyM+h+C+6x9234Uu1AG6ICk8XtVYdKAKcwIzHDNXd8pqVZbBs7y51elU+qdw4+yAqANi2X1dqYrmhmj47L4Ih6SlJ2SzNdvD22wSNHhgpuppsZHfSPw0lBdWwfWqSdvkIPRDJ35R6VSpDNpjki8g0nAsZI584D6eO71wv2DIJP2cdDLiYHWXzwWwsn5dsOp0dgYzMDx4RukkOpCfk31hrswNgXadrNt2npqO/PM1z1MS9Tm5PUGZKjJEXg8iPPl2hMo5FZHg== 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)(346002)(46966005)(508600001)(2616005)(7696005)(44832011)(6666004)(426003)(36756003)(54906003)(26005)(70206006)(83380400001)(70586007)(1076003)(5660300002)(81166007)(356005)(8676002)(86362001)(186003)(8936002)(336012)(4326008)(6916009)(82310400003)(2906002)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1709 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: da4212e1-6384-49ea-57e8-08d89c72e30f X-Microsoft-Antispam-Message-Info: QghchO+iMWJCt+O2eWNNXIiRLWXD4QfZ2tDHXlidvgCDw5gW2rlttCoP3fj/fjUTw0PrfQnBgDuEpIW5XrQMwSrwEKZBDIDMzdhllBg4KqX5a43XKlU+ikpT1c6UMVVtzpzLu3OARXdg+SsTTpB0XXNgs1AcRlRgFzPIzwkV6NhfGjYlue++iM7SMO5Nwn+QY6GeIAOQ8m5SPfxkF9JuJQlQmCp4RoL8atxu4DhnAN2Bc6Cg0Db7mQl5yAfj/WBnyWMiQIgnOoV6ooVT6JTusNA8FXTYubMYR6hw3THu+JUxMoP+lWw6/VQ8H71F4wGe+Fp06caX3btcQka+S2apvsS6DHM2+Jxgd2JhIKvpIXo930ZpBjOYdM69Q3MyJMCcD5jR7IBj/xRWRifqpenuTg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:49.0052 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d7fce253-5367-4753-8b87-08d89c72ed1e 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: AM6PR08MB4616 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: fGxpoY1MIpMLQSTGskjJVbcvx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539693; bh=omDlvgJixSjcXiqmSIW4fVqVloOcf+X9wrtw+FSPu7E=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Snf57edaNVBePzsIbbmc+cj8YuQujAEI9zXzCWW3UzcdxYxXfXu3RC7ebKnTBjfF5d3 6JE5OIMNs7kU3Z7bBPNxQFA51ghAMYBDQq6EaWwpAhw/+j0OLSD+ewT48vYJEOtCTdKPN 5bCVUnpt0T7cgoXA66dCinXX7WY/6nWIddA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 (#68589): https://edk2.groups.io/g/devel/message/68589 Mute This Topic: https://groups.io/mt/78836559/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 Mon May 6 18:58:59 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+68595+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 1607539706396642.5773477438968; Wed, 9 Dec 2020 10:48:26 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id lygLYY1788612xlRZsqEN5oe; Wed, 09 Dec 2020 10:48:26 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.42]) by mx.groups.io with SMTP id smtpd.web09.483.1607539679157675460 for ; Wed, 09 Dec 2020 10:47:59 -0800 X-Received: from AM5PR0602CA0024.eurprd06.prod.outlook.com (2603:10a6:203:a3::34) by DBBPR08MB4693.eurprd08.prod.outlook.com (2603:10a6:10:d7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:56 +0000 X-Received: from VE1EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::1a) by AM5PR0602CA0024.outlook.office365.com (2603:10a6:203:a3::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:54 +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+68595+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 VE1EUR03FT023.mail.protection.outlook.com (10.152.18.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:54 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Wed, 09 Dec 2020 18:47:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e7e68a7c09110e9c X-CR-MTA-TID: 64aa7808 X-Received: from 29c1bd13ba1d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 03F0BE5B-9088-4103-A3DC-317E74918960.1; Wed, 09 Dec 2020 18:47:39 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 29c1bd13ba1d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UvI2gKSFh1W+WQ7uZFdBag/VCNCzj22jTp1eBgLiCaKa3KSQ+3DPerkDdn8bZMWDT9O488X0KgBTTGKsFEnC3EyzwdcDOGGQo78kShlNo8QfzOzDFR86zSCFyMNWIBljBhpfrCDlU6AtF42voCdjJFRfsV9Hp47Zgr3nVevOY5sFaO+m3tK4+tZUmj9ZPeiLyuT3GNl9yl4ziSP3+JjT9VN4IiTuWQzIHURk2BEO49qElHB1qBZq/99UgrmVR//rULJ0FBBYWHErzNpKe2rSFcmRmHZzM6vOTbF3YuTPrym4bpjlLd9MhZWz63l5U2/wRzUooscR5keS6d0GD9wAYA== 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=/ZnmlpcLDD2fYTYjvxjZrEHkeJeTVuRmme/6wT+6bmI=; b=dY9Ea86rLIZAXLNCeE62SuL8UGZD1Lc3ssoenJK5x/AeyPbutA1DCVSWwgPP6Ckgatu1frVC/uvjKwbvcxyJSHaeeow33E29ADADAoHOF8u7bXlx0bmT8L4rTimm4Z6Lv0BpV9727x4DPNoVUrhokGttCehE2TNPPlatAkLGY5NAt/XT5DibHqndZ5jpN7kLR8ZFF8QmvxB4TU6Eiii/NO4f2F72bZsQP4w6PXIwGZiKlLvewrErDUv9PY29GhH0Xppubaoh8vfpETBLzTmwgW0f5w0cJtN/hcD1lrcJMjr1h4vpkAu6opeHoQH6mi4oevXuZ61v2UN14gK4c+lXvw== 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 AM5PR0502CA0013.eurprd05.prod.outlook.com (2603:10a6:203:91::23) by AS8PR08MB5992.eurprd08.prod.outlook.com (2603:10a6:20b:292::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:37 +0000 X-Received: from AM5EUR03FT051.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::a) by AM5PR0502CA0013.outlook.office365.com (2603:10a6:203:91::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:37 +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 AM5EUR03FT051.mail.protection.outlook.com (10.152.16.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:37 +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; Wed, 9 Dec 2020 18:47:25 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Wed, 9 Dec 2020 18:47:24 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 23/25] StandaloneMmPkg: Add EDK2 Core CI support Date: Wed, 9 Dec 2020 18:47:08 +0000 Message-ID: <20201209184710.20912-24-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dd63e2ae-cf17-44bc-5654-08d89c72f06b X-MS-TrafficTypeDiagnostic: AS8PR08MB5992:|DBBPR08MB4693: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3968;OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 3pN4TR1XrKbSqr4tQEMfjJX65DHPVz9drWh9oOnZnFadH043ZGn3qlrx08HGRry+hKXzqigR80N1IyagrFFazr9Gjj5PQ4PQcATzEykefAMy8imVLLyEbaHAtgXHac/ixEfdOJ4r7DHfwDuVA2kMulPugphHRkQ8SISCph8xH/ej8lK7GUFllxdAKmw4NwKDNNSeKxybdJTblaZMOXItDwyxhDtBXiSNBs9ZDMbhlJ0xO56QwWsXbIrfjfR3ZSUm6wnspQxWk99gKO2MEMlIzkg6HbRaaq01g6S+NONwJix548oliKa8P1oaFtxqLXEklJ3BEZPmk0yXVzIzk3uNHZ5FbjDHgRqnl/0+MXQTwOQLRNc7B3QOy2TC0OqMKSX9O7jKrz98gnKaKcUbPQUceLpXlZyxY/S+nHPldV4CbOKi3pI4I1/xO6ouBPpN21Iu0MOS6thx+fTkjt3CbjAMJzQLm16ZhDkBcXMNTLwhsSM= 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)(346002)(136003)(46966005)(4326008)(8676002)(356005)(508600001)(6916009)(6666004)(1076003)(82310400003)(70586007)(5660300002)(426003)(2906002)(336012)(2616005)(83380400001)(81166007)(47076004)(7696005)(8936002)(86362001)(36756003)(26005)(186003)(70206006)(54906003)(966005)(44832011);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB5992 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 82896ce9-d218-489e-5a9c-08d89c72e631 X-Microsoft-Antispam-Message-Info: DKUxECGyr2Nl3Py/J3DySSbfyvhvzVeXlvkrIY34ywtgKqtm1j8bCUxSeIXXR5md4RiFw9Iq7dQONg5Bi70vDy6jZtV78JXV5EnT/Ifl/bcWOKXIfH/xk01ER8D0D831cdu901FTbolcYtzfC9JGlpoTvw6qMb7DAZGcmiOlmwU/iBeKM80fdomo6xIWSpxlseLXtxJE+0grgrVahitTOlmusauM/cs8U88UkrKS3PqRvA0lmYrmx/ushYChkCKA9fDR/vPvtWHyyiJt1qc3fvbBWM7I6NSXKXPkrSiyJJ2F5CpAgT8NkVSuvs0XBu+zDhRUKMx84a5nCC2QjFnXzvC6an/Au+2LpJ9i9jId34CSGKETpyFJAXZMB95PbEbBKXYjpgVXKZjXA/rzc3RAa1N44lKJLbaGQ0TLHjCqr0XxSSH7hckmdq99+eUUhTSHhiDHuQxjswJk/9n3zmLBReoYrd394JjNdr14qFGlhM8= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:54.5436 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dd63e2ae-cf17-44bc-5654-08d89c72f06b 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: VE1EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4693 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: 7jKo4p1IHpbR6YcEsihLWzHXx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539706; bh=n9RzG2HgUru4VbZnf8qZq6cQ+Y3c+MYTaCXqiJGKyUg=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=o9GkKGSNpvQhxsooBmzz4iMCvc+t7d9i8aCc4AbA4Dz5QF1vuna6D9tsPje/rGDOGfA nVsm0xdBoQ6JWdkEbEcD6rrjRmOvKeowr0MfZvtlZWdPi917Rj7W4SnSs1FqiepaSAsqF 53i8nAiaSnVLlS9MUpBDZeOjFou0c5h/8uA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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: Jiewen Yao --- StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 85 ++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/StandaloneMmPkg/StandaloneMmPkg.ci.yaml b/StandaloneMmPkg/Stan= daloneMmPkg.ci.yaml new file mode 100644 index 0000000000000000000000000000000000000000..110f461815b11b3775f3e488a46= e1a35ed29b4b7 --- /dev/null +++ b/StandaloneMmPkg/StandaloneMmPkg.ci.yaml @@ -0,0 +1,85 @@ +## @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", + "ArmPlatformPkg/ArmPlatformPkg.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 (#68595): https://edk2.groups.io/g/devel/message/68595 Mute This Topic: https://groups.io/mt/78836568/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 Mon May 6 18:58:59 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+68591+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 1607539705703184.91561481398355; Wed, 9 Dec 2020 10:48:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id g6gfYY1788612xIztaO98s1a; Wed, 09 Dec 2020 10:48:25 -0800 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.83]) by mx.groups.io with SMTP id smtpd.web11.455.1607539673560446942 for ; Wed, 09 Dec 2020 10:47:54 -0800 X-Received: from AM0PR04CA0002.eurprd04.prod.outlook.com (2603:10a6:208:122::15) by AM6PR08MB5541.eurprd08.prod.outlook.com (2603:10a6:20b:74::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:50 +0000 X-Received: from AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:122:cafe::5e) by AM0PR04CA0002.outlook.office365.com (2603:10a6:208:122::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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+68591+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 AM5EUR03FT047.mail.protection.outlook.com (10.152.16.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:50 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Wed, 09 Dec 2020 18:47:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8b41e6ded7fc21a8 X-CR-MTA-TID: 64aa7808 X-Received: from 08733bd96f8d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 834A0AE5-1FE6-47A3-B71B-82DC87F29195.1; Wed, 09 Dec 2020 18:47:34 +0000 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 08733bd96f8d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HcYK/E4gxu+GD+WKnYTpFF4FXZf9x4tToQ4iX3p5jXc3iFIVVStmaV6waT2VxOVVD7DQzxP4l3IAuA81xf34kxD9hhmoh7HLck9ReJoGfwtSOp9hYh+CGuwdVc1Aj+/TWjuF39K3N0eJFzLlnWkcCwW9dLr+zZhCF0XcSOQr+MoNi9nC2cF6HszaEjFilbIQMFlSFXt7GsD09T1qa+oR5JBuZiNgXbP3c+wLLBlXhdFXeBjjQlfHr+Rh7BaP0FV3jlu5DTpWQvvNOanPwGxK2SyNe3A1RTWAgjLFECZ1drhEEa/Re3pklwWu1UJxvd9zCdPK4f7N2JsMG+7OGfIqlA== 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=jYvgh6sM81nNyYKVhxRPdEqJOs7AkYHSqBiAA83xIN8=; b=Um0xvBeKcL+KWn/0sm4Cd/C1Dcwr3knH/UNoMmimGE/650/iZZYBMRvMQvYVRgc6iQTDIcapoNbiA0JBIGUpF45wjrPbdM7foUxaFNcs7EjbEZecx5s1SGyAVNKDiugOSvkNW4C3a3PdxdAkX2+j8Nkv6s5sxkowd9n3jrarVbeqWgiakSzcZ7KZ9fg9Tv4vYXszcb3geA/z0TCCle/d29nP9vf4sewcGU0bYY3XZdqJJsM+KcmCHduShaPvY93hwd4pf8++1lIKgyjcdgLVYg8cWy+fC9wT+esquEbMV2BF4eeHwOcLZqM8MNnAcK9+MGxMYnpsB2+iimGyJX+BGQ== 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 DB9PR05CA0009.eurprd05.prod.outlook.com (2603:10a6:10:1da::14) by DBAPR08MB5720.eurprd08.prod.outlook.com (2603:10a6:10:1a1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.20; Wed, 9 Dec 2020 18:47:32 +0000 X-Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1da:cafe::e4) by DB9PR05CA0009.outlook.office365.com (2603:10a6:10:1da::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:32 +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 DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:32 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:25 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:25 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 24/25] .azurepipelines: Add StandaloneMmPkg to CI matrix Date: Wed, 9 Dec 2020 18:47:09 +0000 Message-ID: <20201209184710.20912-25-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6a6e7d5f-1851-4cbf-f41c-08d89c72edd2 X-MS-TrafficTypeDiagnostic: DBAPR08MB5720:|AM6PR08MB5541: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:175;OLM:175; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 8pfSsUVmqSEFr8XjlrKY+qlEcc7Jhs58uX8zxS3ab8xdw4jA8HjWWooPJLDT8lfTjWX2xZ5LWLX/lDMPKy+oncoZIfR6gDI5tVAq1LYKFkeYciApNTw9Lgn+Q2LG+5ObGHpbmIyl9h3QW/oy93PFAm3AB/wBLw4C+YlKElRe5NAqaRLqw/YFPvZuJTd/8NGoPnKJ5nOJQVgtzCM08omn3P5LtqlydFQg6FhB6Gqr0qM7nvfJJm08F/Iq4gITbKHglDaR3IEVAbwx8LhK0dlkZQUd9dks/Inz1+rS1+yEp2vbjKHaXpcPZIvMSg/dVTY94IZsNzohIVznYxtg+ZqBSU0HVW6gjBkrKpTQv6rX0RXyfWSgEGJt+u1sC1NdRQx2tWO6pGfLcmepVTKTnGACJQ== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(44832011)(83380400001)(6666004)(508600001)(4326008)(5660300002)(81166007)(2616005)(356005)(426003)(54906003)(86362001)(2906002)(8936002)(8676002)(1076003)(336012)(82310400003)(186003)(6916009)(70206006)(4744005)(70586007)(7696005)(47076004)(36756003)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5720 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 33d7f4ce-e76a-432e-a85e-08d89c72e377 X-Microsoft-Antispam-Message-Info: u9cIbc45sKh1VXFNVjK2Ysf2yhIkh1dlKsZ91Gvi9+ue5mhYFTpz3evEPRJ/1QLfif9eMiAQdh38delmUYJ+W4HApeOkTAjNl8618DWuL7h1nLFJt5O8Tezvda7HX4bQ+mlxpeNx4SbinSSWmWVBYNtigUSI2bDOSMEfuyHM4FL/1NQAmt2OWwbQtk7n+h8i2JKXya1OwcAMffJe2PykP6YoW4PfvEHkvDtwOjvenaCSvOfK9BEI8/toRCtRsiju4Ltw8fRK0Re7o+2UjEZXfXEA6gz69TGGmZJNr2ZzQVx1jgkTU2VJOG5ddzdbsuCZV03n7KV+0IhMiY1jCLtGUxh2pITYyetBG0yFiUtfxjXilr2kCBcTOgcqejp9WpvveLPdlMtJlIsIKizGSXxBHg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:50.2495 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a6e7d5f-1851-4cbf-f41c-08d89c72edd2 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: AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5541 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: 28waE115bwEw6Rs9LbK1kOERx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539705; bh=qR9LNwSDSVA2mhoaakXxUGikpL36cwp2jfVNM5bQR8M=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Z6A+an9b4QShb066g+7bb/vXHPdmS2iS+nfMieDHcTeeUfe8QOBMj/4zmSzZ5BNXjm5 nhhplImOn5K35aQAKJyGDg37Pud3EyxkbR3H3jBCQpQQW6PXbI67ht/77N9CYY19aZWJP 88z6xsZU33rddqVvrzP2gi8lhFuE3VxqwGM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add StandaloneMmPkg to the Core CI matrix. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao --- .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..6b1a295aff4fa34ec1cf4ce2b00= 5ac28e7befda2 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -37,7 +37,7 @@ jobs: Build.Pkgs: 'PcAtChipsetPkg,ShellPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' TARGET_FMP_FAT_TEST: - Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTable= sPkg' + Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTable= sPkg,StandaloneMmPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT' TARGET_CRYPTO: Build.Pkgs: 'CryptoPkg' --=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 (#68591): https://edk2.groups.io/g/devel/message/68591 Mute This Topic: https://groups.io/mt/78836561/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 Mon May 6 18:58:59 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+68593+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 160753970540564.39107013528258; Wed, 9 Dec 2020 10:48:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id iAx2YY1788612xKlCELI0kzF; Wed, 09 Dec 2020 10:48:24 -0800 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.63]) by mx.groups.io with SMTP id smtpd.web09.474.1607539673875062982 for ; Wed, 09 Dec 2020 10:47:54 -0800 X-Received: from MRXP264CA0017.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:15::29) by AM4PR0802MB2291.eurprd08.prod.outlook.com (2603:10a6:200:5e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:51 +0000 X-Received: from VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:15:cafe::be) by MRXP264CA0017.outlook.office365.com (2603:10a6:500:15::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21 via Frontend Transport; Wed, 9 Dec 2020 18:47:51 +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+68593+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.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:50 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Wed, 09 Dec 2020 18:47:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 892de08ea0bb8e1d X-CR-MTA-TID: 64aa7808 X-Received: from a03f04d2af9f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 232EC23B-B233-4385-96F8-7CD038DBF3B7.1; Wed, 09 Dec 2020 18:47:35 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a03f04d2af9f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NJutuz5jRb+LojdLujhQPN7GTY6Vja6kNaPgUIflekrHP4GvLXWRKXjE4wq2eU29o1r8vl+3bzTNVOLM36svrgKhavg1XipADGopi20txw6L7QFH06V10hYb2LGi1eBdvYZd6Ru4kkLboRAIbnIaCkX3YIfpqAvs/EMWmQ6rIhuNhfMy7rSIbpTjQMnMrQt/n/icQdEW+6U3ZBE7gkyr0vCiEg76pQQP+L5vQBfh2jUqty3op6J58CO9W2AOrDVBf1jIWCtRHVJPbPK/8vjdke//abEVE+Ivxkc5MJE/SkvuthYfSyl2hpXUA2CyqaQ9cbkPdh2jRgUKb0qoIsEQVg== 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=D1y8B8NfiDiJVQtt+ErR/z7zdRn7Ro908i80x/k2kAo=; b=Ela6VsmBEnXZsfn7mu3NCQyJHPu5JL0ik2HjOPLxNAtUhC8fPeMUklwfiV/Rrx5UDyAmuUgDudm1MxP0lL4URHz4pfAHtdiQKWdtacPNCMmc6tl2Q7/A2inc67f7oVk6n/v8RBO68g9+ZfexKeFaut/DvgM6a+HcB4KFlkGmNOil3Si6fVhqgTdD86agEB6lRdiu+t5ZoR9evBC2H9expu5lbYijc6SHISUaXnIEG2qaYSMiN6GbGdumhjoq/v14xEQMdl+SDz1Ayit1qAaTsAz7yBcehCrQsVjlJU4E4Kn+Pgyb0N6pEUpDKA1ic39KfwJOn9GpS5gIv5OSjdZcXA== 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 DB9PR05CA0010.eurprd05.prod.outlook.com (2603:10a6:10:1da::15) by VE1PR08MB5008.eurprd08.prod.outlook.com (2603:10a6:803:116::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.21; Wed, 9 Dec 2020 18:47:33 +0000 X-Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1da:cafe::f8) by DB9PR05CA0010.outlook.office365.com (2603:10a6:10:1da::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47: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 DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:33 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:26 +0000 X-Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:25 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v1 25/25] .pytool: CI Settings to support StandaloneMmPkg Date: Wed, 9 Dec 2020 18:47:10 +0000 Message-ID: <20201209184710.20912-26-sami.mujawar@arm.com> In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7659a8f4-c412-4c6e-9c79-08d89c72ee44 X-MS-TrafficTypeDiagnostic: VE1PR08MB5008:|AM4PR0802MB2291: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:2201;OLM:2201; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: G08LKRfv/VyvdQpmDee/eJ6+9ZgmhmBz5OOuec1T+0wYnBtjKdBlOxWV7fsl1rjfBZNuuqRm0oxdmu5ssI5OEKIH48Aqcd72vDsqj8MuRzo+aP87rJKCyPHCNQZ+oxsSvRCE6zrIf/c5PG6WwIFYcNuZ+vPdpYFiwfPehckOUEOUKx5JBnhaLuWDoZE70WxxM7SyGFmfPq7TZXBf3tByRfKd9iGcVyHVAnTbYKBZ+USyghqPI6fNaAhfEyfAoB3MQoMZbWvvChR3IbeSmoi5Rv59MMV3OfmVESrnX5y0tRG8fpVJ7tt/t0EsoebhWggPR6Ds0z/RWn0nPiUI3BW/entfTBZVnBHFNN/XMkiQhfGanEzves/wXP3nYKFjjHWeMuiEcwg0vFBxkyUbCC1qsQ== 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)(346002)(136003)(46966005)(1076003)(36756003)(4326008)(47076004)(82310400003)(81166007)(7696005)(70206006)(426003)(86362001)(356005)(2616005)(44832011)(54906003)(26005)(70586007)(2906002)(5660300002)(83380400001)(336012)(6916009)(6666004)(8936002)(186003)(8676002)(508600001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5008 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 43b17d06-0d81-4ba9-caff-08d89c72e3bf X-Microsoft-Antispam-Message-Info: 57KtqS0UUv3kOlITFY6GFqbhBQKmGNjcwBYuHvtV1HxD09ms4NBSJU1jUTPBu4AYsnMNI1cb576nLz45qxUAddJUG8TQD2URdYjTCzqfLYKXVq5cDIaf7USFP0P1kI+H3dJWzoptR8AirXMKpLbfvm1L6HDHYYWIBcBIYZhpZOH/yl7UuTitU8Sf46LkEXfsqJyKrSyPvtPt98J8ju0VhwBZ+1zOqzX5l5mix2VCEFAsRjPvRiWP67XtN08Rra63MQUz3Hb849mYcvMEMvewBJ0xWWYO+bAhukloe+cOJt+8Dwepfrg4xy2+Hhyi3dW0Eg0PyNeeBqia5H5fOgXSkmTOwEf86/QjuhMOrIoql3A9J/9qFqwePbF4ofN9tE/DozEaD8rmeJBoa44aErJ5Zw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:50.9274 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7659a8f4-c412-4c6e-9c79-08d89c72ee44 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: AM4PR0802MB2291 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: t0IrBLhfnqxZzcHJITCL7Ye9x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607539704; bh=yGKZlKk3QA4uybBrf6utFn0TD9J97FK/D99T9JtzMbo=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=wh7NgpddxPN0USxwnRFaDiH5pOIdzPy5hGSU1mVByqRLmdV7M6ERxRW5l5GJoQM38iH 8J+JHSukXMe5GvhktCqpXwTW1EEOzmqvqisXgdw8F8NNESwMFFIC7/WUHPt/MhSbCR5wI BgQiJpiWCfoUa8umasuVfBQXhaFzVSO/l5Y= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update pytools configuration to enable StandaloneMmPkg and update package status in documentation. Signed-off-by: Sami Mujawar Acked-by: Jiewen Yao Reviewed-by: Bret Barkelew --- .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..721e4c109b36e0c37003af24932= e1ea8eb886cd1 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: | | 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 (#68593): https://edk2.groups.io/g/devel/message/68593 Mute This Topic: https://groups.io/mt/78836563/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-