From nobody Mon May 6 02:07:09 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+69096+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 1608210332846615.4629931314253; Thu, 17 Dec 2020 05:05:32 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9eRlYY1788612xP6YWwzkJQs; Thu, 17 Dec 2020 05:05:31 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.78]) by mx.groups.io with SMTP id smtpd.web09.7678.1608210324003482596 for ; Thu, 17 Dec 2020 05:05:25 -0800 X-Received: from AM6PR0502CA0068.eurprd05.prod.outlook.com (2603:10a6:20b:56::45) by DB7PR08MB4620.eurprd08.prod.outlook.com (2603:10a6:10:34::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.15; Thu, 17 Dec 2020 13:05:21 +0000 X-Received: from AM5EUR03FT058.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:56:cafe::9d) by AM6PR0502CA0068.outlook.office365.com (2603:10a6:20b:56::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:21 +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+69096+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 AM5EUR03FT058.mail.protection.outlook.com (10.152.17.48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:20 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Thu, 17 Dec 2020 13:05:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 48c9329632b626e7 X-CR-MTA-TID: 64aa7808 X-Received: from d7ef3d1ac03d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 680DB141-B3DB-4A2B-B480-1D15A434FD37.1; Thu, 17 Dec 2020 13:05:14 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d7ef3d1ac03d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cvylPTKUH+sYFmfS2MYsZV4aOko/FPBbQPg3qsXRldGmeOwdAtwqCgr2vKy5J9n9nb/NHrrNhXPb13cPjBswViMQVUPkKq+/tkzYWJ3pLjHU7HQ5+uIm1U7hio0EXhA6Rr4UtFY6wYiF7OhwVZ0DKsLwRwMtZ860f80iV0VMVhGJs1gZqBBOAQY+Ep+6qtKqjkVfA4RzUpb73lO8f2DnSlTZrQCicoT1uWK2uI0XrZ2+I0UscWJJcllEiZCbO9+TMxGsnYHLHQ8e8C7otg5bBCzc6k5n5xt+gbyJdgXYdFviacNFvZSkRAuT0RgAE40jj8C8b4sZJDNopjBd9dhuqA== 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=crQI8b9gxOAyAPpFkPvOBgDAbXfjyhSzNx+pBvq5hnU=; b=Id47PIfeEfL9rH2nl7VDlxNIyT6TNy5mSnLKtEm7oOnbKTg/uzPZClaaLVKDTFT6ZiqpuLZ6fLFJmUFlT2S7Vmpetvb+5BRYJOhI8W44vFM3Fzdnqpsi5ooGkKP2dVctipvizLD5sDzWWUDsBdWl3ATvW+dRjPDsEIEdTsKlmggFqFB38nKOtNxWaUPYsBVaF3o6G6A0ewzPdvwkrWlO/lY32QmBZatJEn7gwFTv1gBGV7gCfNnVt3qf6s+ynpin+AlXC7ZNtXwJsbHLhwh8HcSI0ShodXXBYwLvLlQ2JWRzDDaawrnwTCDfF/jNZ5SyTckyz+n/wYEbvHC9vBnDOQ== 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 AM6PR10CA0029.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:89::42) by AM0PR08MB3634.eurprd08.prod.outlook.com (2603:10a6:208:d6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:13 +0000 X-Received: from AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:89:cafe::31) by AM6PR10CA0029.outlook.office365.com (2603:10a6:209:89::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; Thu, 17 Dec 2020 13:05:13 +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 AM5EUR03FT024.mail.protection.outlook.com (10.152.16.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:12 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) 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; Thu, 17 Dec 2020 13:05:11 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:10 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 01/26] StandaloneMmPkg: Add library header files to DEC Date: Thu, 17 Dec 2020 13:04:44 +0000 Message-ID: <20201217130509.12568-2-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 0b1b86da-c50d-4054-9b8d-08d8a28c68b4 X-MS-TrafficTypeDiagnostic: AM0PR08MB3634:|DB7PR08MB4620: 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: UmrfZW4igge84tyXQmpga8EYNvrLYnDWsp9QOYcgevVenAxxNBeWurc1xrQJIISEll0MNjoK7MU9vT+vc1qqMuAJOXEe01jbxpXwcYHrbG8wLmOS4TL+gJK1VLUtm09zzPHZ8Sk+8ksA+1g2EQFUBPdW1wTwDglQyO4LCdPP/0cV68E57hwmo+tWgf2QM5Ea7S5W8eUO2IUFxllOwcGLKw/7w5GC+krMBY7U49GvEvnA1OHxmgkPVnKHrzJ8eXX4pSTfYW+EAz6XWef5511AmvF98yuGh8SELewG3eNUPKy669YpHys2c99bNbettfD+3YBW479PiOi7v+8d6mffYhswQbdKhBQn7ixDw8UrFLPqVqDz7w/RFx8JI45w7bMS1Es3WE4bb2UUSENzuJuKyg== 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)(346002)(396003)(46966005)(186003)(82310400003)(82740400003)(47076004)(478600001)(316002)(83380400001)(356005)(81166007)(86362001)(8676002)(426003)(2906002)(6666004)(7696005)(2616005)(8936002)(36756003)(336012)(1076003)(4326008)(5660300002)(26005)(6916009)(54906003)(70206006)(44832011)(70586007);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3634 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ccbef5dc-51da-4a41-bfcb-08d8a28c63bd X-Microsoft-Antispam-Message-Info: OWCdFJZfsu43lUFMeMQOz8aexUdlK+Qa82iuycrM3piFo3q3XshuhZxmQ6F7kp184bU22Ed3WNrKNvjeTXBTi8Yj7tzOt/CFbLx5xbg04RKU4k+s/dY0ZYrMYXBZdjmrvsPpKkVgDuJDV3J4SP+iM2cnj00D5FcUvCBylhKHQjdihNVxpKHhoHouMyKoVsaB93UHJ1wK96msHLHv4u2k0UnfLgEtc18NJvNTBxby9InFm9UwE1smbm+fbmAXIOw1CmPOB5/EShp0+eNLP/O9dVwY8JcH0N2HElbLb5JruPZ0LinIZ0p2EHnrLPXsD14qJJLwzZjbi3PQu3/yAHg1TRjpKNDegwq/IUS4kyeAg/imwPVl1ORd7xlvbEff9QZ3tm6oVSG+cNwBliL2juprzw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:20.8153 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b1b86da-c50d-4054-9b8d-08d8a28c68b4 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: AM5EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB4620 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: vU0Mx9sfv6WRAi4RTG9wzHmDx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210331; bh=n9zOWNNZp7anekj+uxUtO/38JXS3r8XAdwcuDf9nCNU=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Lutyohg/SQp1l29B2/wxkQFw6hhG04HiDuAsa7+7snh8REDkT0UJqjUiNSOGRCDb8jA 5rpYxRo22xn+51mvjYciWnjTzwIw7FCmONE1SANyPe+pwfhLfxkfCAF4KA5Dg89gReZ2g BNferaxBxIaB5vA1tlc5pPmi+/XjiR/gtdU= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/StandaloneMmPkg.dec | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dec b/StandaloneMmPkg/Standalo= neMmPkg.dec index 82cb62568b5356091c263751e19846a64d0f3dcc..2514feab62e4264d400e922873b= 1ba3a48e00036 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dec +++ b/StandaloneMmPkg/StandaloneMmPkg.dec @@ -2,7 +2,7 @@ # This package is a platform package that provide platform module/library # required by Standalone MM platform. # -# Copyright (c) 2016-2018, ARM Ltd. All rights reserved.
+# Copyright (c) 2016-2020, Arm Ltd. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -19,6 +19,24 @@ [Includes] =20 [LibraryClasses] =20 + ## @libraryclass Defines a set of helper methods. + FvLib|Include/Library/FvLib.h + + ## @libraryclass Defines a set of interfaces for the MM core entrypoin= t. + StandaloneMmCoreEntryPoint|Include/Library/StandaloneMmCoreEntryPoint.h + + ## @libraryclass Defines a set of interfaces for the MM driver entrypo= int. + StandaloneMmDriverEntryPoint|Include/Library/StandaloneMmDriverEntryPoin= t.h + + ## @libraryclass Defines a set of interfaces that provides services for + ## MM Memory Operation. + MemLib|Include/Library/StandaloneMmMemLib.h + +[LibraryClasses.AArch64] + ## @libraryclass Defines a set of interfaces for the MM core entrypoin= t for + ## AArch64. + StandaloneMmCoreEntryPoint|Include/Library/AArch64/StandaloneMmCoreEntry= Point.h + [Guids] gStandaloneMmPkgTokenSpaceGuid =3D { 0x18fe7632, 0xf5c8, 0x4e6= 3, { 0x8d, 0xe8, 0x17, 0xa5, 0x5c, 0x59, 0x13, 0xbd }} gMpInformationHobGuid =3D { 0xba33f15d, 0x4000, 0x45c= 1, { 0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3 }} --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69096): https://edk2.groups.io/g/devel/message/69096 Mute This Topic: https://groups.io/mt/79035529/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 02:07:09 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+69095+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 1608210337008220.04970483421084; Thu, 17 Dec 2020 05:05:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id qAEDYY1788612x871vu2Im9L; Thu, 17 Dec 2020 05:05:34 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.60]) by mx.groups.io with SMTP id smtpd.web09.7679.1608210324499068237 for ; Thu, 17 Dec 2020 05:05:25 -0800 X-Received: from DB8PR03CA0007.eurprd03.prod.outlook.com (2603:10a6:10:be::20) by AM6PR08MB3894.eurprd08.prod.outlook.com (2603:10a6:20b:90::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.21; Thu, 17 Dec 2020 13:05:21 +0000 X-Received: from DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::1d) by DB8PR03CA0007.outlook.office365.com (2603:10a6:10:be::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; Thu, 17 Dec 2020 13:05:21 +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+69095+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 DB5EUR03FT049.mail.protection.outlook.com (10.152.20.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:21 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Thu, 17 Dec 2020 13:05:21 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: bd7ea7f25ea5357d X-CR-MTA-TID: 64aa7808 X-Received: from cbddc5124ea7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7CCC870F-13C6-48D1-9B98-684B74F3A273.1; Thu, 17 Dec 2020 13:05:16 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cbddc5124ea7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Prg2cbPGgpSJooTh6FsRuUmXm1uPuyrraZC+y53A/DIU3/WxZaJO1O8vjDhQUeXrC9eRjil9CptoOMTmYqj05ucs8nf+ZBdQUAIM/kkmGlHRGJuFgSFE9rcRhmaBuu8NVbHkyoiYtvvIpJDdjexsW7as+rflEtrQERalRJbN8dihEnwISjGy/yCZqdFJfsj0Mqmddg5d0RiromVSbKhBVwpuQ+pL9xBdjdjU/Q7drRn6sVvH01N9sm2fymsx/eYLjQwEvMjc0qYi5AvGDfGJIM/962WLpg0aeUK+ohFsC9XI2qlhhp99VD5b/nMT6+W14426xbGpUfLf1CUfAl/qdw== 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=ZTzSMU7BAngr053VKcCWvTtWOCnRww9Kqnig1tCW70A=; b=LTQaDgHQ/TFg4hBNCRwlYBL1rpRWji7M6B7xh4FVRHDyOP/lNuj8oGWyJwll/7lzU8Z7Ic6qpkWLKPykW3lbd43TdwNZA7dlhD9QkX3EoaVu2ZzC38BY2PzEjkOr66BkcWymRtsOdNSAc27X/4QO4I9GGHBCDiqvnE5OAgOBPaaZV1uHVPx2TYZPqfm4zpU2eNgByA5295srA8h9WWD45rSN9oKD06Rpd4ec3Kmz1BoEvTBfzSA6aT06LRrtIxllonjFLnhD/DJnCT+EaPLr4mdJ3ScuEXCc5aEd5vm+h8VEsxAdSV93vHoVbEcZjGnJ4uKAvZ0aWCw1SnoPVPSYew== 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 DB9PR06CA0011.eurprd06.prod.outlook.com (2603:10a6:10:1db::16) by AM0PR08MB4145.eurprd08.prod.outlook.com (2603:10a6:208:133::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.26; Thu, 17 Dec 2020 13:05:14 +0000 X-Received: from DB5EUR03FT045.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1db:cafe::4b) by DB9PR06CA0011.outlook.office365.com (2603:10a6:10:1db::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; Thu, 17 Dec 2020 13:05:14 +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 DB5EUR03FT045.mail.protection.outlook.com (10.152.21.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:14 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:11 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:11 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 02/26] StandaloneMmPkg: Add library files to DSC Date: Thu, 17 Dec 2020 13:04:45 +0000 Message-ID: <20201217130509.12568-3-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 44a57609-2e4f-4277-c188-08d8a28c691c X-MS-TrafficTypeDiagnostic: AM0PR08MB4145:|AM6PR08MB3894: 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: 3FMaG8Iyz+DPrgL1rjZNkPmtV5QkewNKVZx4Wm9B9LuAl7uNegqhPDk85lIVKWJVpaknRRwBFoxNdzWzeqw+Zf/6r40m45Enx9XD4mrs7zQDl8iM1s3h3FWZPH6ptruXeIuKeCOUSHS7k6ZZY503uGIjtIj23ADr83drta8g9g0BB9R481zSzP1oInDvfkc+967eD8/KwuDpDdLHOGtFX/YFqmjrB5TSqiXggiAAQOTJUbXEhhvR7VOKKcJx3xfbgVnUYoPUkpdlkju1CUg4FLUcWoiY+Q+Fb3oZ7r12S7ZR3DWqynCU3AVqyGH9w+XHSYf8Q8i7RdlmxT/fwoJ3Go2oWqGSjlnSMSZfTjnomBCF+spCVualAUIFF8G24T9yIFvocEopN/j8MfdOj5ITfQ== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(39860400002)(396003)(136003)(346002)(376002)(46966005)(2616005)(82740400003)(54906003)(478600001)(6916009)(2906002)(5660300002)(316002)(356005)(83380400001)(1076003)(4326008)(86362001)(26005)(81166007)(186003)(6666004)(8936002)(70206006)(70586007)(426003)(336012)(47076004)(36756003)(44832011)(8676002)(7696005)(82310400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4145 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 912389c0-a763-475e-6f6f-08d8a28c64a7 X-Microsoft-Antispam-Message-Info: 3xZTmXAv/aj079BqXeTZe+ZaPTPe8tZmUEd/tDifH8msLgabnhxOxocDTOUAIE3TGeNptKpxiKSttgmmhxdgilnvl9Yukbrgto4oeiiafLU254DNb+caGYaARS87mOs1HskJxTc9w1rvkmgnyisEr6jsmbjroKpbpOM47nXV9IHMj/9fPrFQPmX4wWd9YkLXnCEfgsfiMS2gftwYrBIPIwAF6MWMFvJWYU7Gv/qgBjzCOWnEOpH4HKYacJk0JYEnNCI4gpcCoS2TrhqP7YAK18vLFF4QaMtTPFdoy/NdSNESmi7xvzcNOVcSIiIIr+2rZy3BUnU1W9aEjthQ4+T/+pye2ejRUa2uO6J6FaFPr7SkoRKgk12JXpqcGZXnWiJMGtCzqGhPbMknw/I8E+Z1RA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:21.5463 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 44a57609-2e4f-4277-c188-08d8a28c691c 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: DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3894 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: wUrZIrMYSnqjJXdOrqblbwYwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210334; bh=AHz9MNpJIDDx2wU5RZkz5SCL9gY1JPxA74NbJ2FgFvg=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=F3JC2GoLuQGV8waqciavCvO1mniPaCdPOAFw6R9Rv8h3ZxtnQ46OpBpbjMblIzR8wEa QDisatbIyEHLVoWGMFzvTOh1LghjpTbaQueZce4yzQrQiknLWlEgVVGFzb9Q0fgTxyvTk 4mBdyefltl98Rsxey6id7FVcSF2CVpZqvmU= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/StandaloneMmPkg.dsc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/Standalo= neMmPkg.dsc index f9546e182e25fbcd253de0986a1bb554dae1e975..6c0f845390bd8848827811a59bc= 1aa409db8d773 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dsc +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc @@ -2,7 +2,7 @@ # Standalone MM Platform. # # Copyright (c) 2015, Intel Corporation. All rights reserved.
-# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.
+# Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -53,6 +53,7 @@ [LibraryClasses] ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntry= Point/StandaloneMmCoreEntryPoint.inf StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint= /StandaloneMmDriverEntryPoint.inf + VariableMmDependency|StandaloneMmPkg/Library/VariableMmDependency/Variab= leMmDependency.inf =20 [LibraryClasses.AARCH64] ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf @@ -66,6 +67,9 @@ [LibraryClasses.AARCH64] [LibraryClasses.common.MM_CORE_STANDALONE] HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHo= bLib.inf =20 +[LibraryClasses.common.MM_STANDALONE] + MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocation= Lib/StandaloneMmMemoryAllocationLib.inf + ##########################################################################= ###### # # Pcd Section - list of all EDK II PCD Entries defined by this Platform @@ -99,6 +103,15 @@ [Components.common] # MM Core # StandaloneMmPkg/Core/StandaloneMmCore.inf + StandaloneMmPkg/Library/FvLib/FvLib.inf + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntry= Point.inf + StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf + StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMm= CoreMemoryAllocationLib.inf + StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf + StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf + StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemo= ryAllocationLib.inf + StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeC= offExtraActionLib.inf + StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf =20 [Components.AARCH64] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69095): https://edk2.groups.io/g/devel/message/69095 Mute This Topic: https://groups.io/mt/79035528/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 02:07:09 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+69113+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 160821041788342.400208450499804; Thu, 17 Dec 2020 05:06:57 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id KrI8YY1788612xgHZkyvSH59; Thu, 17 Dec 2020 05:06:53 -0800 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.58]) by mx.groups.io with SMTP id smtpd.web09.7703.1608210378393788056 for ; Thu, 17 Dec 2020 05:06:19 -0800 X-Received: from AM0PR04CA0128.eurprd04.prod.outlook.com (2603:10a6:208:55::33) by AM6PR08MB3223.eurprd08.prod.outlook.com (2603:10a6:209:4d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:06:14 +0000 X-Received: from AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:55:cafe::78) by AM0PR04CA0128.outlook.office365.com (2603:10a6:208:55::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; Thu, 17 Dec 2020 13:06:14 +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+69113+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.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:13 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Thu, 17 Dec 2020 13:06:13 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 35c578aeb606fe55 X-CR-MTA-TID: 64aa7808 X-Received: from 65340ff9386d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 70249FA8-048D-4903-91A0-B0205858F830.1; Thu, 17 Dec 2020 13:05:53 +0000 X-Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 65340ff9386d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8tADkUSPY188e6JjRBMyQRWGvBwFd5u2UtMeChE60R1FbVDlLTLsI/F/73LeL7BPbwiqBonVfEw/56zFD2lVValxI262JXozA/cdMAg0O5/LPxJVtlqepHLD0mtVBY3FTM0IRwvxhsUkjmBm6hGnW3y2UstoLw+dVFPXJzjhVtHdRCUpqurIIX4UA45ingUKo1LtYnDXBWnJKxLw9lnTMmloKSXLwo/8TMPYndotZayFX3dqehV6oXLSsHas8z/TM0dJ6sTcRBikUGgfArROINnRf1ryCzrbFjcwMsvqRM++Pe19/Xu5GxZswQ6noU4A9lEjc4QJKolwRgzL6Cz+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=+WDlT38CwKgafqLPAnYewfFOoNEdYOHNgQdwgKU+eVg=; b=h6fiWOVCp6Y41oIUAnso5OiWa0bC5fx3eiQuuST9CbUvNtXKd0iczyB+97K0FdQ+Uzq56DNHF8HvqH1k68tb3NGaRDJvpZamiCTm9wTWqKRL7e+CUqcBzLBvqRT7SCmhdhumvn4sk9TBNJ3UEpO1gKuxIzYM21iOXTsm4/unJcY8CAPWp01nFBxdCO1htI2M6TrNLkHqhnAhphW540vLG2BsLhtHh1R91PtzAPskETM4oggW2+tIO3GT7DLcghbVL0C2Cbfdq+daWJj56uwCj9E0F9xvJpglqBt9hp9Q6rjihanVA3+BAYXGpm0NzvUPTFnKNRvEG4ra10spBRoNhQ== 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 DB6PR0301CA0008.eurprd03.prod.outlook.com (2603:10a6:4:3e::18) by PA4PR08MB5885.eurprd08.prod.outlook.com (2603:10a6:102:e6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:51 +0000 X-Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::1d) by DB6PR0301CA0008.outlook.office365.com (2603:10a6:4:3e::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; Thu, 17 Dec 2020 13:05:51 +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 DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:50 +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; Thu, 17 Dec 2020 13:05:15 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:12 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:11 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 03/26] StandaloneMmPkg: Fix spell check reported errors Date: Thu, 17 Dec 2020 13:04:46 +0000 Message-ID: <20201217130509.12568-4-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: e8440ea3-2e04-414a-88da-08d8a28c8864 X-MS-TrafficTypeDiagnostic: PA4PR08MB5885:|AM6PR08MB3223: 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: 2d9NKcFMDbjCjpWPBq4nYPlrcVf82EbnexLIuUw7/CboM8JPgwENA9TpSIBAE15YzZ4d1yEeKNG8wYAOU4NbmPC9a1E4utJyPBAmcxbwSZ4D8QPo5GIAMfM5JGbbQ1AwzsJyQP8Xm2aIOuxcKxLT8TiDSZ+6Zu78S+5aYOXdldzAAtgbEctTlcrbOXldoaWH/kJM8EsIp3oqh7lOXdZ1sj6cVXW0tBzqzsAJ3xgNtZg7yCgbfKAM+5QJp67DByO+WVPRktvNq7dhY3tKK0y0GwF5auOlE5SvXQpiGkXplfjuqrfQiFFBvO11rUoq4QFXaGsiQtsmcxdYH+fxjduQAk7p7rDxSnO1p6op3qDBQSkIb2dIWsibqHrWje2OAGw85lRDWLz+Sf+orvGhWs1Img== 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)(39850400004)(136003)(396003)(46966005)(44832011)(82740400003)(8936002)(478600001)(82310400003)(70206006)(70586007)(1076003)(6666004)(356005)(2906002)(30864003)(36756003)(86362001)(19627235002)(4326008)(5660300002)(6916009)(81166007)(8676002)(54906003)(26005)(7696005)(316002)(186003)(336012)(2616005)(47076004)(83380400001)(426003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB5885 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT010.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: e422e765-1d66-477b-3ce4-08d8a28c7a90 X-Microsoft-Antispam-Message-Info: Zg4e8DuKpv4MYn8Xp/BTQZuxoHvHHdJWJhZ/UmbNNUtIte4DrQN05MB6pU+l8EJ8B2NAt8N0LhcpXavRo0zKrc0siF1pHJeM7SCfO4Ro19qb3FjY97yn0yaBsowDtDDaxdvGC0M/rfUssoFtr9muejw3sbp0Gnps4FCQ/ZEJ/+DrbXlZx+vKLwsl0btPTU8lRnV6pQu11N1IvuAkBnNyF3X8BbqpdXxjlwiKr/X3d0SapAkkf8CjpMOZbaNGr3bouhunkkW7DqgZRzTM0ONATEWclRmR5HeHF9E1G7ok8ia32RdadkalByazryOiSd1+yJ1q/xSMgEUaUW92CHUWKbEOCkwMtq9xMmnQs3wP9NKfR9nIU2bI4jY4V1QHRT3Y5sIMBci6d9mvNeFl02xQQQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:13.9666 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e8440ea3-2e04-414a-88da-08d8a28c8864 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: AM6PR08MB3223 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: iTbLdIIRLuvlzPW0vnvLgWJwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210413; bh=EDV0Cx61+Fa0+IjmuNQ/MXucHOfdpqfVQHk6jNukeLs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=k9a3MXTf1mcQlO4AbBGdT0MMSIrDp0XOqtII+DFWWdBKUKpvl9gAfjo8jDb9BlFccon wla9bHmYtNRqgzsILXI9J/JAYDkwsXaoq8yDyB/M5aRiyQS4KGkM6PSXjwWPnLAKW28hK MaJqUtY4nqUg7b+b+/oMrdY5Jkyfo1BSL6Y= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/Dependency.c = | 6 ++-- StandaloneMmPkg/Core/Dispatcher.c = | 33 ++++++++++---------- StandaloneMmPkg/Core/Locate.c = | 6 ++-- StandaloneMmPkg/Core/Mmi.c = | 4 +-- StandaloneMmPkg/Core/StandaloneMmCore.c = | 8 ++--- StandaloneMmPkg/Core/StandaloneMmCore.h = | 12 +++---- StandaloneMmPkg/Include/Guid/MmCoreData.h = | 6 ++-- StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h = | 4 +-- StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h = | 6 ++-- StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCo= reMemoryAllocationLib.inf | 4 +-- StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c = | 6 ++-- StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c = | 4 +-- StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf = | 4 +-- 13 files changed, 52 insertions(+), 51 deletions(-) diff --git a/StandaloneMmPkg/Core/Dependency.c b/StandaloneMmPkg/Core/Depen= dency.c index e0f2d3518369e9b712f80d34e32011d4fff27509..d2703e4538028a4c34e3baa158b= a9850a78cfb2a 100644 --- a/StandaloneMmPkg/Core/Dependency.c +++ b/StandaloneMmPkg/Core/Dependency.c @@ -3,10 +3,10 @@ =20 This routine evaluates a dependency expression (DEPENDENCY_EXPRESSION) t= o determine if a driver can be scheduled for execution. The criteria for - schedulability is that the dependency expression is satisfied. + scheduling is that the dependency expression is satisfied. =20 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -193,7 +193,7 @@ MmIsSchedulable ( if (DriverEntry->Depex =3D=3D NULL) { // // A NULL Depex means that the MM driver is not built correctly. - // All MM drivers must have a valid depex expressiion. + // All MM drivers must have a valid depex expression. // DEBUG ((DEBUG_DISPATCH, " RESULT =3D FALSE (Depex is empty)\n")); ASSERT (FALSE); diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dispa= tcher.c index c99e6c04c8de31a4ef7022a7cafee6a9db88c5a2..45b17fe3acfec9c056396873006= c03f668c1aed6 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -15,9 +15,10 @@ =20 Step #3 - Adding to the mScheduledQueue requires that you process Before and After dependencies. This is done recursively as the call t= o add - to the mScheduledQueue checks for Before and recursively adds - all Befores. It then addes the item that was passed in and then - processess the After dependecies by recursively calling the ro= utine. + to the mScheduledQueue checks for Before Depexes and recursive= ly + adds all Before Depexes. It then adds the item that was passed= in + and then processess the After dependencies by recursively call= ing + the routine. =20 Dispatcher Rules: The rules for the dispatcher are similar to the DXE dispatcher. @@ -29,7 +30,7 @@ =20 Copyright (c) 2014, Hewlett-Packard Development Company, L.P. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -60,8 +61,8 @@ MmCoreFfsFindMmDriver ( /** Insert InsertedDriverEntry onto the mScheduledQueue. To do this you must add any driver with a before dependency on InsertedDriverEntry firs= t. - You do this by recursively calling this routine. After all the Befores a= re - processed you can add InsertedDriverEntry to the mScheduledQueue. + You do this by recursively calling this routine. After all the Before De= pexes + are processed you can add InsertedDriverEntry to the mScheduledQueue. Then you can add any driver with an After dependency on InsertedDriverEn= try by recursively calling this routine. =20 @@ -92,7 +93,7 @@ LIST_ENTRY mScheduledQueue =3D INITIALIZE_LIST_HEAD_VARI= ABLE (mScheduledQueue); LIST_ENTRY mFwVolList =3D INITIALIZE_LIST_HEAD_VARIABLE (mFwVolList); =20 // -// Flag for the MM Dispacher. TRUE if dispatcher is execuing. +// Flag for the MM Dispacher. TRUE if dispatcher is executing. // BOOLEAN gDispatcherRunning =3D FALSE; =20 @@ -110,7 +111,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED UINT64 = *mMmCodeMemoryRangeUsageB =20 /** To check memory usage bit map array to figure out if the memory range in= which the image will be loaded - is available or not. If memory range is avaliable, the function will mar= k the correponding bits to 1 + is available or not. If memory range is avaliable, the function will mar= k the corresponding bits to 1 which indicates the memory range is used. The function is only invoked w= hen load modules at fixed address feature is enabled. =20 @@ -163,7 +164,7 @@ CheckAndMarkFixLoadingMemoryUsageBitMap ( } =20 // - // Test if the memory is avalaible or not. + // Test if the memory is available or not. // BaseOffsetPageNumber =3D (UINTN)EFI_SIZE_TO_PAGES ((UINT32)(ImageBase - = MmCodeBase)); TopOffsetPageNumber =3D (UINTN)EFI_SIZE_TO_PAGES ((UINT32)(ImageBase + = ImageSize - MmCodeBase)); @@ -328,7 +329,7 @@ MmLoadImage ( ImageContext.ImageAddress =3D (EFI_PHYSICAL_ADDRESS)DstBuffer; =20 // - // Align buffer on section boundry + // Align buffer on section boundary // ImageContext.ImageAddress +=3D ImageContext.SectionAlignment - 1; ImageContext.ImageAddress &=3D ~((EFI_PHYSICAL_ADDRESS)(ImageContext.Sec= tionAlignment - 1)); @@ -604,7 +605,7 @@ MmDispatcher ( =20 // // Load the MM Driver image into memory. If the Driver was transitio= ned from - // Untrused to Scheduled it would have already been loaded so we may= need to + // Untrusted to Scheduled it would have already been loaded so we ma= y need to // skip the LoadImage // if (DriverEntry->ImageHandle =3D=3D NULL) { @@ -703,8 +704,8 @@ MmDispatcher ( /** Insert InsertedDriverEntry onto the mScheduledQueue. To do this you must add any driver with a before dependency on InsertedDriverEntry firs= t. - You do this by recursively calling this routine. After all the Befores a= re - processed you can add InsertedDriverEntry to the mScheduledQueue. + You do this by recursively calling this routine. After all the Before De= pexes + are processed you can add InsertedDriverEntry to the mScheduledQueue. Then you can add any driver with an After dependency on InsertedDriverEn= try by recursively calling this routine. =20 @@ -828,9 +829,9 @@ FvIsBeingProcessed ( =20 /** Add an entry to the mDiscoveredList. Allocate memory to store the Driver= Entry, - and initilize any state variables. Read the Depex from the FV and store = it + and initialise any state variables. Read the Depex from the FV and store= it in DriverEntry. Pre-process the Depex to set the Before and After state. - The Discovered list is never free'ed and contains booleans that represen= t the + The Discovered list is never freed and contains booleans that represent = the other possible MM driver states. =20 @param Fv Fv protocol, needed to read Depex info out= of @@ -885,7 +886,7 @@ MmAddToDriverList ( =20 /** Traverse the discovered list for any drivers that were discovered but no= t loaded - because the dependency experessions evaluated to false. + because the dependency expressions evaluated to false. =20 **/ VOID diff --git a/StandaloneMmPkg/Core/Locate.c b/StandaloneMmPkg/Core/Locate.c index 00e395eca6dab8a64d2f587e1c52d2c528ed76f9..1db6f43d7d8a2e65da5199476e0= 0b7f2af6bf56e 100644 --- a/StandaloneMmPkg/Core/Locate.c +++ b/StandaloneMmPkg/Core/Locate.c @@ -2,7 +2,7 @@ Locate handle functions =20 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -173,8 +173,8 @@ MmGetNextLocateByProtocol ( =20 /** Return the first Protocol Interface that matches the Protocol GUID. If - Registration is pasased in return a Protocol Instance that was just add - to the system. If Retistration is NULL return the first Protocol Interfa= ce + Registration is passed in return a Protocol Instance that was just add + to the system. If Registration is NULL return the first Protocol Interfa= ce you find. =20 @param Protocol The protocol to search for diff --git a/StandaloneMmPkg/Core/Mmi.c b/StandaloneMmPkg/Core/Mmi.c index 5ed2295ff37409242cc59cadceffc9d3968af6b5..f636a71e26ff586eb3a9b59725b= 8fb33767dd275 100644 --- a/StandaloneMmPkg/Core/Mmi.c +++ b/StandaloneMmPkg/Core/Mmi.c @@ -2,7 +2,7 @@ MMI management. =20 Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -220,7 +220,7 @@ MmiManage ( /** Registers a handler to execute within MM. =20 - @param Handler Handler service funtion pointer. + @param Handler Handler service function pointer. @param HandlerType Points to the handler type or NULL for root MMI h= andlers. @param DispatchHandle On return, contains a unique handle which can be = used to later unregister the handler function. =20 diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core= /StandaloneMmCore.c index ac3e2c0b1b93859ebda04841f72a0bed28c02580..0b3ddbaa6a35e2e609f737a39ac= e62c2406bf8df 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -2,7 +2,7 @@ MM Core Main Entry Point =20 Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -590,9 +590,9 @@ StandaloneMmMain ( =20 // // No need to initialize memory service. - // It is done in constructor of StandaloneMmCoreMemoryAllocationLib(), - // so that the library linked with StandaloneMmCore can use AllocatePool= () in constuctor. - // + // It is done in the constructor of StandaloneMmCoreMemoryAllocationLib(= ), + // so that the library linked with StandaloneMmCore can use AllocatePool= () in + // the constructor. =20 DEBUG ((DEBUG_INFO, "MmInstallConfigurationTable For HobList\n")); // diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.h b/StandaloneMmPkg/Core= /StandaloneMmCore.h index 96c195311addf5a7121953a97f3c8c572fca85a2..dcffdd768cff9de1da4c9de4716= 22d553e6815e2 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.h +++ b/StandaloneMmPkg/Core/StandaloneMmCore.h @@ -3,7 +3,7 @@ internal structure and functions used by MmCore module. =20 Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -131,7 +131,7 @@ typedef struct { EFI_GUID ProtocolID; /// All protocol interfaces LIST_ENTRY Protocols; - /// Registerd notification handlers + /// Registered notification handlers LIST_ENTRY Notify; } PROTOCOL_ENTRY; =20 @@ -516,8 +516,8 @@ MmLocateHandle ( =20 /** Return the first Protocol Interface that matches the Protocol GUID. If - Registration is pasased in return a Protocol Instance that was just add - to the system. If Retistration is NULL return the first Protocol Interfa= ce + Registration is passed in return a Protocol Instance that was just add + to the system. If Registration is NULL return the first Protocol Interfa= ce you find. =20 @param Protocol The protocol to search for @@ -564,7 +564,7 @@ MmiManage ( /** Registers a handler to execute within MM. =20 - @param Handler Handler service funtion pointer. + @param Handler Handler service function pointer. @param HandlerType Points to the handler type or NULL for root MMI h= andlers. @param DispatchHandle On return, contains a unique handle which can be = used to later unregister the handler function. =20 @@ -728,7 +728,7 @@ MmEfiNotAvailableYetArg5 ( ); =20 // -//Functions used during debug buils +//Functions used during debug builds // =20 /** diff --git a/StandaloneMmPkg/Include/Guid/MmCoreData.h b/StandaloneMmPkg/In= clude/Guid/MmCoreData.h index 8bd80e0519a40360eb91f68673d9afea0abf5004..6c7f9fb67204f19ff250eadece6= 065e62612a2c8 100644 --- a/StandaloneMmPkg/Include/Guid/MmCoreData.h +++ b/StandaloneMmPkg/Include/Guid/MmCoreData.h @@ -2,7 +2,7 @@ MM Core data. =20 Copyright (c) 2015, Intel Corporation. All rights reserved.
-Copyright (c) 2018, ARM Limited. All rights reserved.
+Copyright (c) 2018 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -98,14 +98,14 @@ typedef struct { EFI_PHYSICAL_ADDRESS Mmst; =20 /// - /// This field is used by the MM Communicatioon Protocol to pass a buffe= r into + /// This field is used by the MM Communication Protocol to pass a buffer= into /// a software MMI handler and for the software MMI handler to pass a bu= ffer back to /// the caller of the MM Communication Protocol. /// EFI_PHYSICAL_ADDRESS CommunicationBuffer; =20 /// - /// This field is used by the MM Communicatioon Protocol to pass the siz= e of a buffer, + /// This field is used by the MM Communication Protocol to pass the size= of a buffer, /// in bytes, into a software MMI handler and for the software MMI handl= er to pass the /// size, in bytes, of a buffer back to the caller of the MM Communicati= on Protocol. /// diff --git a/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h= b/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h index c83212b405977645df61d0a8eceac80ba2e891b6..a2cd1566f5f6ded2618a16737ec= ad46f8dae8467 100644 --- a/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h +++ b/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h @@ -2,7 +2,7 @@ Module entry point library for Standalone MM Drivers. =20 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
-Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -29,7 +29,7 @@ extern CONST UINT32 _gMmRevision; than zero, then an unload handler must be registered for this image and the unload handler must invoke ProcessModuleUnloadList(). If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is - less than _gUefiDriverRevison, then return EFI_INCOMPATIBLE_VERSION. + less than _gUefiDriverRevision, then return EFI_INCOMPATIBLE_VERSION. =20 @param ImageHandle The image handle of the Standalone MM Driver. @param SystemTable A pointer to the EFI System Table. diff --git a/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h b/Standal= oneMmPkg/Include/Library/StandaloneMmMemLib.h index baa6fe99810acc695a0e24f1f6d5ead0b59ea497..a061389d23f8521abf4c0fae757= 25d27e8b8a9d6 100644 --- a/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h +++ b/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h @@ -6,7 +6,7 @@ from non-MMRAM to non-MMRAM, or set data in non-MMRAM. =20 Copyright (c) 2015, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -69,7 +69,7 @@ MmCopyMemToMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 **/ @@ -94,7 +94,7 @@ MmCopyMemFromMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SECURITY_VIOLATION The SourceBuffer is invalid per processor= architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/St= andaloneMmCoreMemoryAllocationLib.inf b/StandaloneMmPkg/Library/StandaloneM= mCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf index 3fa08f2c650c36e764825a21644d25b2bb03ca56..faed919094100c69b8227b1b688= 19955ec5dd433 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.inf +++ b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.inf @@ -1,11 +1,11 @@ ## @file # Memory Allocation Library instance dedicated to MM Core. # The implementation borrows the MM Core Memory Allocation services as the= primitive -# for memory allocation instead of using MM System Table servces in an ind= irect way. +# for memory allocation instead of using MM System Table services in an in= direct way. # It is assumed that this library instance must be linked with MM Core in = this package. # # Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
-# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+# Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # diff --git a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.= c b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c index f82cdb3ba816a5a36d10fcdf13fc6bd73f76820f..76456c12647b025c5dcab7aee33= 464aea462b7e6 100644 --- a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c @@ -7,7 +7,7 @@ and MM driver) and/or specific dedicated hardware. =20 Copyright (c) 2015, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -145,7 +145,7 @@ MmCopyMemToMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 **/ @@ -179,7 +179,7 @@ MmCopyMemFromMmram ( @param SourceBuffer The pointer to the source buffer of the memo= ry copy. @param Length The number of bytes to copy from SourceBuffe= r to DestinationBuffer. =20 - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per proce= ssor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per proc= essor architecture or overlap with MMRAM. @retval EFI_SECURITY_VIOLATION The SourceBuffer is invalid per processor= architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. =20 diff --git a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDepende= ncy.c b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c index 1fef0a93b77a0317e454f735e0afb2c2f2c85c40..3549eed791c3eca661fbf6d0e10= c0c86f509ea54 100644 --- a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c +++ b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c @@ -1,10 +1,10 @@ /** @file - Runtime DXE part corresponding to StanaloneMM variable module. + Runtime DXE part corresponding to StandaloneMM variable module. =20 This module installs variable arch protocol and variable write arch protoc= ol to StandaloneMM runtime variable service. =20 -Copyright (c) 2019, ARM Ltd. All rights reserved. +Copyright (c) 2019 - 2020, Arm Ltd. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 diff --git a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDepende= ncy.inf b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency= .inf index 34adce6f39fcb0a5709f21c4e50101fa82e3ba79..eb54776602655ead9bf76038d92= bfa80e7636dc5 100644 --- a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf +++ b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf @@ -1,10 +1,10 @@ ## @file -# Runtime DXE part corresponding to StanaloneMM variable module. +# Runtime DXE part corresponding to StandaloneMM variable module. # # This module installs variable arch protocol and variable write arch pro= tocol # to StandaloneMM runtime variable service. # -# Copyright (c) 2019, ARM Ltd. All rights reserved. +# Copyright (c) 2019 - 2020, Arm Ltd. All rights reserved. # SPDX-License-Identifier: BSD-2-Clause-Patent # ## --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69113): https://edk2.groups.io/g/devel/message/69113 Mute This Topic: https://groups.io/mt/79035563/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 02:07:09 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+69107+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 1608210404003489.8751153783636; Thu, 17 Dec 2020 05:06:44 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 6VlyYY1788612xqzJTiBXRoF; Thu, 17 Dec 2020 05:06:41 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.55]) by mx.groups.io with SMTP id smtpd.web08.7554.1608210357015947197 for ; Thu, 17 Dec 2020 05:05:57 -0800 X-Received: from DB6PR0301CA0084.eurprd03.prod.outlook.com (2603:10a6:6:30::31) by AM0PR08MB4370.eurprd08.prod.outlook.com (2603:10a6:208:148::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:54 +0000 X-Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::ed) by DB6PR0301CA0084.outlook.office365.com (2603:10a6:6:30::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05: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+69107+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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:53 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Thu, 17 Dec 2020 13:05:53 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f96919a56bf87a65 X-CR-MTA-TID: 64aa7808 X-Received: from 047e6e14397d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 52B933D5-C4F9-4327-85E8-C45E0C5FD795.1; Thu, 17 Dec 2020 13:05:16 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 047e6e14397d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GSzEbncL56RH4lAYUSNTe/Qo56vn7rF2QadadlqTdh2ZWG4QUx7tqII4Uy7tlNZ4X9areCmRKmwcuAK2CJY7Jdr4uRt+ZJvOyjdx9WwOtugNyDFQFkjI7wwuqkixNrwVs6VAhYDb/boUQPKCavU7fGCx/0sPQoBnMMsyH7Xfx6vrCWRYAEnP38iu9vegB5GS7dt092hnM2H5BVUXxzjgxo0BeblUSut/D4Ae+S5i1/gdjU2dIki8kLVGnJGoU2iD9fWxgMZLz7rkUoNAAnOR8Od6jcSboHOylyqqdAbWoOrXdzf2+u2IbWbc5eNLFd2VPn/RsYWt3V0IVCJDJKGD6A== 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=WO1HJIn83dIS8gOLzooLNcOZ1IJZG4xlHmIrVaOjUsw=; b=hSPwLHj9Y0Yn4O0xEC3iIzFITCDN26Zs8WW8EyeT91kDu0vG1+k3OWho4BvUuWE88surUKhqVAQtisSivwdgi7CvZBgLARzn9hOgN5gXg5xaeCs8bvrJYH9UKQt9PmZdYkysX9b9cDoKFJ+xD+z2zxLcz71JLE91iFm2WHQPJRkKDWgEnWKOXYI3HrBgJ7y+Ypo0cjYK4t2PrT4SnY7ybvBq9c5n6qyhHftyqLAUs36qUze75amSqG2CV7oHOEZuFmg54fU+qsb3MD/MspLjsMxYp5hMBEH2EbqXZG1KRnjfHLz8I2xvh3VbehXib4Ybib7kTAUb+8+In+s3y0Q0IA== 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 AM6PR10CA0032.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:89::45) by AM9PR08MB6305.eurprd08.prod.outlook.com (2603:10a6:20b:284::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.17; Thu, 17 Dec 2020 13:05:14 +0000 X-Received: from AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:89:cafe::e6) by AM6PR10CA0032.outlook.office365.com (2603:10a6:209:89::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:14 +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 AM5EUR03FT024.mail.protection.outlook.com (10.152.16.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:14 +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; Thu, 17 Dec 2020 13:05:13 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:13 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:12 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 04/26] StandaloneMmPkg: Fix ECC error 9002 in Core dispatcher Date: Thu, 17 Dec 2020 13:04:47 +0000 Message-ID: <20201217130509.12568-5-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: e4529685-14bc-44c5-ad57-08d8a28c7c6f X-MS-TrafficTypeDiagnostic: AM9PR08MB6305:|AM0PR08MB4370: 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: mdWWcKD4GyfS4R5D0RCy1ypSePrfkgKtX2ELOL5eBmiHGP8giohhefpzIDGq2uh6HE4Aw/qRMJ/YM2HHIbOCxJTWLtj80YqYSvefxw8xnrkgzPbqmodgyV8CX4pesPeLWp+xUEPd92H1eRHEhiRp3Bl0W8HiLHq49JvJLODVKeTkeoPpolIrg8U32vuqQE45BN1CX8BNaJCrZI6/GNrcZahXuAPbYorE9pIdOThnFqk4cwqD6gcQW+7ijp3CWZQ93Fvdpte6B1LTGnpf73hsxGFI1ApApirWOsrGMCAiLWgYRCv+jSBNh+DEP1ez6CynXNol98yuO0Y7AydSMOpxC9H37mPt5GMr/ISxKGvucV5H5/WxH7WXbVNY+akbEDjMeFDrYescfGt4qdeGjpor7w== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(39860400002)(376002)(396003)(346002)(136003)(46966005)(86362001)(316002)(44832011)(83380400001)(336012)(6666004)(2906002)(7696005)(82310400003)(2616005)(478600001)(6916009)(1076003)(36756003)(81166007)(70586007)(70206006)(54906003)(5660300002)(426003)(356005)(8676002)(4326008)(26005)(47076004)(186003)(8936002)(82740400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6305 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: dafe0955-d0b1-4abd-2e61-08d8a28c64b8 X-Microsoft-Antispam-Message-Info: S7iTRYZfaetD77HgOtTL2yccbTxUd0RuGfV7Wxz/Y6XWgjyf2D0AoByaMjv/jSMEKnxepdsQGi0tspeQ0NtZ2SAQFua1MtxhB3edkjvB+4VMKR0tkVFvo6y0DpBLiIJ/JBiIVZts0WY9QMFuW/Y0ysJgU6iyq04eI2vEnlWvLD+qry2gDIIkamjefOawO3D5ny+1tzfRFqgfnH66OkqR2nsPrfPgpuGmyJoUXiaiMH5usbQr3waL/lLW00oovy3kMTgsVvDjFPrroYM55I4paZ5iHv3B64LHxHlj/LymodnJxoo5V0D4Rmfg+8VMQPkVqK/d/2xp2xIXVS0/6lUkBaHAABcb/E6vdRw+o6pP4stJ5g6hRKKAgcLMXZxb5Nlve3VQa/ZYMxAgJfcMkWHwhQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:53.9650 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e4529685-14bc-44c5-ad57-08d8a28c7c6f 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: DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4370 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: uIGcsgpAHbTogKOkHn5MAqfBx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210401; bh=Pu/vkLnXeQff2fHOE/iYpnSlQzfDyHLUAvIKSPezcuk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=NmWLJe31kN7vqoSqMpHzJtABZiiDFpDhV3MyJpbeqPBxq4Wg7/PzQKqoJe2+CIaQuTm wHb1I6x31KtHrudvouIGjy5qlN5Aam1TeeveNW09rDggdABfdiu+hauczYOXL6vhYsRg1 epLVVhGBh3Rf85D6tULN3VLnueWZcKKBVLc= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/Dispatcher.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dispa= tcher.c index 45b17fe3acfec9c056396873006c03f668c1aed6..26e5a6933f8d5b5a33865ff63d3= ae4bea9fc8c09 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -834,18 +834,14 @@ FvIsBeingProcessed ( The Discovered list is never freed and contains booleans that represent = the other possible MM driver states. =20 - @param Fv Fv protocol, needed to read Depex info out= of - FLASH. - @param FvHandle Handle for Fv, needed in the - EFI_MM_DRIVER_ENTRY so that the PE image c= an be - read out of the FV at a later time. - @param DriverName Name of driver to add to mDiscoveredList. + @param [in] FwVolHeader Pointer to the formware volume header. + @param [in] Pe32Data Pointer to the PE data. + @param [in] Pe32DataSize Size of the PE data. + @param [in] Depex Pointer to the Depex info. + @param [in] DepexSize Size of the Depex info. + @param [in] DriverName Name of driver to add to mDiscoveredList. =20 @retval EFI_SUCCESS If driver was added to the mDiscoveredList. - @retval EFI_ALREADY_STARTED The driver has already been started. Only = one - DriverName may be active in the system at = any one - time. - **/ EFI_STATUS MmAddToDriverList ( --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69107): https://edk2.groups.io/g/devel/message/69107 Mute This Topic: https://groups.io/mt/79035551/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 02:07:09 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+69097+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 1608210350070559.5200959827129; Thu, 17 Dec 2020 05:05:50 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id fqQtYY1788612xzvaNgXevgg; Thu, 17 Dec 2020 05:05:48 -0800 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com (EUR02-AM5-obe.outbound.protection.outlook.com [40.107.0.61]) by mx.groups.io with SMTP id smtpd.web11.7701.1608210338480092742 for ; Thu, 17 Dec 2020 05:05:38 -0800 X-Received: from DB6P191CA0023.EURP191.PROD.OUTLOOK.COM (2603:10a6:6:28::33) by AM6PR08MB4310.eurprd08.prod.outlook.com (2603:10a6:20b:b8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18; Thu, 17 Dec 2020 13:05:35 +0000 X-Received: from DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:28:cafe::44) by DB6P191CA0023.outlook.office365.com (2603:10a6:6:28::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; Thu, 17 Dec 2020 13:05:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69097+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 DB5EUR03FT009.mail.protection.outlook.com (10.152.20.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:35 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Thu, 17 Dec 2020 13:05:35 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 05ccba4bc60ec2e7 X-CR-MTA-TID: 64aa7808 X-Received: from 23cf090fe0c0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5933B37C-F0B6-414A-B7C2-F3AC54AAC7FE.1; Thu, 17 Dec 2020 13:05:29 +0000 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 23cf090fe0c0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bp8kDty6Po+3PCxX7KmWyWWE57Z1oT/OtY5SzkISKdpCLAt4J8Qr0IpN8qdSbfIDFT5p/TXtpjhLoG9Xb9dEK5SsOOIW7PVU6PIR8kX9g3LVbwI1+l6bnOA7YD1uSnxDQ6nzjlSZ5vkk+UBmxm9E3q2ehC20vQHuRjscwKngs0aWIueE0zyjHQWFaKvUvYJrFPnLAl6lsM5wlhG+L2/jt0IMOru2U6frKw+3xiu9FU9xqxPLVVaHyrG/TQL9AvQbOqBHL7fUXGbzNOqn85dsLGCRMClXgFATXTEZQBGt03t9fPOFkYhMcUCZiuKdioeqW4Nyi7vOcxN5ZL1uFSUwfw== 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=WVjVbEN/AigL0OCyQpCSL0DHPnTjZO2AhcAMsDTMw74=; b=LPVhLpqhUXXvADuoeEsGT4FNRo3GTxli10VGnbj6KUIM+AvFy1mqrKizwYmwgFID8NAko+IfYQ0QYe4MWa8vxt/Y3xY0y4myT5zhEdc2zXerNhfxLOpld9/+j5/zFo6dqfA8+veV7/0jMZfRPbQuj/bHGo10akPNArwoZuRu/pUh86ZvQhLRkADS1Qn2cPEZLhK4Zw0u5y8bH0QUL1WNErrPJcewGysAy23+BZaqI0ZDx8JIdkR1uZjjrESHD/3JPDPp7pGLHQy98owOc4UO8IyUjM9vKg4PGkAguFvVJCUyr+L+OG+Uh24445uB9p3evPT5GT1VJulGf5Euo+98ig== 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 DB6PR07CA0024.eurprd07.prod.outlook.com (2603:10a6:6:2d::34) by AM6PR08MB3109.eurprd08.prod.outlook.com (2603:10a6:209:4c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.17; Thu, 17 Dec 2020 13:05:28 +0000 X-Received: from DB5EUR03FT050.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2d:cafe::59) by DB6PR07CA0024.outlook.office365.com (2603:10a6:6:2d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.9 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT050.mail.protection.outlook.com (10.152.21.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:28 +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; Thu, 17 Dec 2020 13:05:14 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:13 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:13 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 05/26] StandaloneMmPkg: Fix ECC error 1001 in SMM Memory pool management Date: Thu, 17 Dec 2020 13:04:48 +0000 Message-ID: <20201217130509.12568-6-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: cb725848-884a-49dc-466e-08d8a28c7140 X-MS-TrafficTypeDiagnostic: AM6PR08MB3109:|AM6PR08MB4310: 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: awhu68lLYvM0nEBOtGRhg+VMnZiWURZxi3kiFV9BLn8aGHnjHXQtIclVdBaS0DdzaYF63PCcZV1mDlqeuTp7LFHP4q8xpmsyfcS5XGatIEK9FD47JZavuWJPW7cmIHe4Ipqc/XSD2X1qwOdgX/goEFc97cJ7ltvEquyOiLLSFWRyD5uEfqeP8GZQkZ+5l6HN2EORyUYSh9i1t6nLWr0UvuTTrqg1+nNZAQ7x+s2KlhlUP/sWd/ne2S6IVhk6N4sklzrJ392S5QzRxbsrh/9maBMcIB3EAHkYpFQaX4eD2zn9R+ox1SAC++jxs9NFDskheQdOzeWFqLDd/UzXapHcgiU8476LbWrGP4GjMHViu/DUfX4rjG5NHdWliOUi6TXFi1ZD6p9FYcDSkqk3a08/3A== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(396003)(376002)(136003)(39860400002)(346002)(46966005)(7696005)(1076003)(316002)(5660300002)(356005)(83380400001)(186003)(4326008)(2616005)(54906003)(44832011)(86362001)(336012)(6916009)(8676002)(6666004)(426003)(8936002)(26005)(47076004)(70206006)(82310400003)(81166007)(478600001)(70586007)(2906002)(36756003)(82740400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3109 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 86fcfdcd-70c2-40ee-ba1f-08d8a28c6d66 X-Microsoft-Antispam-Message-Info: FD909rpJq15nw6BugHAH9vtsDAjxjTwhm3f9Vp+AaMB+lzTRQe9UrYCvvlLEfjfeKaI4bZpuPS5HUUAgj70pC3fpQrHtFrzMW4HEwDlaoYX3VeCU6cFr/Ykp1gt6cnxNFqFN1x2fWBq84wEQ2dR+FtwoIktTkVCd/3lP3cq1NBzXo+O3kuSO4fpvSjtlBS/C6xW98W5zSsxbJvdx1gP+bOQ4cnRgQI7zX7fwA2Np7QTkj5UW028QZnU9MtJtHsZODVR8kHd2JBLBQxwp71dml8OElZtKqlHdt6NXtUcOy9BnLu/mvuk7kL2jgrXW1s+6F2WzEZEpw1op8PwmNG3L+xFnU/5gPtCIN4CXBQZAyusxiwjDM5/LMA3rEZrxjrsfpbugoDQHogCf9KGAAMk0nA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:35.2024 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cb725848-884a-49dc-466e-08d8a28c7140 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: DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4310 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: X9cMnzLB4g37krLozoOdXtkCx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210348; bh=LJHtZsIjObl7uGgjXcB7mlU5KZ3rabjFHx0LElV62k4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=k7p6u7Bei5O/bZwWaPHka/E8aJjHxQmOUiyCxQ+5esderXpAiQczeYoLd4Nt61HJoQa FGH3zHdWp46tlHDNdMW7FqB53+C/U9Uo0adYz+RaSjRsUVi9LxqXRYd8BwRqcUIar1rVZ nwTliFmyre5abpSEC4kf7zByBsVqBezgTk4= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/Pool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Core/Pool.c b/StandaloneMmPkg/Core/Pool.c index 661ef0902165e90abdb8cba9e13773129127e3ec..ad6a1462b3db57a4f992e656bfd= 4121071b98d7e 100644 --- a/StandaloneMmPkg/Core/Pool.c +++ b/StandaloneMmPkg/Core/Pool.c @@ -2,7 +2,7 @@ SMM Memory pool management functions. =20 Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -50,7 +50,7 @@ MmInitializeMemoryServices ( continue; } DEBUG ((DEBUG_INFO, "MmAddMemoryRegion %d : 0x%016lx - 0x%016lx\n", - Index, MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize)); + Index, MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize)= ); MmAddMemoryRegion ( MmramRanges[Index].CpuStart, MmramRanges[Index].PhysicalSize, @@ -86,7 +86,7 @@ InternalAllocPoolByIndex ( Hdr =3D NULL; if (PoolIndex =3D=3D MAX_POOL_INDEX) { Status =3D MmInternalAllocatePages ( - AllocateAnyPages, + AllocateAnyPages, EfiRuntimeServicesData, EFI_SIZE_TO_PAGES (MAX_POOL_SIZE << 1), &Address --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69097): https://edk2.groups.io/g/devel/message/69097 Mute This Topic: https://groups.io/mt/79035539/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 02:07:09 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+69108+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 1608210406627744.6158318744033; Thu, 17 Dec 2020 05:06:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 0d2lYY1788612x8qigbWSfWh; Thu, 17 Dec 2020 05:06:44 -0800 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.44]) by mx.groups.io with SMTP id smtpd.web11.7712.1608210370448448364 for ; Thu, 17 Dec 2020 05:06:10 -0800 X-Received: from DB6PR07CA0069.eurprd07.prod.outlook.com (2603:10a6:6:2a::31) by AS8PR08MB6279.eurprd08.prod.outlook.com (2603:10a6:20b:294::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25; Thu, 17 Dec 2020 13:06:08 +0000 X-Received: from DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2a:cafe::70) by DB6PR07CA0069.outlook.office365.com (2603:10a6:6:2a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.9 via Frontend Transport; Thu, 17 Dec 2020 13:06:08 +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+69108+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 DB5EUR03FT018.mail.protection.outlook.com (10.152.20.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:08 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Thu, 17 Dec 2020 13:06:08 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 346dbd4c4f766fdc X-CR-MTA-TID: 64aa7808 X-Received: from 96dd9c488543.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 950B79FB-555E-4810-9AB2-95D1401592E7.1; Thu, 17 Dec 2020 13:05:30 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 96dd9c488543.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dl/2Nr9kgjCgy0/+A+QENo7cZ2Z94lkyJNc2wHxkgIW6Jh6CPiXRuKyK0iQHc/DCXKiLUVOljIZRUB44/N6lyS5QB6ZMaQfqUlIWOtUrs13KPAOD0JBqTxzFhBP/pfKB0GJSTFMnucjK1I679kbnq3TPQznk8QnOWO/q4c1J4Etbnow1rIFOr8dc0aZC1H7rK79aDqA96FzUi0y+2CFPRsPimJuiUq3yEo3h2bFGYda7hBqjjaCvo740B1TEpjO09I3np9bjx4nMLKMe7392TCoxayqnokjK88ZUKaxZ6wB0o7Mw7WmcgHEXfRBIK2PJCwxS0ovnauE8olo2oCEoIQ== 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=YQyC96K+gaIzmEXh+ybFMoeVx7D1OPf0sH0xVy8PKbw=; b=mb0c0cD9pIkT/xWxCrNejPhQUQ4QdO/2JyRJKV8Xo1MUDWj1OrYhhrj71pN3CenJVE7KHcdtCddXdMyke1CtUQEZ91olyzkxi+UDe5P3QZaioaQwp3HLXjT1+kvEaRBrsDMiQ9WBL7yeyaswVmfUYuXuPBHZN51KUX6cAehvv8/Q6DkmXY2Q0lh0JYOayv8DCWYb748Qrn7/dCLKxOpE/b8+dq1sTz8WjCqYpy96YT2Xvw1Zn0Ni6PuK0vbmuIrLGQGqEPKo0X7Ycew65saVNlrr0Ul/CH2aP6pbIz0cvkBuZl906o2ti2/+vKgbpW1Ma+CGRtUPtdrezcCac6Upiw== 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 DB9PR01CA0026.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::31) by HE1PR0801MB1788.eurprd08.prod.outlook.com (2603:10a6:3:88::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:29 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::e1) by DB9PR01CA0026.outlook.office365.com (2603:10a6:10:1d8::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.15 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:29 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:14 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:14 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 06/26] StandaloneMmPkg: Fix ECC error 3002 in StandaloneMmCpu Date: Thu, 17 Dec 2020 13:04:49 +0000 Message-ID: <20201217130509.12568-7-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 65e2f2e5-1518-43bc-f12f-08d8a28c84fd X-MS-TrafficTypeDiagnostic: HE1PR0801MB1788:|AS8PR08MB6279: 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: Hdjbnp59KXFYAwLveryGi3WR+VtYNzWXuqmSwQzGPrdGmul/fEMwZ+acEX9/l0uhncF8Ubx62lXUzRMcmUb7wJzmNCKLc0Z/FI5vDVEjluT2P9/lcbmlUtu9VooBd+MDsOv04YbGcZAvuQhBsW5XqufCgaqVX7fIFByFBY42ddK5isq6m6lmPJGJrQqhlpEFLsIYybz/XSK4NiOIF0m+gm1iZ0QyAt4JEqdfXKW5jWojUwsGqNUN3bXsVxlkMs89yFRORMY/FWLPFGWsyvfYFMf6Z+u8nVytY62GqtId2gVPReFqsQ46IZor+W45i7vZkYS+KOSDXiV6hjG9oBMnfKhgdTfXA+q7LWiLJI2fTh3oES/51X4VRM9XOdTvC0ilc8V/Lb5Wm5Lk8gCttHKJFA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(376002)(136003)(396003)(346002)(39860400002)(46966005)(70206006)(70586007)(5660300002)(82740400003)(7696005)(316002)(426003)(44832011)(54906003)(336012)(2616005)(8676002)(186003)(83380400001)(86362001)(6916009)(26005)(8936002)(47076004)(356005)(36756003)(478600001)(6666004)(1076003)(4326008)(2906002)(81166007)(82310400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1788 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 47c38c60-de7e-4e22-2333-08d8a28c6de4 X-Microsoft-Antispam-Message-Info: p2x92ASTAO8ZfFMH11Cb/uajRUF75XKdXpNZMluwfg+5mEcTgpPvBWsbxMdYvbDgjOTQcHiaihNsswZWATOwp+aCJTvU/35W8xS0vdzotzz92Nb1l1me1ziFe7xvkXksu+qxJoK5J7PU1zmVxnsxZBnrLLBPlMT6ezl95Jt1v/bLDentu9m42j/nu3UzVs/XrNj9WFAERY24Jfd3KhwM50n15jBgAI+SbYVrvgPuPf9SQf53lc6PnK6TeQok9ywP587q4xZiqD1DEk6sdikVQGtIlLu3P454oeLpjmT4+uwgsvaUKuvJZw1jSCQGXlFWLlFB7e9uaXXW/KS4DPKvLlEojRb6Hn1qWf9G8pQ7T8nmEHtRYus5QFwHfD6OOw8AGy6KM8PBnRBytCXQcZMYp7h0vkkKjXkauVXKmEiwowajSnGY1izq1aJiqPz4k4l7 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:08.3201 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65e2f2e5-1518-43bc-f12f-08d8a28c84fd 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: DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6279 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: i2OkEZE38t77MVOLprvGJyCwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210404; bh=ewB/3KFFV7kgok4+WXaUMOONjuqIgQD8XO0VA9jpfrk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=YgcGU24emzU0XeT+KLotx5LuIniQHAhZs/atwJjGLCOJxCMTRbVjBsKmZkmCplpb7GR EXC3IbG89krvbXTuL7NHVYqPxv6iWV80oS7O8eL9fT+15ZgL7ycvxrL9ldPydPJUqmHwE 30XbSgehqX5HOCckCmSCIpY+xZT7UlWantw= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 19 +++= ++++++++++------ StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 11 +++= ++++---- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 6a25c4c54843ccdc2d745e8e537942d49b1d1141..9738e8bd60149efb45ef1b66139= e0cec38b6c1fe 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -1,7 +1,7 @@ /** @file =20 Copyright (c) 2016 HP Development Company, L.P. - Copyright (c) 2016 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2016 - 2020, Arm Limited. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -84,12 +84,18 @@ PiMmStandaloneArmTfCpuDriverEntry ( } =20 // Perform parameter validation of NsCommBufferAddr - if (NsCommBufferAddr && (NsCommBufferAddr < mNsCommBuffer.PhysicalStart)) + if (NsCommBufferAddr =3D=3D (UINTN)NULL) { + return EFI_INVALID_PARAMETER; + } + + if (NsCommBufferAddr < mNsCommBuffer.PhysicalStart) { return EFI_ACCESS_DENIED; + } =20 if ((NsCommBufferAddr + sizeof (EFI_MM_COMMUNICATE_HEADER)) >=3D - (mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize)) + (mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize)) { return EFI_INVALID_PARAMETER; + } =20 // Find out the size of the buffer passed NsCommBufferSize =3D ((EFI_MM_COMMUNICATE_HEADER *) NsCommBufferAddr)->M= essageLength + @@ -97,9 +103,9 @@ PiMmStandaloneArmTfCpuDriverEntry ( =20 // perform bounds check. if (NsCommBufferAddr + NsCommBufferSize >=3D - mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize) + mNsCommBuffer.PhysicalStart + mNsCommBuffer.PhysicalSize) { return EFI_ACCESS_DENIED; - + } =20 // Now that the secure world can see the normal world buffer, allocate // memory to copy the communication buffer to the secure world. @@ -192,8 +198,9 @@ PiMmCpuTpFwRootMmiHandler ( ASSERT (CommBufferSize =3D=3D NULL); =20 CpuNumber =3D mMmst->CurrentlyExecutingCpu; - if (!PerCpuGuidedEventContext[CpuNumber]) + if (PerCpuGuidedEventContext[CpuNumber] =3D=3D NULL) { return EFI_NOT_FOUND; + } =20 DEBUG ((DEBUG_INFO, "CommBuffer - 0x%x, CommBufferSize - 0x%x\n", PerCpuGuidedEventContext[CpuNumber], diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.c b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c index 617babd5ab4bcb200ee10e19ec6f99c2ef163200..7c004c8013460bb7f1690351aa6= 4eeaa9eab91dc 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c @@ -2,7 +2,7 @@ =20 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Copyright (c) 2016 HP Development Company, L.P. - Copyright (c) 2016 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2016 - 2020, Arm Limited. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -53,16 +53,19 @@ GetGuidedHobData ( { EFI_HOB_GUID_TYPE *Hob; =20 - if (!HobList || !HobGuid || !HobData) + if ((HobList =3D=3D NULL) || (HobGuid =3D=3D NULL) || (HobData =3D=3D NU= LL)) { return EFI_INVALID_PARAMETER; + } =20 Hob =3D GetNextGuidHob (HobGuid, HobList); - if (!Hob) + if (Hob =3D=3D NULL) { return EFI_NOT_FOUND; + } =20 *HobData =3D GET_GUID_HOB_DATA (Hob); - if (!HobData) + if (*HobData =3D=3D NULL) { return EFI_NOT_FOUND; + } =20 return EFI_SUCCESS; } --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69108): https://edk2.groups.io/g/devel/message/69108 Mute This Topic: https://groups.io/mt/79035557/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 02:07:09 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+69111+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 1608210412744109.17911136329326; Thu, 17 Dec 2020 05:06:52 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id EKgwYY1788612xHratQFqprO; Thu, 17 Dec 2020 05:06:50 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.82]) by mx.groups.io with SMTP id smtpd.web12.7710.1608210374234337171 for ; Thu, 17 Dec 2020 05:06:14 -0800 X-Received: from DB6PR07CA0067.eurprd07.prod.outlook.com (2603:10a6:6:2a::29) by HE1PR0801MB1900.eurprd08.prod.outlook.com (2603:10a6:3:4d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18; Thu, 17 Dec 2020 13:06:11 +0000 X-Received: from DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2a:cafe::65) by DB6PR07CA0067.outlook.office365.com (2603:10a6:6:2a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.9 via Frontend Transport; Thu, 17 Dec 2020 13:06:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69111+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 DB5EUR03FT018.mail.protection.outlook.com (10.152.20.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:11 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Thu, 17 Dec 2020 13:06:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 80e5c918ca842e0c X-CR-MTA-TID: 64aa7808 X-Received: from 1c5c930c5037.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6D45CD56-E6CB-4DEF-ABCB-ED9382962843.1; Thu, 17 Dec 2020 13:05:33 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1c5c930c5037.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LW/RZviZi8JSy4xUcF0jJW5Sfef/ezducVb8SYxKerZ/shqwCkyx1uzs7exDQoaW6Y6pMH+54TdoVsigmm1PtLIewFSigjlknOVNTj+vu/52tMa/mGUlDB0c8Ue0au/kZx3BWlf0f8k9VUBTmOC6x8aJM/3JSQ2Bes9fUG/UEsIGQusqOhD/gOVw/kBFZAAmil3lHlwhK6HjLcpeVF3l5jziByFMaMOi3vuEEt9RsksXwy3aF3rbYSjPw9RY5wdxuPN8+TZFBATqALnW0gEPzGg13m6KDcHLDdMcsFJNnQbNgX9MxanmgPpgQIgJMBRjYT/Tsr4xT+BrOtqy03Vuyg== 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=5h9HeCVHHudD4qfH9KzUhJVGnrw6AYnsboeXGUwdBaw=; b=mR8HD7WJuATQpAX94GHfKbFy7Onfr/Gtgaz4nkgxBtmjOQ0k1krKwaLroyeDGeb8aLEn2jrkkOvVkvmhD/0Giw0/5jkJe/OSNt4VP3MolFwSEkgGV4wJmoWuDreJlQilALN+wkFZMtOxbYFVr/XQ+/+1ZXKDhxtDGcoPXbBRUSSlaTywH4Ai+j3wr8IkXpwNLGYYdwM/e1RL9ps9YZI7ap6OhiA8A8om4bCEq308fwOeTWO/CQzG/NKcCa573Qd/KeurrX9N/2wwbF+LrxM8BkCAjynd4oyagcqRuiN+twE27u5p+8YvPlzGMRkNhRc2yw5XRwyQDbC3O8rk0ahgYQ== 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 DB9PR01CA0008.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::13) by PR3PR08MB5851.eurprd08.prod.outlook.com (2603:10a6:102:85::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:05:32 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::c7) by DB9PR01CA0008.outlook.office365.com (2603:10a6:10:1d8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.17 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:32 +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; Thu, 17 Dec 2020 13:05:17 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:14 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:14 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 07/26] StandaloneMmPkg: Fix ECC error 4002 in FwVol helper Date: Thu, 17 Dec 2020 13:04:50 +0000 Message-ID: <20201217130509.12568-8-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: e9b556a0-69e4-4ee2-a268-08d8a28c869c X-MS-TrafficTypeDiagnostic: PR3PR08MB5851:|HE1PR0801MB1900: 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: texd4Q+oljX+PMnqB30lxhB4vjDzCodT6+Zg+4o3Ym69Cpb6DJf5p1A14IvziwRNeFI9Thqx5/QbrGSvjGjHJ7/y9GOugQZ+y4mnV3EYuuqouYNXeebXdwImqKgTS5gO+rP2VmdKgNPGAfwKUbIMIwCxFC+qI1Vs9SjrSxPHRuZ8vS0FfpFAL9cQOm3QKEA3mzGwABBZtgYaYqkIETrUgcX/VE4KoRJcT/SnJznUQxL3Tw0I5rqPlEFhQBHYbjlMXvY1WElcfSloSZi6ev+x52bvkPtB8sZBJSo/sSbuIRzHnQyTgnygneMOJPYfUu6XkwZorSzgogc8HEDa1M5wGLxj0McFgPdit24V1zojF3/Tx1a9Je+u06sa+l0jQ47wvc7ra77ncy3Dxf42EDjt9A== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(136003)(39860400002)(376002)(346002)(396003)(46966005)(8936002)(7696005)(44832011)(2616005)(8676002)(316002)(81166007)(70206006)(70586007)(426003)(186003)(6666004)(36756003)(2906002)(47076004)(1076003)(26005)(5660300002)(82310400003)(478600001)(54906003)(86362001)(356005)(336012)(6916009)(83380400001)(82740400003)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5851 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 730f6a6c-20d5-480e-b5ff-08d8a28c6f58 X-Microsoft-Antispam-Message-Info: kxA9X+LlJyfJwGN/iRL3GBxrh546qLVqQqGkBrHDq6Th814/v46R96sAjlDQeWn1iNN1drAWFrNwf+rpz0jTSetd/D+7w0ydZHr6SBMuRLBdZQ/VNp4qOZFQSBsluGkuph4Bg/ognofJrL4UpkBdn5TQwC4VBz7qMB3A6NrpTA9q7EHH4zlxFTm6aTfBLwl/Q+YXM1Y+xDxurggVggTdwWJF85KNYWGf3BURrUCa+1+u6C36Ugq+n4wUqfkwK8KPuV3u9Fd4l4iWMC4B3/d3TlQ2Lk/2BnieH/7mhfWUhn3vCfVqctyWbTCJCbTQsggIskpj9r9uDwqngA7tIBwjUr0JRO3STa9zDH4Zohv87rRMzNDTtXbN52qukeqSEQuor3mX0q0cFuKsylWseFbE4w== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:11.0398 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e9b556a0-69e4-4ee2-a268-08d8a28c869c 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: DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1900 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: XKvee3TzViRQySaTd5OXc8c5x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210410; bh=TGQg9lIwPsz30tSn19UC/wx7YIqKxqfg5JPl4KrUrcA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=KWOY+rMdusRdiZB6ijqWxlWN3bubYEJKG8fvOa1Hmq8QPAbIOyqYF8mjK8QR2J0PchO 1tBWpG7cid57SGCI7i/apngCUX5LTeC20JofW4QDsNqjIgc33aWREltflxAxJ4hfW0K03 86V6lfaza8/z2XmmFE5n7lPdCOyQLak2WNo= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/FwVol.c | 29 ++++++++++---------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/StandaloneMmPkg/Core/FwVol.c b/StandaloneMmPkg/Core/FwVol.c index 856d86011d314a33cdee66af77f34fc8b290b509..c441afc3957b0f8c39625d8199a= 16c3823990e99 100644 --- a/StandaloneMmPkg/Core/FwVol.c +++ b/StandaloneMmPkg/Core/FwVol.c @@ -1,7 +1,7 @@ /**@file =20 Copyright (c) 2015, Intel Corporation. All rights reserved.
-Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -42,23 +42,24 @@ FvIsBeingProcessed ( IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader ); =20 +/** + Given the pointer to the Firmware Volume Header find the + MM driver and return its PE32 image. + + @param [in] FwVolHeader Pointer to memory mapped FV + + @retval EFI_SUCCESS Success. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_NOT_FOUND Could not find section data. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_VOLUME_CORRUPTED Firmware volume is corrupted. + @retval EFI_UNSUPPORTED Operation not supported. + +**/ EFI_STATUS MmCoreFfsFindMmDriver ( IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader ) -/*++ - -Routine Description: - Given the pointer to the Firmware Volume Header find the - MM driver and return its PE32 image. - -Arguments: - FwVolHeader - Pointer to memory mapped FV - -Returns: - other - Failure - ---*/ { EFI_STATUS Status; EFI_STATUS DepexStatus; --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69111): https://edk2.groups.io/g/devel/message/69111 Mute This Topic: https://groups.io/mt/79035560/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 02:07:09 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+69110+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 1608210434897202.14278351431426; Thu, 17 Dec 2020 05:07:14 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id Ec65YY1788612xDnaJ34ckHp; Thu, 17 Dec 2020 05:07:13 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.85]) by mx.groups.io with SMTP id smtpd.web12.7709.1608210372470195880 for ; Thu, 17 Dec 2020 05:06:12 -0800 X-Received: from DB6PR0601CA0042.eurprd06.prod.outlook.com (2603:10a6:4:17::28) by AM8PR08MB5793.eurprd08.prod.outlook.com (2603:10a6:20b:1d8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:06:10 +0000 X-Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:17:cafe::16) by DB6PR0601CA0042.outlook.office365.com (2603:10a6:4:17::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; Thu, 17 Dec 2020 13:06:09 +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+69110+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:09 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Thu, 17 Dec 2020 13:06:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2c4666669d034421 X-CR-MTA-TID: 64aa7808 X-Received: from df9563319b93.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 61DAAE8A-587B-42E7-88FE-8C70BDA45A00.1; Thu, 17 Dec 2020 13:05:32 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id df9563319b93.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WMO+Uu7lfhRpqUmOqJqTnKcfOTgo466XDRrr8UiBVytEbpbGZPxaxiuhC0jiijY1Yyvbe79Sn320sjty2MDIYuZW8PclKPct6zGkxGld9Ij2OtLJgh8sx4T0XMWGOCENnIcCCCxFew/LAeeYOjCkUqeEzEIaOnWoRfVsIrtjfp6zeDg0mQR8m+PdqAFYYjpG7DgoihnZxeDL1Ci9QBEfdJnhEiag5KK6p3WddtYzaYhElEdxxiPpN6RRFDiYibwVPxvkbuuw+SrMAxRx6u9x2sMEbqq7goTwTA+essLiQnaAc40KjnuIqclcs1gjldFdkIEg+M67HIbEXYwPqlVSww== 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=mBJgvfNfkQkFiFrnKZLvQgpRcQUAxT7Cki+heFHzRUU=; b=Yl4ArDkrp/qqgUY9yE4EFMQ6zm++Q43fGycb23uQss1fLNmze2GREH3JKg9NVVakO2twqYKAWaSZw5OIhrO+xn3uI2V0d1LpvlEZwDc5Gh7eGyRW9ACrqSuyejV862hc+o46+5E7s/RmDyeYWj9C41h1XL9Ue0WzcKQ1rRZH2EEaeRBnmDqvXLv9vQHy/3ZAYV2gJMkALW9OkeBeJSSYXrWhZenGLSvbNO/OVJOJQk8NdP5fUBK6u30eaAgYWdSrSPwYJLoY01BcQE3DG73jEMi8J0E9baQe9EkC248PuVyGhp0ZE9v9BM6oqtYqwrasT5feXTGTc3MAtF5DbwdtjA== 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 DB9PR01CA0020.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::25) by VI1PR08MB3888.eurprd08.prod.outlook.com (2603:10a6:803:b8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.14; Thu, 17 Dec 2020 13:05:30 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::f5) by DB9PR01CA0020.outlook.office365.com (2603:10a6:10:1d8::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.17 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:30 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:16 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:15 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 08/26] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCoreEntryPoint Date: Thu, 17 Dec 2020 13:04:51 +0000 Message-ID: <20201217130509.12568-9-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 2ffacec0-809e-4ac0-1091-08d8a28c85d8 X-MS-TrafficTypeDiagnostic: VI1PR08MB3888:|AM8PR08MB5793: 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: zPdx3A03PB76My3sxRSOIX/zYcrkhK7kwtIHbmIg7CCu+BYoyQFQ9gWEHh+Gk8xa2htkOos6sK2nDCRCTVTygLwrMB8kFZw4xaAdv0WAwHokAgVnnJneC4f0KX3qvDEPcHte+SL9gpCe2xPxNNZrMWQ34UE/AkucpTLGqztY7VQLNLtL4OBJhY9MkHYBs3/vklZJBSINSnNuZGLJ7MnQ+5pvHuVwZ+ZE0fT8yT7LzY4TCt/PQQUtwtp+8kIe2FocFLi5OfTXbSudqMQL3Wq/fRIBI3IpWQoEfbTNBKHkKX5Y30IDEiwkcvT/dZqjb32zenU06quMijDoTjGiRDM56wvGqlheV1kCT0dX9CjYyqrxx1eNdXV/5YM8vwpzoHhska4AaYcSkuheMgVLZB64Kg== 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)(39850400004)(346002)(396003)(376002)(136003)(46966005)(47076004)(1076003)(82310400003)(86362001)(8936002)(26005)(83380400001)(356005)(70206006)(8676002)(7696005)(6916009)(316002)(336012)(426003)(36756003)(6666004)(4326008)(2906002)(82740400003)(478600001)(81166007)(2616005)(5660300002)(54906003)(44832011)(70586007)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3888 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0246c95a-490f-49d5-1a50-08d8a28c6e98 X-Microsoft-Antispam-Message-Info: QASjF//FpYD+izOOtyi9EffWkUW+aX2w41wW1Em2T+dSEySjVb1ftBymFGC/WQhqkKV+jpdMnKDgRupE8uN2mWOOqR7/W0JxHGYkq4nRrAM6+wj0rChzhGaNFN8zxKZZUQKfUfP3SM2gK7tPvplT0U+X0FbbsDBzMna6kFyx3+s031z12XPzevytAG5IJgZJGQ0/tP1c18kg6niRNOWSu42vhWh5Orl6jbwCBeX48HxKaGIbxH5yrVnZzSqmzvoAjY9yhYMPMAQDtYdcP+T+2RCuuUeBZP16RIxnvYUCO4LoKz/NDlG5ob0miuO+ks2Z0wkhD5o8knsXG5Qc2E9s0s0/lTpbaBQjrtF5FFQykKI4dXaNQ/gOjBL1Hqh/jBbIX4tcnD9aTczUYq+/3wFLKQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:09.7516 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2ffacec0-809e-4ac0-1091-08d8a28c85d8 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5793 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: 9Duq3i9nMvUnvJS8uYB2IFN1x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210433; bh=fGY7ehYNkfkmjTZlKg/OWuTPYp7wvR00grCCVdmjJ7s=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=mWRiWIxHJXWg3eavmrv4tl6467RT5RtM3RfHCdkmnREecYSr23xpdiEAdogKcwvGdeg rk5h0Ikl4Fyli2SIE+upSCQPL7Ma3Rin4YHNfLOe0mBBPuWKMwfMIgoMAsCS7jueqg7uD Q/J6XTupT5x55j25MFxUZBRjliuL7ihkNSM= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.= c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Set= Permissions.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/= SetPermissions.c index bf9650d546291f6d449249d4f0577278a93adb24..0ab6edaeb7f05bc814281d0e928= 305804633e970 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c @@ -2,7 +2,7 @@ Locate, get and update PE/COFF permissions during Standalone MM Foundation Entry point on ARM platforms. =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -121,9 +121,10 @@ LocateStandaloneMmCorePeCoffData ( IN OUT UINTN *TeDataSize ) { - EFI_FFS_FILE_HEADER *FileHeader =3D NULL; + EFI_FFS_FILE_HEADER *FileHeader; EFI_STATUS Status; =20 + FileHeader =3D NULL; Status =3D FfsFindNextFile ( EFI_FV_FILETYPE_SECURITY_CORE, BfvAddress, --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69110): https://edk2.groups.io/g/devel/message/69110 Mute This Topic: https://groups.io/mt/79035559/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 02:07:09 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+69098+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 1608210369487317.2138601116535; Thu, 17 Dec 2020 05:06:09 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id YGv7YY1788612xf1LF1hlZDY; Thu, 17 Dec 2020 05:06:06 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.44]) by mx.groups.io with SMTP id smtpd.web10.7645.1608210342338575813 for ; Thu, 17 Dec 2020 05:05:42 -0800 X-Received: from DB6PR07CA0012.eurprd07.prod.outlook.com (2603:10a6:6:2d::22) by VI1PR08MB3421.eurprd08.prod.outlook.com (2603:10a6:803:80::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.14; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2d:cafe::34) by DB6PR07CA0012.outlook.office365.com (2603:10a6:6:2d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.9 via Frontend Transport; Thu, 17 Dec 2020 13:05: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+69098+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT020.mail.protection.outlook.com (10.152.20.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Thu, 17 Dec 2020 13:05:38 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f74f5fee9b0deef5 X-CR-MTA-TID: 64aa7808 X-Received: from d3ff16d16ffa.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 495A0325-2034-4073-9DF1-A27ED0559EC0.1; Thu, 17 Dec 2020 13:05:33 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d3ff16d16ffa.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Up/TRnjc0KAB51s0Kd9SRxIfg1E6KYLy8hEix2IbRN6Ypc78yCv+Mjvu1liLJs46iA0/AntqcbFqWwq7cSxfkUbD6WwKfEc2V5bS0w6RHACPBmU5GKLSjbwXrJ5DXhxgiP72RkLuJAqZELDUiKVH5T6owq7u/u1VWQaTduI9Qe2kHxC6+88I9jDkAtTV0nqXlwsPZef5ep9RMDX/GjHffOMnHN7bUOI5UkE2kjWfMtv892MBO8ZS70qRt2mOEy5yid5iveZHog/M4zOKOTCpWbjoNWWgTR2i7YQooiR/G9Oe+VJ/Rxga/qS4uyjTclG1+bTVXj+Wvn54izHne3Q1HQ== 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=KabFIPXG8OaizOuEpQhmuLkoBXZTon1pwF0ROVH7jU0=; b=lVuICkMXM65edpIEMSkjBORXBBij/NQAUUhkjSqvqh2FGAb7PQ5D5FDuAzpDWPMUUGklqEV+2XAOMbhHmLvs9n3QmWBZ1MOPxLBGUXbGU5+kaizvO3AMz2z9qPTkJrh/ae720y55AikpksAMdltwp+VsqXy9NhPfCnDTdw0Ip6eoQK7d7RiA4jY8haAPm0W0xzv+jVvWB5uFbL+zfXmjROnRE1UJpvAIlpjdzjY25XQjOYyfnk/Lfvg/B+a0cchpvYQTlFgoO85HYBw+QTUGHTZBwcDKRzx7kNn0pZBrednTMQOkIZObTTpFvy9eyxg69DFA3GNHedJpaZSbxtn8mg== 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 DB9PR01CA0013.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::18) by PA4PR08MB6253.eurprd08.prod.outlook.com (2603:10a6:102:e4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.24; Thu, 17 Dec 2020 13:05:31 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::3c) by DB9PR01CA0013.outlook.office365.com (2603:10a6:10:1d8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.17 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:31 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:16 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:16 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 09/26] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCpu Date: Thu, 17 Dec 2020 13:04:52 +0000 Message-ID: <20201217130509.12568-10-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: d44e0ed7-da9c-42da-32ce-08d8a28c737e X-MS-TrafficTypeDiagnostic: PA4PR08MB6253:|VI1PR08MB3421: 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: 1/jP5f0gWS0bLtQvOeNe2eR8m1M59JFPoVrLafSo/f7TW99UsDJGzh6sllfx3W4yWzvxzUqEr59i/9c6+FaB9fREqO4rNOPFG0IpJpwHs3/b78DXkZr3SQwHpwp6DanLrinG4CPzbRYch7+LB5gXgah127INOa13o+iuJx24FkSnTH1kHCOv43NHr6RD1NG+frdUtybrI6MRYMhWhrKE2RzsfJkMtepV/VpYhqS9wTWjGX+FM8ttnkwaE1iOReU2BgZMGluyylWLh0KW0XmkRPYQP0DebTQg+bcKkaA23eXsGKlzZg2XKgwhWqVchYro6DLrXU0dtf6HOEeIN4vmf2SbrvW4EvBSE/PtranwExBvcG1XcAdBxlIQMIe7iUo8RHJb8A14ZButtTDDv2Fz4Q== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(39860400002)(376002)(396003)(136003)(46966005)(81166007)(4326008)(70206006)(5660300002)(336012)(70586007)(356005)(2616005)(2906002)(26005)(44832011)(82310400003)(478600001)(8676002)(426003)(186003)(7696005)(86362001)(1076003)(82740400003)(6666004)(8936002)(47076004)(6916009)(316002)(36756003)(83380400001)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6253 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 726c23eb-dd46-4c79-cd5a-08d8a28c6ed4 X-Microsoft-Antispam-Message-Info: TfbB+Kcg6gmcXAFMZlvHJ89+saqw21tvFfSoE+MG84PgwQEq0qdZhx1VK5mbQ8oiLWCrZsuh2CclGOSz6lazDZgJ9TbThqDFk6txngByZVLq520MqxedWDBDHCh33hbXyqNXRZRMOVjNK0fR2uebecv8oqVoyVz9Mk9gs6E9t0opEsFk4M+Ckd0Z4xHFpcZP4gtQSepkyS1xSavdHAcx1PEsPBKpd1saqmyqpeC88cXuO54g1bUqcIyzbx0cTmSk6jsT+V3hS6h1LT7ypQSTH3yInaU99YHTJtf/xNT7KhQ4Ohp81HYxIAt8/iczBKHnTbXBgafrg1jBNs41cQ3W7A7iq/cAE9tOyYDGTVhwd9nGBIDnB28yef9y/8uGY4/cDMjwWfmeeC7smd0EIlEWkg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:38.9636 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d44e0ed7-da9c-42da-32ce-08d8a28c737e X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3421 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: S1vLs7if81P59rVm5tEazIvnx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210366; bh=fk4II7x+7E0kCLk0hljZsY8XUl0HVsPpcXarU7tdhg8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=fI5Ba9T8Qe1XUF+jhluJsZCTpygDdHP+wmzdoKElTTtWSdKqZr6fNwO8Ab5foPUJd92 pfsRnDXCGPNJvIYOjKsknLQnM8HLFjhWI/GWJkOR0YjkLLzKQ0Ox3/+TFv1oNy8smJvZz KrMvSRAAg84fLNuzBo/GaExlkYx3Jy6sz7s= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 9738e8bd60149efb45ef1b66139e0cec38b6c1fe..7620a65c7e3bbd647961942f5b3= 0d3d834107f70 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -65,8 +65,8 @@ PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN NsCommBufferAddr ) { - EFI_MM_COMMUNICATE_HEADER *GuidedEventContext =3D NULL; - EFI_MM_ENTRY_CONTEXT MmEntryPointContext =3D {0}; + EFI_MM_COMMUNICATE_HEADER *GuidedEventContext; + EFI_MM_ENTRY_CONTEXT MmEntryPointContext; EFI_STATUS Status; UINTN NsCommBufferSize; =20 @@ -107,6 +107,7 @@ PiMmStandaloneArmTfCpuDriverEntry ( return EFI_ACCESS_DENIED; } =20 + GuidedEventContext =3D NULL; // Now that the secure world can see the normal world buffer, allocate // memory to copy the communication buffer to the secure world. Status =3D mMmst->MmAllocatePool ( @@ -127,6 +128,8 @@ PiMmStandaloneArmTfCpuDriverEntry ( // Stash the pointer to the allocated Event Context for this CPU PerCpuGuidedEventContext[CpuNumber] =3D GuidedEventContext; =20 + ZeroMem (&MmEntryPointContext, sizeof (EFI_MM_ENTRY_CONTEXT)); + MmEntryPointContext.CurrentlyExecutingCpu =3D CpuNumber; MmEntryPointContext.NumberOfCpus =3D mMpInformationHobData->NumberOfProc= essors; =20 --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69098): https://edk2.groups.io/g/devel/message/69098 Mute This Topic: https://groups.io/mt/79035541/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 02:07:09 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+69099+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 1608210354652182.00929179007142; Thu, 17 Dec 2020 05:05:54 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id OFDXYY1788612xemLKT2VVWS; Thu, 17 Dec 2020 05:05:50 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.40]) by mx.groups.io with SMTP id smtpd.web08.7551.1608210346518982046 for ; Thu, 17 Dec 2020 05:05:46 -0800 X-Received: from DB9PR02CA0014.eurprd02.prod.outlook.com (2603:10a6:10:1d9::19) by AM0PR08MB5314.eurprd08.prod.outlook.com (2603:10a6:208:184::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:44 +0000 X-Received: from DB5EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d9:cafe::a9) by DB9PR02CA0014.outlook.office365.com (2603:10a6:10:1d9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05: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+69099+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 DB5EUR03FT006.mail.protection.outlook.com (10.152.20.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:44 +0000 X-Received: ("Tessian outbound 39646a0fd094:v71"); Thu, 17 Dec 2020 13:05:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8bb42f3da36c7636 X-CR-MTA-TID: 64aa7808 X-Received: from c2345bab18ab.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AF33730A-C9EC-4E77-ADAD-D1BDCC7D79F1.1; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c2345bab18ab.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UlJU29hfTvZ4qIewhhE1Phpr+Gwb/4OAHXy6Vyf5FOGF80WfUoiquiJfbjrasmWEF6mufGJF6oPZtmVtyRbuoLpW9Ehwbw13pzPQJ2mnVv1v1xoWny3eZt39GwiMTM2UB32tStC2oewej1bfgwPair3K8GBvt/yRqVULn6KGI+xMaGDCOutVDAu0i0aGYOGpEBAN+CKvBejNoF3MI2NQP9g/j3WIh8vaTTusPecdaHT0iWUbP/XjxqSk2RJjSUOZBA1Svgb+8zpAFcxFurNdrztovJl9+s29/Lo2lpHW/piKY2dNFCm/9ZOBEXDtW1jZrLy0E2+9dcaN7n6+9vdZvw== 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=EKEIQTYt22fk5tTrJ3QOELhfA6aBMWy7aaFYTLW305g=; b=O/kmiNsFiE9XIQe6bHE87kRPpi8f9UFC3izpWqHUIzLos+TGMXPQRBb5CcDkOUmoR7wS/qfzfucJSpDkPO2yt5hxWH6lXPncJB0gTEq6Ml6Fmx0bzTlF7bUa48wMmtsLJ2lLdzihpnTHl9GAISaPiDy9kElb30FFRPwHMExh1rkSiiw69B5NQssFAivYbTfqOM1gLyHZl0zRVqMUpZeWTMiqZa+NfgCHgjFoNDpSgM5oCFjrhR1bplNr8SeZ3d6YSy/TYoC2UzPfmHb6xTyQXwfO20GIUVMW0meE57JtcC+a5Fx/V5a6OFqBEOXyUyABREd0ClSREIFBTYYs7AZG4A== 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 DB9PR01CA0027.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::32) by VI1PR08MB4415.eurprd08.prod.outlook.com (2603:10a6:803:fa::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:33 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::22) by DB9PR01CA0027.outlook.office365.com (2603:10a6:10:1d8::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:33 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:17 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:16 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 10/26] StandaloneMmPkg: Fix ECC error 5007 in StandaloneMmCore Date: Thu, 17 Dec 2020 13:04:53 +0000 Message-ID: <20201217130509.12568-11-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: fe9f49a0-5e72-44eb-bb16-08d8a28c76ab X-MS-TrafficTypeDiagnostic: VI1PR08MB4415:|AM0PR08MB5314: 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: dDta4c1IM3zokomHuuwn1/RYD1o20hDOERoQU811tTseWMUT/QH6pheI8j96zWnx71lXV3cPFmt6RsP5dlI/AwcvPHtP/G6KdfP2GSM/IIbVwkWKuH6ihmMAwXvxu0GT+gT/pYlIIcIeRo9rnAoinlcNmxSZVIxI7lefhD3B7UD1vXYtkzs6ab40J97LE/4cHt+wYdWtS0Bn4i5POox5DX0926n8LSm8SBWrtmPStDMEqHB+3KyVodTKFObiyWIfkH7miQPARHo9Fjt5S+v3bo52fWHhWT5NyF2D3eh7dxS1SiyW+37BKkOzS/JE92bz0gdV4+c9eQQY7us3KFCB/raH6yJaQcvrfd7JnwfM6Y3uu+PMt5M6lyFiaHwuMUPTxWs0PP4ACFrqlR2KzvcYbw== 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)(396003)(376002)(39860400002)(46966005)(4326008)(7696005)(86362001)(316002)(6916009)(336012)(5660300002)(2616005)(44832011)(186003)(82310400003)(1076003)(426003)(81166007)(70586007)(356005)(26005)(2906002)(6666004)(478600001)(82740400003)(54906003)(70206006)(36756003)(8936002)(8676002)(83380400001)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4415 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 4d6331a8-7971-4196-6358-08d8a28c6ffb X-Microsoft-Antispam-Message-Info: gO/C/vJSyNZ4Y3gvfY0vhBl/aj7/Cb4uBq6zNtwT+IbyW/bJU1dFD1Ko9ypl7hurKVeE/86yF5i9Xp09Cjr4lWgshzEJaWwznlpE/zwtCGPfQJUIfKv7C9FoQdib87QgjNclG8/uG09PLHgilr+wuRxLzbPo4bgVVFtII1srgRe1CfWZY3QlZwR5EJDEQS4w6fHApFO3TkVLd/vzMjMgvnF/V9kq1fIZim/vpGdy8wCteAVGfII63voyhFJkuCeXd6M1NZO1G7vWwz/CTMlKymO0Cfj/uHFjxqOu40cKSCgSrAOUdhgIaDISqNFkA/ygfePCin4QmnDmgQqTawNN0FQyn3UjvfgHUKBkh/fzMnLSIyUsygL/pofxHxaYRj0sxCm+AkrDWnvOakAVoTuVnA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:44.2932 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fe9f49a0-5e72-44eb-bb16-08d8a28c76ab 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: DB5EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5314 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: 0eDHv8U27Di0QzdPXMzhM40Ax1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210350; bh=Xij1blQOmoBWdn2qg6gHO6kJvsdA3NaaRhswtZ5gSLk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=JMkEFh2e4DGNYvKfiQdalskOtQOoObObNiq16RTdrjALyEkQp5+3aIA/xhp24Yd9tyX A+cwVds4r+KrsVGA3clwKKl6WxNE/XRDmOQvTq5Z1yXSr0qQnJTVf2cUH9C//53VgLbmp JvCXAbZ9F5b/vAAjsw4mLDF30XyaiyYtqVc= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/StandaloneMmCore.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core= /StandaloneMmCore.c index 0b3ddbaa6a35e2e609f737a39ace62c2406bf8df..803d7605ece7f6a3400866a04e3= 9acf74cda8144 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -149,9 +149,10 @@ MmExitBootServiceHandler ( ) { EFI_HANDLE MmHandle; - EFI_STATUS Status =3D EFI_SUCCESS; + EFI_STATUS Status; STATIC BOOLEAN mInExitBootServices =3D FALSE; =20 + Status =3D EFI_SUCCESS; if (!mInExitBootServices) { MmHandle =3D NULL; Status =3D MmInstallProtocolInterface ( @@ -187,9 +188,10 @@ MmReadyToBootHandler ( ) { EFI_HANDLE MmHandle; - EFI_STATUS Status =3D EFI_SUCCESS; + EFI_STATUS Status; STATIC BOOLEAN mInReadyToBoot =3D FALSE; =20 + Status =3D EFI_SUCCESS; if (!mInReadyToBoot) { MmHandle =3D NULL; Status =3D MmInstallProtocolInterface ( --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69099): https://edk2.groups.io/g/devel/message/69099 Mute This Topic: https://groups.io/mt/79035542/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 02:07:09 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+69101+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 1608210365648232.7557109720301; Thu, 17 Dec 2020 05:06:05 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id oWwbYY1788612xs3LZ0oOESK; Thu, 17 Dec 2020 05:06:03 -0800 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.58]) by mx.groups.io with SMTP id smtpd.web12.7698.1608210347064668791 for ; Thu, 17 Dec 2020 05:05:47 -0800 X-Received: from DB6PR07CA0158.eurprd07.prod.outlook.com (2603:10a6:6:43::12) by AM5PR0801MB2004.eurprd08.prod.outlook.com (2603:10a6:203:4b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:44 +0000 X-Received: from DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:43:cafe::3b) by DB6PR07CA0158.outlook.office365.com (2603:10a6:6:43::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.9 via Frontend Transport; Thu, 17 Dec 2020 13:05: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+69101+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT046.mail.protection.outlook.com (10.152.21.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:43 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Thu, 17 Dec 2020 13:05:43 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 865cc99b17ff24fb X-CR-MTA-TID: 64aa7808 X-Received: from 23e5428c86dc.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 120091C2-26CC-42BA-A694-A5A6C056B589.1; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 23e5428c86dc.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AB10RM6I3EYfFeYzLn5MNnYmFytGGP+zyc6bixrhDx1Gfj7tQaOjX+eijHzWfQSqPkUWbC3eknC4x0PxDIKsJ/fOO4H1f4J5NyQis6p3gQHYTRdncEknA8emGiliIZIf2MU6bp4hqSalZuDQW6XvRoxJGNVkmI8DlWcfR9A33aKhrTecN+XYlI2VWHIiBtToC/TuqErma4J0wDlq6CZCLF8YkUrfDUs+q+6vRUYzlBUcy0Lzz7JQeEotculHsc5pGnhAx6eMH4HlbCql9h4MI6p0v8SJtYyKs5F+hBFRO7hP7oZRoxvT1PHtTQOx0EC46gEHNljCR21iJpSZWQmRRA== 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=QV0IZYp4tbKW25382PtlatQTDdSmtdIC7A/0GXw/FOc=; b=HVkEB9a9vTpRYtjwn9bozVyaAzKKrzP24Z+pCY2KvGp3x09DUZS/i9mxx5T/BXTJzl+aewKjmmNe8cHD6BwsvSO3czDjW9Uzv40BvZ0ZGlR41RSdKjC9vgQuKjQrQH46SKvBniKESKh3jvHC+aYoU/GPKJ+yZXA2J5wy6mfG+paj66EYTB35TSmaZSaY5T76UvpRRv1KEQ7CEyLlFl8MCQb3jd2ta8KapuVeMj8l5pYGi6e0WcA1mzkOui/niSeHeuOOwe6GO8AsC6T8BGqq9KAQfXI3weWmPnPyRE/Cwl/BFO290WJpmDIS/phv3svrxiDX7orxntjAl71lYK1IhA== 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 DB6PR0301CA0072.eurprd03.prod.outlook.com (2603:10a6:6:30::19) by DB7PR08MB3195.eurprd08.prod.outlook.com (2603:10a6:5:1e::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:36 +0000 X-Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::51) by DB6PR0301CA0072.outlook.office365.com (2603:10a6:6:30::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:36 +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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:36 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:17 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:17 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 11/26] StandaloneMmPkg: Fix ECC error 10014 in StandaloneMmCpu Date: Thu, 17 Dec 2020 13:04:54 +0000 Message-ID: <20201217130509.12568-12-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 5d403734-0d3c-42d9-7638-08d8a28c7664 X-MS-TrafficTypeDiagnostic: DB7PR08MB3195:|AM5PR0801MB2004: 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: XnT7w34hIkIhyVvnVaXMCnM0JlHu9M9nlP2afm+BAHE+u/J3d+txJZlYpkBU6lO99F4kiOuUOn344gEIFP/5P+voSP/E4t2R4KYUKg/HOPm+2HslXFZzQYIo4OlegQNXlabhNsbJ80SDTEy81ziiau9l+XYF/YPhWM73KP8Fw4gVKYSU/fEm/0VDAaQEBZ8WFfgvjYqf9SljUcYjJU6NSemP5c5Blpn7ACTrO8cEzayVsEIS4qSvWTwXtuLXEoBmMbfP/g1guB36/E+/92UwDFkAwSOj1gefpZl7ZGZU3/3jUTIVAIJqcxZZbq7k33lu/JPTtbwY4OUuExZOr9lh+uKHygDrixPHw14/JI9NF8Zq/y4U6352hxe+29mjopfmm6nRLt9injs5L8e28UnGew== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(396003)(39850400004)(346002)(376002)(136003)(46966005)(36756003)(7696005)(2906002)(81166007)(54906003)(6916009)(6666004)(8676002)(316002)(356005)(83380400001)(426003)(1076003)(478600001)(70206006)(8936002)(26005)(47076004)(70586007)(86362001)(82310400003)(5660300002)(82740400003)(336012)(44832011)(186003)(2616005)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3195 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a7bd56e6-49bd-4e82-4be6-08d8a28c71e3 X-Microsoft-Antispam-Message-Info: 0IJ24xEZXAi2g2q8Jg1cAOur59q5xWsKwpbV45xZ7DBA3FKvyoNe/8gV1g+3EzGyLCxjUQRoUzMsBunQJprn+S/42kkI1gdR9d6/0buTm82rv1NKOFfXGTP74dp3INQMkBRLTFbceTjoFJFGpQmiFPaR9bGBViHoGUV2W7GYIbBO2FqOwcpoSMI3nGCx5JZvIoaRqLJdIIK1ynfAk/kABX/SGOcBaKED7aPPMFKL4ZiwSzYNSPEE/kb5Q3MLeCxtK/4uO0KU+cEo2lww1PUMZ2KwMbyjCs1vgWhYM12b7RvqNZZq8OaEEGhmWEhljGGD519d5Q1L3/OD4QBxDdwdTgW+AUhWBTOqZyPgeqs/XAwVKTJaoxOgxGDcgEhlO9CQvldfGw5R/l3yjzVFhPY5BQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:43.8276 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5d403734-0d3c-42d9-7638-08d8a28c7664 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB2004 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: djQFaOayEi4ZokYtV0u9VoWNx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210363; bh=jPrrDxllXRSrJuXqLJIlpiuuBwUSOfGjV6zwj9LVtfY=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=JMWs4XivlIOlUQY6zpn68bCfdU1G09Tn6ziZrz4uE/4/Ykz97HZrQJEPpbVWlKtOkYE 3oYRyzH++cgNk0nrB5VNCQktN845biC3KL0b0yz57VFMMVfg3ooXMYh0WJ/GY1x5OYPIb 2SsGjocSWOYXwCCzb5oEuFKgfbwD3KE24Mk= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf index 5cc4915806db72e36da6cec85d5f690c0c958f16..05327de23072048d3a17a480b6a= abfdaf04e7955 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf @@ -4,7 +4,7 @@ # # Copyright (c) 2009, Apple Inc. All rights reserved.
# Copyright (c) 2016 HP Development Company, L.P. -# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved. +# Copyright (c) 2017 - 2020, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -21,6 +21,7 @@ [Defines] =20 [Sources] StandaloneMmCpu.c + StandaloneMmCpu.h EventHandle.c =20 [Packages] --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69101): https://edk2.groups.io/g/devel/message/69101 Mute This Topic: https://groups.io/mt/79035544/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 02:07:09 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+69105+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 160821040022240.40917324416489; Thu, 17 Dec 2020 05:06:40 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id qkChYY1788612xOzTMcFcFN1; Thu, 17 Dec 2020 05:06:38 -0800 X-Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.48]) by mx.groups.io with SMTP id smtpd.web12.7700.1608210349484653863 for ; Thu, 17 Dec 2020 05:05:51 -0800 X-Received: from DB6P195CA0022.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::32) by AM6PR08MB4658.eurprd08.prod.outlook.com (2603:10a6:20b:c4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:05:46 +0000 X-Received: from DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:cb:cafe::9a) by DB6P195CA0022.outlook.office365.com (2603:10a6:4:cb::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; Thu, 17 Dec 2020 13:05: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+69105+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.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:46 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Thu, 17 Dec 2020 13:05:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c6049fb9715c48f6 X-CR-MTA-TID: 64aa7808 X-Received: from 4d006a0e2978.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F4D471AA-2195-4579-87FC-61D429259FF4.1; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4d006a0e2978.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=giFjnWTjaOnFy9+ozeK8T071Wbsj+zgm62IwVvbHPqJjtAHNBJXn+LqpHeHvrgfgoI2X8iKRw651xVxSxvYXaDsnaZferkdK54maWTdlrAmEyjwsloneGn0csVfG4AK8/wbnW4IRm2uKRIcNVlqruYcJuZh48vSLiQixSRYc8nTvpt8pboCozOyQGPIgavNGBRpdzBohJ6wIYgjnRpvMYOeO2Pp5VUPNMceCAzgGUywgVNZFx2ZCEeuseTE+qwTNyns578NBY/Y8EP+Ux01cELHcvZtIftkflMc2GXR1jV/AR3jCd3OdRRTcGsl11oDFzLWO4DV/lnrt+6XK0R0Y0A== 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=miLKIEy7+Nbu5kj8/XqoPkfaGNwKBko+0VhBzkNLEsE=; b=m9CEO70uGiGY0gRa+o+grJ0YLoFbG2/LnXtilDMPXk0tcWpcCvsn3RPQXPgD4xFLR8MQYSRTcDazv9XZCP8I/TLQJlluPfBYfiJnghFTC2RWC+wZbkWYj8fIK68HyVzQOF3oV2AL+Imx9WqkfgybbwF+9H33+yehR8EwtBUEUeQbikADGglaM+2upFZeQxX/SXzOjdWDPjonDSzqKyC1ktrX1hJcO4A2GNG7XLPIhdKoL3sbpE34FXE7em/MBIqCcMKH+ClXtAmbNvuYPD50MPWx8Hg+LbKuCBRcqOefvDmjPBcw70zOCYVjt91VPx3hYQgIfU+fvlvt5d5KcZ1KtQ== 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 DB6PR0301CA0096.eurprd03.prod.outlook.com (2603:10a6:6:30::43) by DB6PR0801MB2021.eurprd08.prod.outlook.com (2603:10a6:4:79::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.24; Thu, 17 Dec 2020 13:05:36 +0000 X-Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::d1) by DB6PR0301CA0096.outlook.office365.com (2603:10a6:6:30::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:36 +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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:36 +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; Thu, 17 Dec 2020 13:05:19 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:18 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 12/26] StandaloneMmPkg: Fix ECC error 4002 and 9002 in StandaloneMmCore Date: Thu, 17 Dec 2020 13:04:55 +0000 Message-ID: <20201217130509.12568-13-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 96e6547c-0b48-44a7-382e-08d8a28c77e1 X-MS-TrafficTypeDiagnostic: DB6PR0801MB2021:|AM6PR08MB4658: 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: do7jwd1UztPyBaQa5tPu96l1brgggn43OWTtfOMUk7185oDDVZ+6loupgAJi8hIMpzlIubP+sv+b3W/IgnBhn3LYn05uk5kNFNuUluUIHSuXCPhgNZhdZ5s0i/g8vPEcYZivcWz3+ixoSPiXO3IArSj5qWc+2Sf6jUFPJvZR5q8/J3nW+A+wrGByktyuY3gky0sTOBT7pBiyznyIOwhSIEDTDe4lfsj0xgXu6J5xtQMv708Gc9JGEwP0gExDronV2G/9ceiuu9B9rgpA7AOnlgiyvsM9hXpePn74o4KMkLdhugBxp12WXhTqZhFLKYKVIaozg+FGIHuvMCaz3gScOiZzqwh8oSvmoyPHQtZbBegJHNR8mkSiKIJVjEhOETTaRvx9I3VxNL2dazYd0YKvuw== 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)(39850400004)(396003)(376002)(46966005)(36756003)(7696005)(44832011)(1076003)(8936002)(2906002)(6916009)(478600001)(47076004)(6666004)(316002)(54906003)(426003)(81166007)(5660300002)(83380400001)(70206006)(4326008)(82310400003)(82740400003)(86362001)(8676002)(26005)(70586007)(186003)(2616005)(356005)(336012);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2021 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 9d7d58f5-0654-4995-c555-08d8a28c7239 X-Microsoft-Antispam-Message-Info: y4KOVDY96LuovqIF1bwtH0FPeIhqiMLzMuavtzuX/YcM7TZP219qdSkTGC4bzX+Hh8IOxWKCgHDDCcwo7NArwzFkTzH5bUALDmOhhKwWKnmGHiMNLn1GSSQJ91+J2GUpFmFVlEM0mAD91FDIQCoBkhR+Cki3j72iV3pHmleJTBhSfNpLjEA37hufF6ZRMW6eNOK8QUzhsGAM6fLKuYFVcWh9JZGipsgVP7l7VFoA04b8nHxPiHBQ2ixgh9WBraDCE9B3avjWDO7Qg3j9lxmgXHctlTFOII0d49D4Jn0vaq9S5fyRpgb00kjpUIwdzYMwkoSNp1vO6cZHFT0LtDXswT2SIXMKp2vz9g2mnsxRFhdL4ah+42Ast2qmVD8Igi14odMhLn7qmEO27aFEL0JIlg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:46.3225 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 96e6547c-0b48-44a7-382e-08d8a28c77e1 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: AM6PR08MB4658 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: 4VQxX6glzsAJc3K8yheJdyAix1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210398; bh=slTcZHwAtRyUiq2Fhl1suoeS1gd6VFltyV6RcUu+jmE=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=MOQ8KnN7PtvcZDZqGLBo4LlDtlRehl+kmcP8y4B9JVOAyvOWm8OViwK3TPlRsAjoZsM A+IwVCDzougfyNBBezsb+cnF8dkminjVM7lIMwB5veNHj4vlHE4CBAhoKdsyHx06XB7uP LOAAUE1JYmbwotUKQpJz95ZExRjInvKNqTg= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/StandaloneMmCore.c | 23 +++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core= /StandaloneMmCore.c index 803d7605ece7f6a3400866a04e39acf74cda8144..b04a9f985c6ecc601a6d7caf8fd= 433a1d4cf73c4 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -414,6 +414,15 @@ MmEntryPoint ( DEBUG ((DEBUG_INFO, "MmEntryPoint Done\n")); } =20 +/** Register the MM Entry Point provided by the MM Core with the + MM Configuration protocol. + + @param [in] Protocol Pointer to the protocol. + @param [in] Interface Pointer to the MM Configuration protocol. + @param [in] Handle Handle. + + @retval EFI_SUCCESS Success. +**/ EFI_STATUS EFIAPI MmConfigurationMmNotify ( @@ -448,6 +457,12 @@ MmConfigurationMmNotify ( return EFI_SUCCESS; } =20 +/** Returns the HOB list size. + + @param [in] HobStart Pointer to the start of the HOB list. + + @retval Size of the HOB list. +**/ UINTN GetHobListSize ( IN VOID *HobStart @@ -475,12 +490,10 @@ GetHobListSize ( =20 Note: This function is called for both DXE invocation and MMRAM invocati= on. =20 - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the EFI System Table. - - @retval EFI_SUCCESS The entry point is executed successfully. - @retval Other Some error occurred when executing this entry poi= nt. + @param HobStart Pointer to the start of the HOB list. =20 + @retval EFI_SUCCESS Success. + @retval EFI_UNSUPPORTED Unsupported operation. **/ EFI_STATUS EFIAPI --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69105): https://edk2.groups.io/g/devel/message/69105 Mute This Topic: https://groups.io/mt/79035548/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 02:07:09 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+69112+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 1608210422391203.93163255221043; Thu, 17 Dec 2020 05:07:02 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8qZEYY1788612xdyqM7DURd9; Thu, 17 Dec 2020 05:07:00 -0800 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.51]) by mx.groups.io with SMTP id smtpd.web10.7655.1608210376895588814 for ; Thu, 17 Dec 2020 05:06:17 -0800 X-Received: from AM6PR04CA0028.eurprd04.prod.outlook.com (2603:10a6:20b:92::41) by AM6PR08MB3573.eurprd08.prod.outlook.com (2603:10a6:20b:4b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.24; Thu, 17 Dec 2020 13:06:14 +0000 X-Received: from AM5EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:92:cafe::5f) by AM6PR04CA0028.outlook.office365.com (2603:10a6:20b:92::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:06:14 +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+69112+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 AM5EUR03FT022.mail.protection.outlook.com (10.152.16.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:13 +0000 X-Received: ("Tessian outbound eeda57fffe7b:v71"); Thu, 17 Dec 2020 13:06:13 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0f9fbb67a6a43714 X-CR-MTA-TID: 64aa7808 X-Received: from 8c2ccdfde012.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ADF5CBD5-73AF-413F-9A6C-96F407FEAAC2.1; Thu, 17 Dec 2020 13:05:53 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8c2ccdfde012.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g2jv+5CWfkcEFexZCm2/LEogs/DWLAqCZBAQIMdzhhWXKRNKts7lovkbUI03jVqSPDoEEeFPHNKzPeCC4P8+HwJTbZIKPE0W7xFboz7bIoQeSTac563o0mTdhGRj3zWYGd4E6DY6u/cxE7y32LomYyoIbT4ZMNiffO/KxwKQImcOIZ9Ry4c1BSYIFtD8LLx4abjMQqW5hNWVGEYBw8LWLlRl8ljdUfFqSThOXg86AhmIz9TkU8HoGfIqHhtDNBuYzeuPWnM6Or81BVUByEtXp61RM3TQ/bUjGF5bJHTNWtYSWc2USYAsiu8lhQjbuO1vaCAkTNCHQpaW5P4OirxaNQ== 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=5iG7eJJIpPAf1w2q58qvDmuyamNgbUTMDzqV7HlVZDc=; b=EtnZOrFzXUibMAcxvDo56K9SsrPA0cTFb7fp91WF3COhDOVKd0paMAOP3v0FVtT6xAdvh0qOZGqTcqcML/IAWXIS7M1i6X7/DH10tgnGaSekH6Vrc3aX3vMShSjaOD25TJ2QTtJneKBK2Ys8xcQqjo5rcmeCXXEbwNwlBR4d1GEYiIZzRg96eDv9EYFG4rXDVttqRa3ygYTRkfIR6jkuYDFlEZ+Zpfee1nmpkxGwJCDwSl7qM6+kdYfKFcOcFfjclJYhKBB3XYPmJ+mWxWozRQnaWvTsknIKTP/EqO/wheOYC+Ae7Ogxgzd+nh2RUMRAnRd6sIv6MKj301QI68uehg== 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 DB6PR0301CA0003.eurprd03.prod.outlook.com (2603:10a6:4:3e::13) by DBBPR08MB4364.eurprd08.prod.outlook.com (2603:10a6:10:c9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.21; Thu, 17 Dec 2020 13:05:51 +0000 X-Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::75) by DB6PR0301CA0003.outlook.office365.com (2603:10a6:4:3e::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; Thu, 17 Dec 2020 13:05:51 +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 DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:51 +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; Thu, 17 Dec 2020 13:05:19 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:18 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 13/26] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCoreEntryPoint Date: Thu, 17 Dec 2020 13:04:56 +0000 Message-ID: <20201217130509.12568-14-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: ba1080ab-cc9f-472d-dc1f-08d8a28c882e X-MS-TrafficTypeDiagnostic: DBBPR08MB4364:|AM6PR08MB3573: 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: lZJolsM4Ul9WvYfrUF+wSHprJyzH6udmG1x7/wncV59ZiPi7NHzsJbaol4id1YGSyMu5y27BkaKQEx2x/CAae8wRL+3u/zBbFKFWLNO7hjtIvOx7ukewJ42dpo9jzp8b/FNBgknXenJFd5ywVytZdtEWG0ZLrs1r9cWs7YUqZOLoLkqLRq55pp+HvjAlWRCifMzA5B2o2iFtFYpPF332GApLxbcBGla2PXtwm/qC3Jj8tYuH6GsshjRnsM4iOseXTZrAROYdY2r6xmWSXK5cklKttBXCZ0g2ZM3vT457WFOC3IDgEqBSo30+hJyHhTUTI9Ej7SzAAG93vbpxKGiHgvTvFeiY4GeOFmk2lN03GofS5+wv/50z8TbGfIdd0+CH2Fl41hoDcM+KxjjQsKRpfw== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(396003)(346002)(376002)(136003)(39850400004)(46966005)(356005)(70206006)(47076004)(426003)(81166007)(70586007)(478600001)(316002)(1076003)(2906002)(26005)(44832011)(36756003)(86362001)(186003)(7696005)(8676002)(8936002)(4326008)(54906003)(82740400003)(82310400003)(5660300002)(336012)(2616005)(6666004)(6916009)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4364 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f804b130-5215-4041-2dbc-08d8a28c7acc X-Microsoft-Antispam-Message-Info: AEZ0hiYOI5O3aZo3wsvOBSw3OTgf90BwwGMDpbnVcjlEjHHmkeizyTr8+LJ64vtQ6TXMA+FC8mVdTUqZUgiLHaZLkeTv2eXIXpNkiX7z3KpAWQD4Oa2r97NtWTTOSsMJk5LWFE7A1O2S2+BgQ5KQZ4A2ApoeZogi80k3xwovGQXjy1XpIZe2kVHiv7k9IFiRxQ8o+ZP+n2Zl9B5GSDyPre4N7liTE90M5T5gpFYUh7naRjIY1dSX326lPGb1UWdPuuAPwEYg+9fWAl0ksdopmk1YnwB38mGouqMcibi3KkjgBHXtIWJlYL39BkfuGVjmgz86iphd+A3sHbIFppbv/Xud9YuouzkvnbwO4W++1f6j+BW4xW4VSudAbGEvrKKII04RtI4qlO+fJzUenRKZyg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:13.6129 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ba1080ab-cc9f-472d-dc1f-08d8a28c882e 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: AM5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3573 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: XX7UxURLsi78CSr1IiSJAg7fx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210420; bh=WU1cyLcHaYKsDAjjL7I2rbeKZOVYCAciyGn9N8pmV6M=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Oo9bpbu3V9LL9MTodCWXIbzmGRiUzHWBz/cxMZVDTLZ6cNhAa2gPGqdTB5O8hZAUK6t HWDTs7446ARtjwL3raV9FTiy1ar450Mazob2KTwY5p+i5t+PgipjUtv6nzfcTtVinDG5Y E8bDmR8s1uJhSC/aXzkr0RFsxm/kRgFiLAI= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h = | 34 +++++++------- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.= c | 48 ++++++++++++++++++++ StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 14 +++++- 3 files changed, 78 insertions(+), 18 deletions(-) diff --git a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryP= oint.h b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint= .h index 0f9a032404582fd59e3d4e2bf2884b1077b78d5c..34c43897dded9aebe1470f2dbfe= 96b93590a9e45 100644 --- a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h +++ b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h @@ -2,7 +2,7 @@ Entry point to the Standalone MM Foundation when initialized during the = SEC phase on ARM platforms =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -70,13 +70,13 @@ typedef RETURN_STATUS (*REGION_PERMISSION_UPDATE_FUNC) ( sections in the Standalone MM Core module to be able to access RO and RW= data and make further progress in the boot process. =20 - @param ImageContext Pointer to PE/COFF image context - @param ImageBase Base of image in memory - @param SectionHeaderOffset Offset of PE/COFF image section header - @param NumberOfSections Number of Sections - @param TextUpdater Function to change code permissions - @param ReadOnlyUpdater Function to change RO permissions - @param ReadWriteUpdater Function to change RW permissions + @param [in] ImageContext Pointer to PE/COFF image context + @param [in] ImageBase Base of image in memory + @param [in] SectionHeaderOffset Offset of PE/COFF image section head= er + @param [in] NumberOfSections Number of Sections + @param [in] TextUpdater Function to change code permissions + @param [in] ReadOnlyUpdater Function to change RO permissions + @param [in] ReadWriteUpdater Function to change RW permissions =20 **/ EFI_STATUS @@ -98,11 +98,11 @@ UpdateMmFoundationPeCoffPermissions ( the Standalone MM Core module to be able to change permissions of the individual sections later in the boot process. =20 - @param TeData Pointer to PE/COFF image data - @param ImageContext Pointer to PE/COFF image context - @param ImageBase Pointer to ImageBase variable - @param SectionHeaderOffset Offset of PE/COFF image section header - @param NumberOfSections Number of Sections + @param [in] TeData Pointer to PE/COFF image data + @param [in, out] ImageContext Pointer to PE/COFF image context + @param [out] ImageBase Pointer to ImageBase variable + @param [in, out] SectionHeaderOffset Offset of PE/COFF image section = header + @param [in, out] NumberOfSections Number of Sections =20 **/ EFI_STATUS @@ -121,10 +121,10 @@ GetStandaloneMmCorePeCoffSections ( by the Boot Firmware Volume. This function locates the Standalone MM Core module PE/COFF image in the BFV and returns this information. =20 - @param BfvAddress Base Address of Boot Firmware Volume - @param TeData Pointer to address for allocating memory = for - PE/COFF image data - @param TeDataSize Pointer to size of PE/COFF image data + @param [in] BfvAddress Base Address of Boot Firmware Volume + @param [in, out] TeData Pointer to address for allocating m= emory + for PE/COFF image data + @param [in, out] TeDataSize Pointer to size of PE/COFF image da= ta =20 **/ EFI_STATUS diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Set= Permissions.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/= SetPermissions.c index 0ab6edaeb7f05bc814281d0e928305804633e970..f2e724cfc38e75d61bae5d8d21d= 40feda1685144 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermiss= ions.c @@ -25,6 +25,21 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 #include =20 +/** + Privileged firmware assigns RO & Executable attributes to all memory occ= upied + by the Boot Firmware Volume. This function sets the correct permissions = of + sections in the Standalone MM Core module to be able to access RO and RW= data + and make further progress in the boot process. + + @param [in] ImageContext Pointer to PE/COFF image context + @param [in] ImageBase Base of image in memory + @param [in] SectionHeaderOffset Offset of PE/COFF image section head= er + @param [in] NumberOfSections Number of Sections + @param [in] TextUpdater Function to change code permissions + @param [in] ReadOnlyUpdater Function to change RO permissions + @param [in] ReadWriteUpdater Function to change RW permissions + +**/ EFI_STATUS EFIAPI UpdateMmFoundationPeCoffPermissions ( @@ -113,6 +128,17 @@ UpdateMmFoundationPeCoffPermissions ( return RETURN_SUCCESS; } =20 +/** + Privileged firmware assigns RO & Executable attributes to all memory occ= upied + by the Boot Firmware Volume. This function locates the Standalone MM Core + module PE/COFF image in the BFV and returns this information. + + @param [in] BfvAddress Base Address of Boot Firmware Volume + @param [in, out] TeData Pointer to address for allocating m= emory + for PE/COFF image data + @param [in, out] TeDataSize Pointer to size of PE/COFF image da= ta + +**/ EFI_STATUS EFIAPI LocateStandaloneMmCorePeCoffData ( @@ -151,6 +177,15 @@ LocateStandaloneMmCorePeCoffData ( return Status; } =20 +/** + Returns the PC COFF section information. + + @param [in, out] ImageContext Pointer to PE/COFF image context + @param [out] ImageBase Base of image in memory + @param [out] SectionHeaderOffset Offset of PE/COFF image section h= eader + @param [out] NumberOfSections Number of Sections + +**/ STATIC EFI_STATUS GetPeCoffSectionInformation ( @@ -241,6 +276,19 @@ GetPeCoffSectionInformation ( return RETURN_SUCCESS; } =20 +/** + Privileged firmware assigns RO & Executable attributes to all memory occ= upied + by the Boot Firmware Volume. This function locates the section informati= on of + the Standalone MM Core module to be able to change permissions of the + individual sections later in the boot process. + + @param [in] TeData Pointer to PE/COFF image data + @param [in, out] ImageContext Pointer to PE/COFF image context + @param [out] ImageBase Pointer to ImageBase variable + @param [in, out] SectionHeaderOffset Offset of PE/COFF image section = header + @param [in, out] NumberOfSections Number of Sections + +**/ EFI_STATUS EFIAPI GetStandaloneMmCorePeCoffSections ( diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index 9cecfa667b905c975ddd348513c51fc8a5955718..3d3c772019df9afe9b8ec77019c= 776ea7c3b55fb 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -2,7 +2,7 @@ Entry point to the Standalone MM Foundation when initialized during the = SEC phase on ARM platforms =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -101,6 +101,12 @@ GetAndPrintBootinformation ( return PayloadBootInfo; } =20 +/** + A loop to delegated events. + + @param [in] EventCompleteSvcArgs Pointer to the event completion argu= ments. + +**/ VOID EFIAPI DelegatedEventLoop ( @@ -156,6 +162,12 @@ DelegatedEventLoop ( } } =20 +/** + Query the SPM version, check compatibility and return success if compati= ble. + + @retval EFI_SUCCESS SPM versions compatible. + @retval EFI_UNSUPPORTED SPM versions not compatible. +**/ STATIC EFI_STATUS GetSpmVersion (VOID) --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69112): https://edk2.groups.io/g/devel/message/69112 Mute This Topic: https://groups.io/mt/79035562/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 02:07:09 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+69100+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 1608210386084154.80400225542337; Thu, 17 Dec 2020 05:06:26 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id etwXYY1788612xxgjPVoYeAD; Thu, 17 Dec 2020 05:06:22 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.54]) by mx.groups.io with SMTP id smtpd.web12.7697.1608210346828025574 for ; Thu, 17 Dec 2020 05:05:47 -0800 X-Received: from DB9PR05CA0004.eurprd05.prod.outlook.com (2603:10a6:10:1da::9) by PA4PR08MB6302.eurprd08.prod.outlook.com (2603:10a6:102:ed::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18; Thu, 17 Dec 2020 13:05:43 +0000 X-Received: from DB5EUR03FT059.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1da:cafe::ab) by DB9PR05CA0004.outlook.office365.com (2603:10a6:10:1da::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05: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+69100+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 DB5EUR03FT059.mail.protection.outlook.com (10.152.21.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:43 +0000 X-Received: ("Tessian outbound 6ec21dac9dd3:v71"); Thu, 17 Dec 2020 13:05:43 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 734def7580eb0d47 X-CR-MTA-TID: 64aa7808 X-Received: from dd4c602668b4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 252B3837-567B-451E-960B-6971A41B23F0.1; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dd4c602668b4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EgKxHO8gYiEm0W7Z3HR98sNvlmr31nnl0z8ToAMQJGnHJGzgekxpybZus3xRs4QJ9mysM4FUCqhTU9dhQVwYGrvhZnpIofHit/L4q/jaYsk/EUZDH5jHFSTviLIGUsraH31h9gyq5y+J0zku2z/Su3daNDo9NUSX69Q0YopGGZEImW6ppgOnjFLuC//x2MzBTxYT+GVBXYZWalCMkVx0XKwcDAQNDmnM94wH0m8QKM6JdVHe5KAmrY125JIMe/B+Rj9njGuIPSYtHDLcAvqpHxH971c0jQt1BVLTssnsvyr+dmQnehx9HIKLkg0fpwcy70k3Oc3sdgImX7QDw0fflw== 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=NPkOhGYhowAIvFSNd6RNfMSuWsiSSCatFTgv23mH4c0=; b=gzLRHLeJVgvEH3D0ntS54avdaJTk8V+q+M8GeNfVLplWOencbXD8UFd1Z4h+ooy3AGx9xpgo4uHm2FsSNoP8xVW/WM99/uvRmSrO1J/SouYhQd5iTCqH+1m2gT3/4DgtK4wH2pZPZkesJPj66O1hwMG+HRvZRghtVZovtU7IuyVPZx6B7wSK4xyYtFWN70r0ehVyU5ZlfloBjjCg7kMJITuazngylgfHbnilj5X+OMZsZGTN/Oym3bTrdkPbXAh9E3IeNO1h0N/YiS/h4zOT2dnM7hTOmTTl7FDuF9WwV6d1l+7ZPngSYiqN0KN1/V5yf6PXyuhjSwwmmo9Tyuntbg== 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 DB6PR0301CA0077.eurprd03.prod.outlook.com (2603:10a6:6:30::24) by AS8PR08MB6008.eurprd08.prod.outlook.com (2603:10a6:20b:29d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::d4) by DB6PR0301CA0077.outlook.office365.com (2603:10a6:6:30::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:19 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:19 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 14/26] StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmMemLib Date: Thu, 17 Dec 2020 13:04:57 +0000 Message-ID: <20201217130509.12568-15-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: f3f7dbbf-bf0b-451b-5279-08d8a28c7632 X-MS-TrafficTypeDiagnostic: AS8PR08MB6008:|PA4PR08MB6302: 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: zPaHk+PAvqpDbdVFnddCvNGQneiauz4CXvOHAld7JHIFEc3vyGg1q9PQ3BJAuaMXGx7P48nECz6Etmg8JgQWsZhZjsDhRfOMJ0Z6+Q1GgOdbWjjlbz+TGMYfr4I79m2sDl6+02znEYfaXyDaU8/FdUAIsb3pHA0+hXFYf1dTTxkNdKhe+bEi7zkdbX506O5RJl63FxnSMLjUWLitYNYUBrKJiJmN3Ku+9zipJxKpwI7n5WPz7rzBacAXXZr4QAqDSsmPZ6Tf/7Pq0QAUJplcnAPb3IiygcCoB+St/UVlKIS35bR+HKRkzusYV189fl/96WzZG6fPMjuLUi9/gbx5wHwDGswWZcLBI5biYXsGfD/0grIcjrybhz7IvHMvMXRQWtrZRT+cGOKYR75Y9uSV/w== 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)(39850400004)(396003)(46966005)(8936002)(1076003)(2616005)(44832011)(478600001)(5660300002)(70586007)(82310400003)(186003)(70206006)(6666004)(81166007)(336012)(86362001)(356005)(7696005)(2906002)(8676002)(316002)(4326008)(426003)(26005)(82740400003)(36756003)(6916009)(54906003)(83380400001)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6008 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 784ac113-15bc-4765-eafe-08d8a28c7254 X-Microsoft-Antispam-Message-Info: rnoryuCWj7zhyKfDmHooPf7oOVHmg76iy8Cieql9IMVvBXVdrSMgeon2ILcTPTZtiUZCe3nPs03pAhr05Bw9REJ2XGMlmiy8UkiDLt2j3X56wQBaaSeEg4sHxpEWIZqyBNds7igaeMeH30IuMKaXffrGnCQ+iw6Yc66FnrI0bvmP33ItkatGwnZtgNfv2UOMlmcbvZuSwAzlyUpwRfIXAoEHcxfr7uJh8VNnNq+KnR8aNM50iWyOec8MYLTfoyTI2tALWG3OVbVPLayNFKc57qm1gBEv1PlKNgnsQUiHDZpa+Y+QuH+44lQQJ+a4CJVQpMNx21uh6rqcZelsXG6RhkXl22YzE729HClTrZlYaMXm4SvOMEZuzximV1YufR4lZYy9mT98fwrr28OIsSyeGg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:43.4985 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f3f7dbbf-bf0b-451b-5279-08d8a28c7632 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: DB5EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6302 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: XxTuUF2XHZHftV6vVtMIYuhWx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210382; bh=QgTWIlBDc3A8uMtSjsO0Q6+f2Ae2189vyL7/zzjRCo4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=HBpo0vpggw0pFyNPR+yl/zSgV10WIDCvEPkjPkcnb2zAX9RcRVVmv81hrYT/EYpeBXF XQtmP9eQIE4fTfPxQXH6rRkO+7ZtfEhgVc4SdFNNGzPLRyZ7QJkacCVuG3JnSKbDOmyFm JzgZ5rsJpEfk0rmoONsqjAqnaDzlS8CRCis= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.= c b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c index 76456c12647b025c5dcab7aee33464aea462b7e6..3c2b7ae963289b58b4eba3acef1= 75db3d28d962c 100644 --- a/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c @@ -240,8 +240,8 @@ MmSetMem ( /** The constructor function initializes the Mm Mem library =20 - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the EFI System Table. + @param [in] ImageHandle The firmware allocated handle for the EFI = image. + @param [in] MmSystemTable A pointer to the EFI System Table. =20 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. =20 --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69100): https://edk2.groups.io/g/devel/message/69100 Mute This Topic: https://groups.io/mt/79035543/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 02:07:09 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+69104+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 1608210376525175.53078630964603; Thu, 17 Dec 2020 05:06:16 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id OSWyYY1788612xreumYuI6SC; Thu, 17 Dec 2020 05:06:14 -0800 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.67]) by mx.groups.io with SMTP id smtpd.web09.7686.1608210348578813180 for ; Thu, 17 Dec 2020 05:05:48 -0800 X-Received: from DB6PR07CA0175.eurprd07.prod.outlook.com (2603:10a6:6:43::29) by DBBPR08MB4904.eurprd08.prod.outlook.com (2603:10a6:10:f2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.15; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: from DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:43:cafe::73) by DB6PR07CA0175.outlook.office365.com (2603:10a6:6:43::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.9 via Frontend Transport; Thu, 17 Dec 2020 13:05: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+69104+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT046.mail.protection.outlook.com (10.152.21.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:44 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Thu, 17 Dec 2020 13:05:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: dcab9a9c3e3359a1 X-CR-MTA-TID: 64aa7808 X-Received: from 58bbdf0c2937.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 623B0353-6D1A-40A1-8510-024191B1520A.1; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 58bbdf0c2937.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QhwkQWVnlSkv5Y6C5ScVethxhKK4pD/yJmsw0Q75xhO/O9TbmGbMk3HnsBbcMjbk0bwLFVuO4H5KVwdOXmC56uJuaveIt0rnciJwttxwrBBz63I8OgSmsEsvzO8QeAO4Ug+G00ccdDU2hUhtDYjLZe8mylsj1R1uJP/PZC0lGkkgReXDFv7XU6+GimPCKeDkWATLuSQ5Cs0S3PqcF/idKlAp1UrWHMtzaXIwklAKLlJwaCQ/zqie3NLM/he3bKcfjRzAA9MovR92jI4i2iSoLBUWELs+5HU4PD6IZ8jAM+E3D6MMnDosVd2tWQx/jYK0oNtLdm5tNp3hQckDJdAsOg== 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=658CuGcpHRV6IZe5g/DSRczRzi6T14Gr05uC7mSAusU=; b=mjHc1OPW3ln/8Hfl7pyacWYSyGnilcjKO/tllqrzP4xS/e+9XRLUoC2eWphjUZ2cgMhezEARdDna7huRqBJqVYAFvaLrKrfIYN9KItH33Nx93thLKZw9D9LaA2xIEwPWM+nVtq+co01oSyUNdWa5XnbnLR/7mfRNrJj0Hy1p6v8GZa9lfqZXFYiuJlsVYx75gJZyTniYfnYAXc1Sv+L6cVIgeqlVrYWt9VlQHnuqM/+cstYzsLCKNYTdB4Eh1ox6N1cLO1nP+1TyBCzQWg9ckHV+jVVlBA302Sgq13ZrSOGG4UG6b/Yt2+gDKkxXLP51+hgo4fT+LljXkEEWWmR95Q== 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 DB9PR01CA0006.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::11) by DBAPR08MB5751.eurprd08.prod.outlook.com (2603:10a6:10:1a0::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::b3) by DB9PR01CA0006.outlook.office365.com (2603:10a6:10:1d8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:20 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:19 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 15/26] StandaloneMmPkg: Fix ECC error 9002 in StandaloneMmCoreEntryPoint Date: Thu, 17 Dec 2020 13:04:58 +0000 Message-ID: <20201217130509.12568-16-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 564e863b-e449-4344-3f80-08d8a28c7713 X-MS-TrafficTypeDiagnostic: DBAPR08MB5751:|DBBPR08MB4904: 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: 6FW0NTOCRYIGj6iLLsQn8WQD7rDxAP9ToWAVguWntW0UyFnctYtrbg9syfWy1rJ7uPsJllpePY4CEQ95GyuWZmD4Omgxkj2Zhrv+ipIpNcTUTIPdbIWok/nEAVIO3p8Vlboo2dBC0Zgx7/W6fZJQIPtMT64SBZGuoFqSTPyi20HLIOfyx5ckYq7m6PW1Z1bB15GS8YarjSgCnl9aDHyFaXHaWPEX1aw2QZ3nwCyZijiSBksGDyoYGbgKamuc3PRYcJC0IKNRCvBMGAqQHX7QdCet6JKGLUeWNU1xexmw3tPYnByvXkqSStJA3GAYEN2WN+Th6ksDfjkodlaEzr3XQtB46IoLMIaFKxdesxb98yflVp4MOiFrLKHsquprZVgtRMNNmiWzpGA62m0uxou9pA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(376002)(396003)(346002)(136003)(39860400002)(46966005)(86362001)(316002)(8936002)(7696005)(8676002)(5660300002)(82310400003)(336012)(1076003)(6916009)(2906002)(2616005)(426003)(44832011)(186003)(478600001)(81166007)(54906003)(70586007)(26005)(356005)(83380400001)(82740400003)(47076004)(4326008)(36756003)(6666004)(70206006);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5751 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 292b1841-282f-4dba-55e5-08d8a28c729c X-Microsoft-Antispam-Message-Info: q3hK2KdYoAYHKj4IAWKH6XjeiNzzkp29WgoAGGHaKYqjgZCAJVVwmjUqdLY2M9sCCbEey2qZis1xMBZKRZKc6vzTuJfCx4eDmlyn8UQB6Wpy7cVYHzaSjobSf2gYtrqwbi+4yNXKsfOE1aXBrgocWK+swDyIMq61RnzQUkjbt/hGIj0ip7DnXjZoZWAzHpJY+FkBedwRmJOfRhdMk/trnHEGaK70b6pl5AF5ia8Eq5d8k1yaLY8ed2Ht2tlP3YolScDOtNaSct6og+JVp4/JeUv75Fgmh45ZnvuBJ8qOnofZK2CRJzkJS3c+EFjcSJKszB2+5AlP0iFn6nKd41ja/L5MYGkaflMlvtCvbdcuex62fstr9INj68GfBjagEHbzzgUXWkJC6wvsj22inRZ8gA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:44.7235 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 564e863b-e449-4344-3f80-08d8a28c7713 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4904 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: lGGrdC4VqcRa6GzVabWoypwKx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210374; bh=SlWrVLIZCUaOBeTLMcDXeCOaoLTxUxsDJXI57JyzRUM=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=nCZFNgGKmoooff3/scI/OWgnu3owWpam+wNTsaauucziy7/bLvnmT0I3EI0hK01pSin dUV1fczUxlqVO4Thh8n1RVgCx4M4tq/JEaS9Ml70j6nvslHRnVJw8A663aO0yJJW6zX16 HdhOE0qb/hWsL4YP//KlSvR5kYupoXGdsWU= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h = | 13 ++++++++----- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobList.c= | 6 ++++-- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 7 ++++--- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryP= oint.h b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint= .h index 34c43897dded9aebe1470f2dbfe96b93590a9e45..b176e56e789b0bc766e48a60835= 12a9d0ae3ebc3 100644 --- a/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h +++ b/StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h @@ -140,8 +140,9 @@ LocateStandaloneMmCorePeCoffData ( Use the boot information passed by privileged firmware to populate a HOB= list suitable for consumption by the MM Core and drivers. =20 - @param CpuDriverEntryPoint Address of MM CPU driver entrypoint - @param PayloadBootInfo Boot information passed by privileged fir= mware + @param [in, out] CpuDriverEntryPoint Address of MM CPU driver entrypo= int + @param [in] PayloadBootInfo Boot information passed by privi= leged + firmware =20 **/ VOID * @@ -155,9 +156,11 @@ CreateHobListFromBootInfo ( /** The entry point of Standalone MM Foundation. =20 - @param SharedBufAddress Pointer to the Buffer between SPM and SP. - @param cookie1. - @param cookie2. + @param [in] SharedBufAddress Pointer to the Buffer between SPM and SP. + @param [in] SharedBufSize Size of the shared buffer. + @param [in] cookie1 Cookie 1 + @param [in] cookie2 Cookie 2 + **/ VOID EFIAPI diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Cre= ateHobList.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/C= reateHobList.c index 08b12c45bc2937942a85ee66cf1a6d80bfa41e69..887f2559dfd05bedb66bb86cd17= 021efa6a4aea0 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobL= ist.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobL= ist.c @@ -2,7 +2,7 @@ Creates HOB during Standalone MM Foundation entry point on ARM platforms. =20 -Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -46,7 +46,9 @@ extern EFI_GUID gEfiArmTfCpuDriverEpDescriptorGuid; Use the boot information passed by privileged firmware to populate a HOB= list suitable for consumption by the MM Core and drivers. =20 - @param PayloadBootInfo Boot information passed by privileged firmware + @param [in, out] CpuDriverEntryPoint Address of MM CPU driver entrypo= int + @param [in] PayloadBootInfo Boot information passed by privi= leged + firmware =20 **/ VOID * diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index 3d3c772019df9afe9b8ec77019c776ea7c3b55fb..19472fa659a20d84eebd9e31e20= eabab6596f799 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -214,9 +214,10 @@ GetSpmVersion (VOID) /** The entry point of Standalone MM Foundation. =20 - @param SharedBufAddress Pointer to the Buffer between SPM and SP. - @param cookie1. - @param cookie2. + @param [in] SharedBufAddress Pointer to the Buffer between SPM and SP. + @param [in] SharedBufSize Size of the shared buffer. + @param [in] cookie1 Cookie 1 + @param [in] cookie2 Cookie 2 =20 **/ VOID --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69104): https://edk2.groups.io/g/devel/message/69104 Mute This Topic: https://groups.io/mt/79035547/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 02:07:09 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+69102+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 1608210387744921.0285356623599; Thu, 17 Dec 2020 05:06:27 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id u9cLYY1788612xtSv17cVODN; Thu, 17 Dec 2020 05:06:26 -0800 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.88]) by mx.groups.io with SMTP id smtpd.web11.7705.1608210348179079201 for ; Thu, 17 Dec 2020 05:05:48 -0800 X-Received: from DB6PR0301CA0025.eurprd03.prod.outlook.com (2603:10a6:4:3e::35) by AM0PR08MB5427.eurprd08.prod.outlook.com (2603:10a6:208:183::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:05:46 +0000 X-Received: from DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::53) by DB6PR0301CA0025.outlook.office365.com (2603:10a6:4:3e::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; Thu, 17 Dec 2020 13:05: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+69102+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 DB5EUR03FT025.mail.protection.outlook.com (10.152.20.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Thu, 17 Dec 2020 13:05:45 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4436b36754857e69 X-CR-MTA-TID: 64aa7808 X-Received: from 58bbdf0c2937.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C6EE9518-2CBE-41FF-8AC0-6F6B1FD6AC68.1; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 58bbdf0c2937.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D0o6137z9P/TxEupC1n3zQSmaT5Ov0g9/ibm5UEUxSmTGof/0OJVNPl72xfkYvM1ruQqe6ez1Gp1b56g7YBa6ibhq2unJqiN2uLXfCTFO/kxQNFNz101u5jQb8xvHF/vymvJJVx20WnaTIG3ffEydohgqItcrtBgdURE3wuNNMP0ZxVVcQR8fEGt8B5SADA8cXlkJcvvuzeIuLKvGzfeaU0XmMw97SsGGIHV+4Vxg6GFYOvamKA5KmNku2SRkylvoWJCFx7KsvdLeuf7vH+BZhalmISeComZ1Tl/BOyqOkt1V+yXjZ0V38RJcBAhaOlaYuptkBBsZjgmmi61Z7NvOg== 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=wMCp0NRI2S6z6gdWni7iqT2Kw0MnJ5+K1ZRjyUoqk7A=; b=fEHXoevEBKZ2jOEcmT4oDek274Rz/AvljojiwKxHE+0uBsmdE4s31VpgbvmoShxwnbSxWC3c3n2xNsJiiFboLUtZ3inpfJhv3Gjx+MluVPu4JGmLqX0pSwXtgF8k3O1C6Ahl158RNBDRPAtnlvFbfUhqtQZdZIeeZeGDPxFroqejr0kKQ6ifTB8qGtn+NcuzmVx5IEBfWTVy1ECEmCFHTQtlFB890zAJbzvAyfqi1+z3/PiDiZUHHd8b7r5bGcC30GR4KQvtjhX8W48pCrfTPdgYUENXm271W/FrjdC3we04gniyCA/GdH43fG6BmeZdbmtXSf6Qi13E6ISIQsGR1A== 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 DB9PR01CA0006.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::11) by DBAPR08MB5751.eurprd08.prod.outlook.com (2603:10a6:10:1a0::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::b3) by DB9PR01CA0006.outlook.office365.com (2603:10a6:10:1d8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:20 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:20 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 16/26] StandaloneMmPkg: Fix ECC error 9003 in StandaloneMmCoreEntryPoint Date: Thu, 17 Dec 2020 13:04:59 +0000 Message-ID: <20201217130509.12568-17-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 0a35358d-e9a2-42a3-1cce-08d8a28c77ac X-MS-TrafficTypeDiagnostic: DBAPR08MB5751:|AM0PR08MB5427: 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: YTkMS5AhU42D+JLKSk6nbQrKwDW8orwPltcbF9+8SovWqF9jEU+dILby7JzviNF4J3JYodK5xs2DtkOUZFSf2v4RBSnBqcerXV253sCFOsH6qZhxQN7+lezRK4aCIr+t2aO/qtmoYssmC31oTYo56VeHB26KkrtL4WZFKH0rAurddO0t1qJ6c3oYKsoM+qS/gdzyNTc4ajzuM7iHnobfHgZrSBm48823WqsmRAg7PNONbDifAvIw02w9cxdsIinsCwO4QO0QU1sdv6qejG/fxNgxwmq183KE+VlaCZ8qslYca1xz6eGGVK0SqBCT340O3VzpuK4yyjMoF8TKrtsNtiZqylfdXIa84WdWFacspbqpNzehVupmZDVYKbDIxuXnLCfJScMNGi4H2eFXOB3jBw== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(376002)(396003)(346002)(136003)(39860400002)(46966005)(86362001)(316002)(8936002)(7696005)(8676002)(5660300002)(82310400003)(336012)(1076003)(6916009)(2906002)(2616005)(426003)(44832011)(186003)(478600001)(81166007)(54906003)(70586007)(26005)(356005)(83380400001)(82740400003)(47076004)(4326008)(36756003)(6666004)(70206006);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5751 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 801092f4-b527-46c3-1fb3-08d8a28c72b9 X-Microsoft-Antispam-Message-Info: 9CcddUVMuMgjrIK3wU9IWwpMiq02qvVQcxJCkrfhvCMNeHN0ahjB6uqkwpRcsY/bP4P6RlTCECieEK6RwhkErxUQ/CdwFQostdckcRpjsuNMbmfbQPmiLunjiiER29FeY+Kl1v33fyIWHKUEaqwTUPD9mDzzaTLPsHmz+yL2rk5jmtNKRN6tuaISvn1fyelweAM9O+QR10EtJavu56lI/fAyGBCC9wZYvc6ucGIPcaXsSx2xUgoiqpXjVCEzK6VfVFW2FCzjLILSOLMH2vp60gcGh3SlqA62TuFLI8YppXum6+tIVBEf8jkNCyaI6V4JibL2Ums69NOtl4gY823ijHXfDSYx7WfXhLwxXuV60x6iUMHL5miCVWjMgYRc/E1lxe/P/d3SK3WmSmfoupdAIw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:45.9754 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a35358d-e9a2-42a3-1cce-08d8a28c77ac 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: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5427 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: UZJNJiMxI0PTOQPRACz25G1jx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210386; bh=AGQDGe6CK7Z90H9BXF0Tq8XD9v0DyzEYciBLRXq8IMI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Xnk3gtTqrLxi8D9U6TuFioDL5lhyHWCrzB+3HJgxNlgmu0hRvjpezFLOtwmsEoBVYbT fH2P1S3dqXZHOYi3ESbiCUgVJTb8KL/6jRYgV7tisxoqn19HJZTLb8fnW98HIEb9dhvK1 ZJ2aExOdbhD67Negp7o73hs0ISU+ybOBmVs= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index 19472fa659a20d84eebd9e31e20eabab6596f799..d097c50360adce7f2280ea4d575= 971927860706e 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -40,9 +40,10 @@ PI_MM_ARM_TF_CPU_DRIVER_ENTRYPOINT CpuDriverEntryPo= int =3D NULL; =20 /** Retrieve a pointer to and print the boot information passed by privileged - secure firmware + secure firmware. =20 - @param SharedBufAddress The pointer memory shared with privileged firmw= are + @param [in] SharedBufAddress The pointer memory shared with privileged + firmware. =20 **/ EFI_SECURE_PARTITION_BOOT_INFO * --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69102): https://edk2.groups.io/g/devel/message/69102 Mute This Topic: https://groups.io/mt/79035545/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 02:07:09 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+69103+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 1608210392694410.04599134436774; Thu, 17 Dec 2020 05:06:32 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id JeOpYY1788612xZ1jKDQWAn7; Thu, 17 Dec 2020 05:06:29 -0800 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.41]) by mx.groups.io with SMTP id smtpd.web08.7552.1608210348416301458 for ; Thu, 17 Dec 2020 05:05:48 -0800 X-Received: from DB6PR0301CA0027.eurprd03.prod.outlook.com (2603:10a6:4:3e::37) by AS8PR08MB5974.eurprd08.prod.outlook.com (2603:10a6:20b:298::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.25; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: from DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::c9) by DB6PR0301CA0027.outlook.office365.com (2603:10a6:4:3e::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05: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+69103+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 DB5EUR03FT025.mail.protection.outlook.com (10.152.20.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Thu, 17 Dec 2020 13:05:45 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2dc28af2d7221a98 X-CR-MTA-TID: 64aa7808 X-Received: from 42653302b239.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6E31CB4B-1846-4D9B-A9F5-D199C4BD02A0.1; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 42653302b239.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CjKtz+Lt96RIC0jiZyYZe432Q44bV5ORTIt72vs6gl1PRH4r+JzMoszUhaqWLoMw3ZF1PSmlGSq3DVz3WbO2p71/7fspjiyA3yYgzpuiYHN+bTZwVT1KlvxdVzRvu4XlsR7Uh9qlVTQYXUAMeY1MvoY7E8UqEeug1kpWUn2WRiTPAKrRw8LiBnAAl0F5KTwBpaf03woO6Az59zVTiUPCyO/VpoVnUDOE9/sDBhhOw5OTQzivC5hNe9YQ/+U4dQjBZrjXYyUIKAaN51aGWF7m/al1cgtycX9RuT6HXohqPQEa8BAdnn1pNTV6Xp/iul3C6Ed6rkKFPcox8/GwZddXKg== 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=4RQ/SvhGEpRsjDjt+Vj0dUrpEy1/KjB2DnyjuS4SHR4=; b=WUDcRwPPafh98SejQexdY2yLukp1RJmLxsvOf7pWr7Nq7hZM5Uhd8N9L8b+iDQjTpR5JWXSJRrtc/ksEMT0+oV3hv1d1qXVP4RgGvBMcEKNg88v964k0gkjpD1EbU0c+Awo8/9zg86UbRfdwC6gaKqGcBqDAp70XU84nwhwgkF6r5fnN9fSX8yGz5G4MOqiMjbHQSXtUebBn1haQQZ07aB1mh/sjN/ZyOVrvBA2MILAsPi93t+zzK4aYGZCZt63TMF4S1y9EasF9ELlbPYQXtnzKGnWC4UbV1rPVAieQwRls9EkAnK+MfUEoVo1bzpbMGZGrKEzmrj4o/sQGL1/6lw== 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 DB9PR01CA0006.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::11) by DB8PR08MB5290.eurprd08.prod.outlook.com (2603:10a6:10:a5::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::b3) by DB9PR01CA0006.outlook.office365.com (2603:10a6:10:1d8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18 via Frontend Transport; Thu, 17 Dec 2020 13:05: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 DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:37 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:21 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 17/26] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu Date: Thu, 17 Dec 2020 13:05:00 +0000 Message-ID: <20201217130509.12568-18-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 6fdcc61a-930b-4c33-ace6-08d8a28c7736 X-MS-TrafficTypeDiagnostic: DB8PR08MB5290:|AS8PR08MB5974: 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: vTPtg0fAbKRBnND6j6vM2uw0KwgGG5PQDNdsxIVObGKFdYQjLBFMzR53PfRUe6LFzOEC/zcxgOFDK053VTmf79y6ySqzHwiJUJyk2dmle4L8poQcibguAgy3UQNxUm4Zezo/atRzHtuZ0KqA4zTSlciYz4ylLuoNvyi9CAuCDTwjAjXlLE/Wernb0UoVQ85ddrzUGsi6Wk2gcWIupiJtqBryGIeC3FKX6yt5iNJTQ/2Rrg0CtVTJSTzil0Q+6Fryruxj/SkeAIyzdkapi80Vwaj6BcXoBDncekLC0wjkSHwDIlIdf7LhPn52LdDiuDh+tdKxS9a84VQbvL51TtYjiuhskxPEXnzn5/TFviT9eTplpNhQAboV0fVlOcvW8S9fod52+V6gu/mVcau5ogjNkw== 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)(39850400004)(396003)(376002)(346002)(136003)(46966005)(70206006)(81166007)(478600001)(82740400003)(8936002)(2906002)(4326008)(7696005)(2616005)(186003)(6916009)(356005)(5660300002)(26005)(1076003)(70586007)(316002)(82310400003)(86362001)(336012)(36756003)(6666004)(44832011)(426003)(83380400001)(54906003)(8676002)(47076004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5290 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 3e9268e6-66c4-4557-2abe-08d8a28c72db X-Microsoft-Antispam-Message-Info: qsE0roo/5kSn57P8NLKd8sgkacpdM0aN05mgit1VsqeGqrMy1Nr0w7NjlWTlbPwigDwdpdyost/wIHehEr9wpRezVdkpPFJ0b5J0CLHSkA7Ph5lRJJvo0jk+fKnmd2octFNOntXees9hzPlkbUw1Y1Pvky4JV0mHPMi8CETA+UfwuJPZz0x3FGlQAOxCFBtYQN7haqYej4IJCTQPcmpViZx87r34tPV8f3C8WGEgSrYMRfU60GPnEKyus8yVA3j+Mbn7Pk0C9IhVhJV3pgxm6mH0Mvl9IIsB0MU4gOFj03v836UpSXpTNr5yOlagd0Hf/od6IzN9+zIzAVoUM5oPBnPSb2AKBrfu0FqIoTwwekjgqVo7nJeYlw7PMHlF6SduIFT4uiWAJ1nmuwdWyqhO/w== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:05:45.1988 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6fdcc61a-930b-4c33-ace6-08d8a28c7736 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: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB5974 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: 07hZdykhYncUjB0p5CTBH0Xjx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210389; bh=CL7Yp88FJ2dCCAtJoZIj608Ftp8Kvkghol1P2wgX52I=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=XikyogsW4kWJpFnpZvV33xgVkGLBwSeG9jXSEbrLKEPNIzysjywZYgsTJD3tcYM+qq8 r01DoMoHaMgM7/ZqJO/lIWzzga450awITmZ2NiNrkI0pwsDnsEqq5Co8gHUMl6DLDTD+L FCnqmZxfKVA2bRvaQi+4p9EE4MlBQHe4NLw= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 21 +++++++= +++++++++++++ 1 file changed, 21 insertions(+) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 7620a65c7e3bbd647961942f5b30d3d834107f70..006f95989124ee0151e3cdf42b4= dd4a5be80a6aa 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -58,6 +58,19 @@ EFI_MM_CONFIGURATION_PROTOCOL mMmConfig =3D { =20 STATIC EFI_MM_ENTRY_POINT mMmEntryPoint =3D NULL; =20 +/** + The PI Standalone MM entry point for the TF-A CPU driver. + + @param [in] EventId The event Id. + @param [in] CpuNumber The CPU number. + @param [in] NsCommBufferAddr Address of the NS common buffer. + + @retval EFI_SUCCESS Success. + @retval EFI_INVALID_PARAMETER A parameter was invalid. + @retval EFI_ACCESS_DENIED Access not permitted. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_UNSUPPORTED Operation not supported. +**/ EFI_STATUS PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN EventId, @@ -159,6 +172,14 @@ PiMmStandaloneArmTfCpuDriverEntry ( return Status; } =20 +/** + Registers the MM foundation entry point. + + @param [in] This Pointer to the MM Configuration protocol. + @param [in] MmEntryPoint Function pointer to the MM Entry point. + + @retval EFI_SUCCESS Success. +**/ EFI_STATUS EFIAPI MmFoundationEntryRegister ( --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69103): https://edk2.groups.io/g/devel/message/69103 Mute This Topic: https://groups.io/mt/79035546/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 02:07:09 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+69115+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 1608210563842660.1072401555983; Thu, 17 Dec 2020 05:09:23 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 2Gs1YY1788612xqIsiyRUIeN; Thu, 17 Dec 2020 05:09:22 -0800 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.72]) by mx.groups.io with SMTP id smtpd.web10.7663.1608210381563244599 for ; Thu, 17 Dec 2020 05:06:21 -0800 X-Received: from DB7PR02CA0026.eurprd02.prod.outlook.com (2603:10a6:10:52::39) by VI1PR0801MB1791.eurprd08.prod.outlook.com (2603:10a6:800:57::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:06:18 +0000 X-Received: from DB5EUR03FT051.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::65) by DB7PR02CA0026.outlook.office365.com (2603:10a6:10:52::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:06:17 +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+69115+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 DB5EUR03FT051.mail.protection.outlook.com (10.152.21.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:17 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Thu, 17 Dec 2020 13:06:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0d768618ba971956 X-CR-MTA-TID: 64aa7808 X-Received: from 86f3ebe1dea8.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 84654EB8-B353-409B-90FA-7923B960E9BF.1; Thu, 17 Dec 2020 13:05:40 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 86f3ebe1dea8.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jhIYDT9T5LiYyVtzcG+i2zl9YWu3OXQx5HqZIwfAaEODlAqoWrIgiAjqS36/eX+MMIa8pPciQ7x38BruMqHvL4uNPlNxB9r/9BvHzx6sDR5nVWfhVskYEE5QcmE5+Tgq0igSr1Peojl+l5n3MAu1i/wGkjkNt3hnUIMHlvHsAkLqJb4U5WMHfduPvY59BaRhbuflvGn8HwW1jg5jlR/8UZ9FLjtZJOhXoexymyCZKpOOb6SQB4vcvEomxep5PDVzJ+Rn3xLsJfbwL5jWgjDlVF02PEWCxpNR6uqafano0dJlg1zaWH8mZyF7iWFirDX3bXcIWBnqbc8gfBK7RRC33w== 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=1uYfgvn5isPDS6c2O/nbCeaP9cvuQySZU+lsygumeXY=; b=nV/fXn9Ubb8fjVOIl505sphv3FjxZBLZznvL2xSp3Re9m9gRSKB58roeLgY8JzHnQcopPVO8mBRDPLrXBc8XcMoEh+jBcbuTLpgQAnd8kocZTnKPtJZBcUFwaB9KpWvHi2jidlYGLYBI7hRjyydtv8NDjExqSaCvyJ1z+K32bywS0DPoYgO/Qt5Qw1LXOH+1k0qCj+MGn5469Q+iuGzXwcVi0PLaOZCwM5v3qYdz4ak3V86v5FCuuThinI4x66eAtK0TmGTBCNxMrnUKyQMQVHneuIKVCpIGjt9IezYGi3zXe33QxBQdR28aw62Hs6+58Cs+DM/Qsfhdmql1w4L/EQ== 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 DB9PR01CA0015.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::20) by VI1PR0801MB1840.eurprd08.prod.outlook.com (2603:10a6:800:5b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.15; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1d8:cafe::57) by DB9PR01CA0015.outlook.office365.com (2603:10a6:10:1d8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.18 via Frontend Transport; Thu, 17 Dec 2020 13:05:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:21 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 18/26] StandaloneMmPkg: Fix ECC error 9001 in StandaloneMmCpu Date: Thu, 17 Dec 2020 13:05:01 +0000 Message-ID: <20201217130509.12568-19-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 73a7472a-6997-4d29-fae8-08d8a28c8a8d X-MS-TrafficTypeDiagnostic: VI1PR0801MB1840:|VI1PR0801MB1791: 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: YAKtkDfEH6MGx+PN1ei+PH5gAaqkTM5ivKftvh06JKf00YhF3nlRE50OpAuiqExj3+KvYONlxTYevy+cplKGyQvoBRGgyg6hYho4/QKrcsvLwlbI/HWYvRtS13QHTJJEzbMwDtmzcJFSF8pSoIUnE+Eawq3HGAcT0RM7ul/IDEqYZvwuqE+6ThpCpJrTE3gOtjc39qyKHsD7p9Rz4xf5JoU8KZOMx8+xdiHSD7NVCtNsvTuuyes3CYOGsPTdlynnHI0CpGVJ2wDywO7XQtPYw6GfjkZ0UQ6OuiJPbwoEFu2S/Bnmz9/WAQd4AEStSlUF6qBGeJ89zRCFftxdQbG2iuBhKEA0GNGNQHKQMi+Vkj6zwTqset8g/4v2mVCin9hIxCLU3OadfVwBPXPGcPVShg== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(396003)(346002)(136003)(39850400004)(376002)(46966005)(26005)(83380400001)(356005)(336012)(2616005)(47076004)(8936002)(81166007)(2906002)(186003)(1076003)(6916009)(5660300002)(86362001)(8676002)(54906003)(82740400003)(36756003)(7696005)(70206006)(4326008)(6666004)(316002)(82310400003)(70586007)(478600001)(426003)(44832011);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1840 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT051.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 80c04ba6-8c50-4cdc-b1a1-08d8a28c7302 X-Microsoft-Antispam-Message-Info: tPlWIHvDvp7MFfvoTZBp0IY0ps/g7G5VSWnFXBN+99jBDNK7mms0JHpkFg6TSjTq91jYOSp6RKiOJazmVBbxDHfd//X7Wsd17UNx4jBVIRlx0Sc1CC1F6+X6txFJXN9neX61V+i+kMxH6mKczohLCsbXt7hS4wCAytajvMwRK1XFAVynRgg4igYZoQEN9fT8swtMEkCYYkhrl2Hqid6TLFtLYdMhffs138GsIjipCNMojAuAB2nI7g44PmtalNJbyW5ih04HELIYZGkL/uweIR88rM5Ixhd20G7P8QFh5d82j3WBJsO1z2d7D/2Sazjg/sh412Q4tRERYHeYxej2kf78RjT9QfRpTFLBYTQ6ZjCFJbQK586IOKKIwvmd2SttY3xmbN7wp3kiia/VOFOoSg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:17.6517 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 73a7472a-6997-4d29-fae8-08d8a28c8a8d 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: DB5EUR03FT051.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1791 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: LBWPwIT1SUl7DlRy0yjGLcYix1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210562; bh=AeECZkCGYCMmu+18RN4sdyot1bhO+AREH6IXvmEuK24=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=mtWDRUFheesWRz8wePRUnUI34RQpRnGu/bcRkoen2GdPz9dYbnM4WD3EPS3y3ddDyk7 2/GdWELsXRNummuLJSfE2nd7PGEcuWu/6awLUUxBgzQQHYytNGjcoAODT+wtQynYUfMdv szFXbQIyRy2cCf3lpuH9Rz+GsA5//L/Z4zs= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 6 ++= ---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf index 05327de23072048d3a17a480b6aabfdaf04e7955..d984e91628980ebafcfce112ab0= 2f524cbe2e5e1 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf @@ -1,5 +1,4 @@ -#/** @file -# +## @file # Standalone MM CPU driver for ARM Standard Platforms # # Copyright (c) 2009, Apple Inc. All rights reserved.
@@ -7,8 +6,7 @@ # Copyright (c) 2017 - 2020, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent -# -#**/ +## =20 [Defines] INF_VERSION =3D 0x0001001A --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69115): https://edk2.groups.io/g/devel/message/69115 Mute This Topic: https://groups.io/mt/79035565/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 02:07:09 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+69114+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 1608210418578803.2604553314773; Thu, 17 Dec 2020 05:06:58 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id HYrKYY1788612xFCIOEGC0oH; Thu, 17 Dec 2020 05:06:54 -0800 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.51]) by mx.groups.io with SMTP id smtpd.web11.7728.1608210381371500678 for ; Thu, 17 Dec 2020 05:06:21 -0800 X-Received: from DB6PR0301CA0094.eurprd03.prod.outlook.com (2603:10a6:6:30::41) by AM0PR08MB5393.eurprd08.prod.outlook.com (2603:10a6:208:18c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.17; Thu, 17 Dec 2020 13:06:18 +0000 X-Received: from DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::c4) by DB6PR0301CA0094.outlook.office365.com (2603:10a6:6:30::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:06:18 +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+69114+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 DB5EUR03FT049.mail.protection.outlook.com (10.152.20.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:17 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Thu, 17 Dec 2020 13:06:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2cb7939203202509 X-CR-MTA-TID: 64aa7808 X-Received: from 9248795bb95d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C46037AA-002B-42A1-9A47-F13E2183EE73.1; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9248795bb95d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V4tNYXMfPXRYPOG7s4cXE3CLITaqb4+nkHLS/wG4eAz433neKx6Y0DXLcNi5qALHoxVSYPpI/y9E7ARslMpAgcK0bCIABNxvMOXI2kiAcJe61RJJtyl1LR09/E9w+0mCPoQJ045roLf2a3qe3l3ig8o1ujdDLWf6fi3Ugc3fYG7Yd8dPW7xSHaasElHqjiK1UexJk0PewF4KwNBH4ItSByqo/8XPTupmT3DsWtr0VIpAzw+bSBv374QwSDVSaGA+K3JpBFdYoXyKGjB7hreDqXbnOLIHX9uwCCSZJqI1E+gz8hI1l++L/bDA6rl7xmHyNKYMH6StFMnrq0TeDuP13A== 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=rwuuK/zDBxDV7a0ly0fy0jeoKmN0fldjtHAqKnhyno4=; b=j6H016tfYuqilySQRDu4BgtpAE9Nvrui/fuMP63NhILzBnX+xqPLfVBrhLFN3gfbE7xyZgLzePa1a+BtTmBd9uD9zidBm3jjbX5MSSACJzIzO9/HWHYzKA/po1bw2tDDhVYHHnXXNE5tWkC4r7FmiY3OLX3pl1PVje4Cx/A5d41IZSzRxP8F1CiNuyxAM2FuRYYuAIZVyzIjqHqDisdFd1LxAPQwDaRnZQVnxd/o/ayUfbFIQv8Ek6+XHCKP4JoeNEQsZNg3y36wh1P1eAxMo0XQ7yMJvPt3iRzPyYxg/C/kCcHbWJCKtRcxITC2H0JVUlHP6+1gasV3ZLZxr/wSZg== 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 DB6PR0301CA0096.eurprd03.prod.outlook.com (2603:10a6:6:30::43) by AM9PR08MB5987.eurprd08.prod.outlook.com (2603:10a6:20b:2da::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.25; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::d1) by DB6PR0301CA0096.outlook.office365.com (2603:10a6:6:30::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:38 +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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:38 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:22 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:22 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 19/26] StandaloneMmPkg: Fix ECC error 9001 in Standalone MM Core Date: Thu, 17 Dec 2020 13:05:02 +0000 Message-ID: <20201217130509.12568-20-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 3d45c646-fe48-4c08-7f2a-08d8a28c8a3b X-MS-TrafficTypeDiagnostic: AM9PR08MB5987:|AM0PR08MB5393: 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: IAu5hiBD1KvPD5bjGgA4en1i5u3vZrN23Nr8R2cEO21Aanwb6vSH/ibOmA6bFLqOJY8hHJJxj85snBwPVf/WpA47WLw89z6VTUBK/FecwHj80ReDGVQ7qnnEpwd0Q+jJGj/x2RuqZYOdy6PBjKpDE9ETYEo/R4MhOuNa1QG2zmbfEZFGpnKgKIWAHND1WzJZxbkk+Q1JZjE+JUpg9nHAesIW2uAH4OqfcseffQ9MwoSZhTHbRj3FDhwH9VJiSlWfJBnbn1AI0vRNK86FFhHiyV06qr773sEtS/nCmg8qj+MkvwYiezLYf2jpz6UVZjpyGJp0v2oNxaUuQqcgJS6a2BfGqjS7dnDOxEKmZWy7ES6Q8Ds6B4ivyDGPvQUYv/usuhRHeXVoKTeENMbeMvXihq4bqu9KZCkNc4uJ+X3QAdllLCe9jD7qQQhLF8iVpqjm X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(39860400002)(396003)(136003)(376002)(46966005)(36756003)(426003)(2906002)(7696005)(26005)(2616005)(81166007)(6916009)(4326008)(356005)(83380400001)(82740400003)(336012)(47076004)(186003)(5660300002)(8676002)(478600001)(86362001)(8936002)(82310400003)(316002)(44832011)(54906003)(1076003)(70206006)(6666004)(70586007)(14943795004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB5987 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 929e1539-dd91-460f-9973-08d8a28c7343 X-Microsoft-Antispam-Message-Info: zOFcLcBhZqdXQORyuQwYIyuvcbIrbPZGaPewtywy/G1hGiieh6yHApgPjvS2ACz9gUqxiLT0/RUgXiGS0HwnFeDlStqdsrWihp35aG87X+KYoC+WP1TP72EVxfKa1IUro3XXiR6DK1Ra2czYnr2JMVen6SBff1lWd/58p8Dy97DhinayvWy88OJHWk28AeAMKcxiFLrg3JkC0qBjTO1FfoBzQJ9fI/M/+kcHHzRTZucO/aHSAA2dxaJcEdeW9cbHyCyzZ9Bs+oKnmqYNZoN1/iseGNtPWrtLg0bt4sFXNq7c/k6OWk1/7tAXMExmdJ/CmGVfnTvQYzeuM4oIZyxLc55pRpJY6gHU3AB971Ev2bhz+ZbmicdDglZbx2UA9iA83WhCLFjXcEfaNn/bcCNt7AtdASr7xDRV+ZEUGIfrfHH7rADY9OtvKA+eUBk2Bx5z X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:17.1133 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3d45c646-fe48-4c08-7f2a-08d8a28c8a3b 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: DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5393 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: oxi4Ci2lW7R7wlPQmBwWi3Yhx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210414; bh=GmJ2YJrmQv1yGhFTUZSV+nBEx6o4zAJEBiLFEljgdUI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=VRncTVZiQBtSqgdEXcpS0ZjgeZ+GWPzsV9zMk+BoFPS8IWGIJ2kkZ2rEuGJtdKi57Vc oqSUXC6DW/4ugM9YnEtiKJ5WuEUxmhtIcyCrjYmClCEyLfPFPovdPjZLCGgrSNLgHB+JO RmngfI3F4p9RHigdDU42OeX+VMPkOGvhHSE= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Core/FwVol.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/StandaloneMmPkg/Core/FwVol.c b/StandaloneMmPkg/Core/FwVol.c index c441afc3957b0f8c39625d8199a16c3823990e99..12ffdd19c67007cf7c30b0a837e= bdeec4c6eb3ea 100644 --- a/StandaloneMmPkg/Core/FwVol.c +++ b/StandaloneMmPkg/Core/FwVol.c @@ -1,8 +1,9 @@ -/**@file +/** @file + Firmware volume helper interfaces. =20 -Copyright (c) 2015, Intel Corporation. All rights reserved.
-Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
-SPDX-License-Identifier: BSD-2-Clause-Patent + Copyright (c) 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2016 - 2020, Arm Limited. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69114): https://edk2.groups.io/g/devel/message/69114 Mute This Topic: https://groups.io/mt/79035564/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 02:07:09 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+69116+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 1608210437131702.1982290199647; Thu, 17 Dec 2020 05:07:17 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id LkZlYY1788612xEWrBB3mHHo; Thu, 17 Dec 2020 05:07:15 -0800 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.73]) by mx.groups.io with SMTP id smtpd.web09.7711.1608210383304313176 for ; Thu, 17 Dec 2020 05:06:23 -0800 X-Received: from DB8PR04CA0007.eurprd04.prod.outlook.com (2603:10a6:10:110::17) by VE1PR08MB5824.eurprd08.prod.outlook.com (2603:10a6:800:1a8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.14; Thu, 17 Dec 2020 13:06:18 +0000 X-Received: from DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::92) by DB8PR04CA0007.outlook.office365.com (2603:10a6:10:110::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:06:18 +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+69116+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 DB5EUR03FT022.mail.protection.outlook.com (10.152.20.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:18 +0000 X-Received: ("Tessian outbound 8b6e0bb22f1c:v71"); Thu, 17 Dec 2020 13:06:18 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0e7ab43a027139f0 X-CR-MTA-TID: 64aa7808 X-Received: from 5abeeaf4b07f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9353383D-5940-4E35-B85F-84E0A3C0ED02.1; Thu, 17 Dec 2020 13:05:40 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5abeeaf4b07f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TWLQcJVVD4Zi0fpTbl0qnQ1RXRDzCuzBqYyDS8tIWd8C9rWivRsUVdcQXTbCHxweBpYTYz3Dkqt/3/ZST576VE1fggnDlbx8yJjG6pQlnfKyfkqF6oSqNniWFp7z21e15unoQaHwtTxYkRH7LW0VMYAREoCsKOBHDDhLZN85q/3f/CFDFc+7NBSxrKJtQw1OJ4VWfKEK4FPV80rHEIU8NBamQzGfISDKpEmIz2reyv4Wl3HwM7hHHghlB9DghOZIl4z0MIZxFIoftzREcsujmx5Glpqx1OE/E+eMQ4T3DR7f+TduaBE1S+y0pRevyGkpO4+ON6Khsh+DLmc9+g/bjw== 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=afLSA9/QBAoklGPPjgVMxQF8xtNbywiX0JndNMZptBI=; b=MzlkQA6qjHdCShU4Nu53EZUMehEk/Gze9RKSPmP7r1TjWtW5VPfED6tA+P9KcWZhoOKyltTvBwiIsf3Z4IMUJZ6ni4m5qrJULyoN7E+Cm6dYGZhcVzYWPeOYmsS1Ens6meHquLuJRuOBhN8sgOPKY2bI0R0JoSW4op7CS5X+zOO7APGMIOB2akpSrL6oeuxcYXnSzjhOt1gDqc8igf/f20kbDPxYtgcMnrYisVrJAKdwZ8ZpvH1SFyJV82KhBZbVXExwlFHlGnqz9ccPHkJ5ze6j+j85Fyoq2vx7rJ5MEL4jik5PldnlyeKc9B7o9qPnhK2p2htJrhg/2LCvFIq42g== 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 DB6PR0301CA0087.eurprd03.prod.outlook.com (2603:10a6:6:30::34) by VI1PR08MB4255.eurprd08.prod.outlook.com (2603:10a6:803:100::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.15; Thu, 17 Dec 2020 13:05:39 +0000 X-Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::73) by DB6PR0301CA0087.outlook.office365.com (2603:10a6:6:30::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; Thu, 17 Dec 2020 13:05:39 +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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:39 +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; Thu, 17 Dec 2020 13:05:23 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:22 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:22 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 20/26] StandaloneMmPkg: Fix ECC error 9002 in CoreMemoryAllocationLib Date: Thu, 17 Dec 2020 13:05:03 +0000 Message-ID: <20201217130509.12568-21-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 11054c11-4c93-40ce-9c42-08d8a28c8ae5 X-MS-TrafficTypeDiagnostic: VI1PR08MB4255:|VE1PR08MB5824: 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: lDxHJNb3KAg14ginWBHtgNLDBgVcVrO3CZJCxBjZcNsVpk1lGXD0mkWfpMLSfVuG9ZgQpQ1eVqCRY2FFaWq48OqkjOswgbW+/+oedeK65vhzRa7O7D1Z0hctz4mgyUZIy/ApY4tlsj45H84wCAuuWs+mcrRL0gbU1o1xJYv+6usmrGApUYBHF6L2zFi/00hBItf7SQpn+x0QIFArKvmCrgNiakIT3W8J2vPoomUJnWyiW2yFlxxf7Uj3rIHSmvHV+cPMPLTqgOkB4uT355DWnBlXiZIdSTtpclIS8SANVSS8/LG9tTUA5pEhnc4Awc8rf7xMl9GMlS4Zt1CA41sANXsPinj/HUB9lpCao9azz8l4ghK2/qv17eG1Ho3Xo5eGqy/nXGJzrxH5ayxNNOmlag== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(136003)(39860400002)(396003)(376002)(346002)(46966005)(83380400001)(336012)(7696005)(1076003)(81166007)(54906003)(426003)(356005)(2616005)(6666004)(5660300002)(478600001)(316002)(26005)(82310400003)(70206006)(47076004)(8676002)(6916009)(4326008)(36756003)(86362001)(70586007)(44832011)(2906002)(8936002)(82740400003)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4255 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 23839c79-e950-4733-a4d7-08d8a28c73b9 X-Microsoft-Antispam-Message-Info: SiLCZ+Lbk9gpuJ1YRJGykKu6d/9aDz+2ZgbUSB4aR2GVIDnUEMELocgAk3cPwnwiD8yc/0oTV+tuGouNaXHOtlbyP9E7kKl+D5rNcl/3Z7u2ISQgzcLbHGlSZER6m7fsy/hwclW9I1udbxT6/Uz5mP4yBVrhJmO6SwMDNM7JksPWMYocwGognTorQZB7F90RYaP0XzNSFTykEb4hA9J2O5raHPB0mXuC7NQfyUqXZgms+tsj/T14nBHbXCW9Yx7wnOYTxW0On0y4l3n1FkRxAQ0L5we3ez+W+E63MBjqUrW90pVZ28z3CKyJFn2uh/dM+PZzTjlldE4Mpt+PvcmxpCnFGySQtt0gGul1tm1W2QKtCQ9sLUOL+jItL9xP2lNRgVU18376EWLuWuCRM721JQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:18.2249 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 11054c11-4c93-40ce-9c42-08d8a28c8ae5 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: DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5824 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: InyF1DSKtdQTzevLkAUOtfYPx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210435; bh=VZFPqZcDH/q6ORv7pbeoh18risRJk9LmTT49GmEoz0Q=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=lsxn00a11/goDAzaTIabq9i41mJaWHJIxIak1P8CiLRQXhkgAVSjirb41772uS432Xd TOKWRjU/4jMwplrf3PZEKTnAcEzYN8aBfnmc5QATuNcozHCMadA0Pdagt8NKXyHxMNbdz e7zaXTNzpwraQN1RLyXneBOKlOpCZAQDR6o= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCo= reMemoryAllocationLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/St= andaloneMmCoreMemoryAllocationLib.c b/StandaloneMmPkg/Library/StandaloneMmC= oreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c index eb3d772e18c5bf54f3b2f210d53c5821b3358eb4..2313deabbc9836ba30070876cff= 8125d97eb65fd 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Standalon= eMmCoreMemoryAllocationLib.c @@ -2,7 +2,7 @@ Support routines for memory allocation routines based on Standalone MM C= ore internal functions. =20 Copyright (c) 2015, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -822,8 +822,8 @@ FreePool ( The constructor function calls MmInitializeMemoryServices to initialize memory in MMRAM and caches EFI_MM_SYSTEM_TABLE pointer. =20 - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the Management mode System Table. + @param [in] ImageHandle The firmware allocated handle for the EFI = image. + @param [in] MmSystemTable A pointer to the Management mode System Ta= ble. =20 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS. =20 --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69116): https://edk2.groups.io/g/devel/message/69116 Mute This Topic: https://groups.io/mt/79035566/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 02:07:09 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+69121+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 1608210505022635.0525108435377; Thu, 17 Dec 2020 05:08:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 0XnBYY1788612xDKG1JHmAdC; Thu, 17 Dec 2020 05:08:23 -0800 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.79]) by mx.groups.io with SMTP id smtpd.web10.7680.1608210395956192792 for ; Thu, 17 Dec 2020 05:06:37 -0800 X-Received: from AM5PR0201CA0014.eurprd02.prod.outlook.com (2603:10a6:203:3d::24) by VE1PR08MB5566.eurprd08.prod.outlook.com (2603:10a6:800:1a9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:06:32 +0000 X-Received: from AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:3d:cafe::51) by AM5PR0201CA0014.outlook.office365.com (2603:10a6:203:3d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:06:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69121+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 AM5EUR03FT048.mail.protection.outlook.com (10.152.17.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:31 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Thu, 17 Dec 2020 13:06:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: bb18121763117bf9 X-CR-MTA-TID: 64aa7808 X-Received: from 1fcb0ebb5125.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D5523D5F-7405-4513-B855-7424FDCF0378.1; Thu, 17 Dec 2020 13:05:53 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1fcb0ebb5125.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kqr1EZ5xvF70xg/cGZp5oLCeg25S8KFzt3XT7auGjBEn6N14JC25DTwT3xLAblkzdVnweKVhsQx+MGG8bop+mfgtX3IDTK73QOk/n2n/WSzaa9cYVJoki2f6zr6vv7/1gsKq+T/UCi/6ivlujMo6ab22ijV+QFBOg+m5CiYZLioWmaP/HZMf6qOz2l6+WXGxSPugA7KDW8RHd3is3+eMNhXZ9st55vitvJXmTqv/K4Fi+Y5OlsvjIGsf2RzvftVpgeZC3O9bNJZqoaAWPB7ZkcW9DMsr3vQWEXEPuWHShi1H3d0BEUyk+kWEpPi9P758kT3o7qlRdMv9341zaj1bsg== 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=ABybEIQR3GqYLb5Br0bYaX23rZLY7QOF6AiBCPOg3P8=; b=J6GYkbXI/RoDl32K3Deb/oE1CPB0eO0U6hoUyL7DbRZwlNc42/VSZHVSb+ihNug9jmcCkepgAlHQi3jHQVhPXRyB1q8ViXb3pnihnkUuBcPPYyOkQI5cLD3ma5d5TGFIy63dT31j/WA1eJUjam12hGUKyT3Yt54quurLzpybvvsXxlRwvG62ePEeoi9m+qEvX2zwtjdNCeUsZLhCwf53g4cxcYr/yCk53FXJEzRSeDVXuzez5OTAyzYoPmqFZKK5t0JleTsXTkm40+BCw4aa3I/pUxH/CyxdMwtWmRtjJeQDlB3xXPfpSMC9ugCCSx/YZHzALMC1EOCpOAKaDHQTeA== 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 DB6PR0301CA0030.eurprd03.prod.outlook.com (2603:10a6:4:3e::40) by AS8PR08MB6296.eurprd08.prod.outlook.com (2603:10a6:20b:29d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.21; Thu, 17 Dec 2020 13:05:52 +0000 X-Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::9e) by DB6PR0301CA0030.outlook.office365.com (2603:10a6:4:3e::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; Thu, 17 Dec 2020 13:05:52 +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 DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:52 +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; Thu, 17 Dec 2020 13:05:24 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:23 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:23 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 21/26] StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu Date: Thu, 17 Dec 2020 13:05:04 +0000 Message-ID: <20201217130509.12568-22-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 9676c7d4-577a-4b4f-c2cd-08d8a28c930a X-MS-TrafficTypeDiagnostic: AS8PR08MB6296:|VE1PR08MB5566: 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: mEW33pno1ADQEp4b26ycXS7Zn6a3ToHMz27SCR8Nu/Mj7R4/aGf1JjpbxIUCO5/IZztJoAN3Ge1kHP0Z15R4Sk4qWxMBkur8MP6mymFz9OIjyYRVnrf9zdqekkJlZP36+SBAHVnSTClWffAFym+nktevtTKaod+51K0ev/uXTxwdEGYPceN3s0TCafJfLnjzuriGaKf4lozONl+R8fBhwsRxucLKA7o5Es/9pxLnKc4GQWnBiqUaZg1SASM60ppYGzz/A9IJNa8DgvsytQmkdILf2i7KmA7v1T/UZ54b14WBTqFBNR065RIV6akjR2w8V8LEnJMWHy1+iA2CIOUrouDInuDDB7QObFm+dLJK7WVbvGxBBx9o6bzFe+waxWc3BO4YZ8hKS8sBtT70gaKiQg== 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)(39850400004)(376002)(396003)(346002)(46966005)(8936002)(5660300002)(82310400003)(44832011)(1076003)(478600001)(6666004)(4326008)(7696005)(81166007)(8676002)(316002)(26005)(186003)(70206006)(86362001)(82740400003)(70586007)(47076004)(2906002)(6916009)(2616005)(426003)(356005)(83380400001)(336012)(54906003)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6296 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ede9fd31-5d2a-4701-54ab-08d8a28c7b48 X-Microsoft-Antispam-Message-Info: CwsTSefwUGL7lEgGGwToOXm2giUtO1/VPfHxTJyNlz2/dHnzTq4LAWgVoIh/aRK+TrejOaVVzrgP2a4pGEM6OBAlckvfUjUolRh3gdbaZEVE9gFHHOQuK9V5sUGVK1F2BoRvEnzt6DtJvojOucjeHubozE3PAKeV/QI9EN8Ff9TZMJ3wTRv7KvGv0lXQvwGffidkzuhgWRSWnNWeCMa8rBCwf188v3/3xD0Bct1wxKc6+bj4El4IypjBKkGR5qDrpl84bd1ZUVQtJzJFgSI9Mfw4rSGNmIz3kAXQmhwhmBCLO66FTBB4F+rCEsB2iQLNSK4KJ/6OUrASjQNh27BifoJgi8uPP4lcb3gVXj0PHsmRyu+NsfIMGH33KzOIw9QV0SbDI/GCE2MbDj1ifm4soA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:31.8252 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9676c7d4-577a-4b4f-c2cd-08d8a28c930a 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: AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5566 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: vo3421OoXY6hRc2YrPAoI08xx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210503; bh=t5D5GbgQaWfW3poiP9vwDZfh3mhL0svCuXpkusN8WQQ=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=vHoJgnknzu7xSTYEhKok0OTzNxpWJWpeMZETgXbqRgRYILbe8+Lv7dWBxM1xbxRPe1y g3CC5nOb0CvdCmw06nYWWFCAEwKmyeu/1kG6UM3CoGkweYoTQcwCOKR1uP//Gle8MRyAq e5O9aQ0zYYEUivY2uOGZ4Q1nHtTvQ+ofrKE= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 9 +++= +-- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 23 +++= +++++++++++- StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h | 31 +++= ++++++++++++++++- 3 files changed, 58 insertions(+), 5 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c = b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c index 006f95989124ee0151e3cdf42b4dd4a5be80a6aa..7fe912b0c9411819e81c668ffd9= 2a70c2cac84bb 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c @@ -196,10 +196,13 @@ MmFoundationEntryRegister ( This function is the main entry point for an MM handler dispatch or communicate-based callback. =20 - @param DispatchHandle The unique handle assigned to this handler by Mm= iHandlerRegister(). - @param Context Points to an optional handler context which was = specified when the handler was registered. + @param DispatchHandle The unique handle assigned to this handler by + MmiHandlerRegister(). + @param Context Points to an optional handler context which was + specified when the handler was registered. @param CommBuffer A pointer to a collection of data in memory that= will - be conveyed from a non-MM environment into an MM= environment. + be conveyed from a non-MM environment into an + MM environment. @param CommBufferSize The size of the CommBuffer. =20 @return Status Code diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.c b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c index 7c004c8013460bb7f1690351aa64eeaa9eab91dc..11c97fd8b62d6c49743422d5e0e= 2da46ac64327e 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c @@ -44,6 +44,16 @@ EFI_MM_SYSTEM_TABLE *mMmst =3D NULL; // STATIC EFI_HANDLE mMmCpuHandle =3D NULL; =20 +/** Returns the HOB data for the matching HOB GUID. + + @param [in] HobList Pointer to the HOB list. + @param [in] HobGuid The GUID for the HOB. + @param [out] HobData Pointer to the HOB data. + + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_NOT_FOUND Could not find HOB with matching GUID. +**/ EFI_STATUS GetGuidedHobData ( IN VOID *HobList, @@ -70,9 +80,20 @@ GetGuidedHobData ( return EFI_SUCCESS; } =20 +/** Entry point for the Standalone MM CPU driver. + + @param [in] ImageHandle Unused. Not actual image handle. + @param [in] SystemTable Pointer to MM System table. + + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_NOT_FOUND Failed to find the HOB for the CPU + driver endpoint descriptor. +**/ EFI_STATUS StandaloneMmCpuInitialize ( - IN EFI_HANDLE ImageHandle, // not actual imagehandle + IN EFI_HANDLE ImageHandle, // not actual imagehandle IN EFI_MM_SYSTEM_TABLE *SystemTable // not actual systemtable ) { diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCp= u.h b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h index 47a020c27b9591436d0559f34e0dcd0e7443aa93..23b60a2c991840a6b422e198f13= 6947399074870 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h @@ -2,7 +2,7 @@ Private header with declarations and definitions specific to the MM Stan= dalone CPU driver =20 - Copyright (c) 2017 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2017 - 2020, Arm Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -33,6 +33,19 @@ extern EFI_MMRAM_DESCRIPTOR mNsCommBuffer; extern MP_INFORMATION_HOB_DATA *mMpInformationHobData; extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig; =20 +/** + The PI Standalone MM entry point for the TF-A CPU driver. + + @param [in] EventId The event Id. + @param [in] CpuNumber The CPU number. + @param [in] NsCommBufferAddr Address of the NS common buffer. + + @retval EFI_SUCCESS Success. + @retval EFI_INVALID_PARAMETER A parameter was invalid. + @retval EFI_ACCESS_DENIED Access not permitted. + @retval EFI_OUT_OF_RESOURCES Out of resources. + @retval EFI_UNSUPPORTED Operation not supported. +**/ EFI_STATUS PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN EventId, @@ -40,6 +53,22 @@ PiMmStandaloneArmTfCpuDriverEntry ( IN UINTN NsCommBufferAddr ); =20 +/** + This function is the main entry point for an MM handler dispatch + or communicate-based callback. + + @param DispatchHandle The unique handle assigned to this handler by + MmiHandlerRegister(). + @param Context Points to an optional handler context which was + specified when the handler was registered. + @param CommBuffer A pointer to a collection of data in memory that= will + be conveyed from a non-MM environment into an + MM environment. + @param CommBufferSize The size of the CommBuffer. + + @return Status Code + +**/ EFI_STATUS EFIAPI PiMmCpuTpFwRootMmiHandler ( --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69121): https://edk2.groups.io/g/devel/message/69121 Mute This Topic: https://groups.io/mt/79035573/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 02:07:09 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+69117+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 1608210427050377.9963769834924; Thu, 17 Dec 2020 05:07:07 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 0Eb9YY1788612x3moeZou31l; Thu, 17 Dec 2020 05:07:05 -0800 X-Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com [40.107.1.45]) by mx.groups.io with SMTP id smtpd.web09.7712.1608210384619288391 for ; Thu, 17 Dec 2020 05:06:25 -0800 X-Received: from AM6P192CA0043.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::20) by DB8PR08MB4188.eurprd08.prod.outlook.com (2603:10a6:10:b0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:06:21 +0000 X-Received: from AM5EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:82:cafe::91) by AM6P192CA0043.outlook.office365.com (2603:10a6:209:82::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; Thu, 17 Dec 2020 13:06:20 +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+69117+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 AM5EUR03FT035.mail.protection.outlook.com (10.152.16.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:20 +0000 X-Received: ("Tessian outbound 6af064f543d4:v71"); Thu, 17 Dec 2020 13:06:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 88de779423d07d06 X-CR-MTA-TID: 64aa7808 X-Received: from d6191f50d82f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B63C9917-E784-4631-BBD5-FFFA855E7FA4.1; Thu, 17 Dec 2020 13:05:43 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d6191f50d82f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=coCOahmxlKph7tpcJInFIcQLRpCiFUKkt+Ls2ElcXzLqSQhzSjyQimh2Tkp7kqXMMZHwZpkslY7QDmXSW4GocQVBE3RyJwZrJapIRQsPvPqbx5jM87ubpLp4drSN0hRrkTmeQh8UXtUBiplKhxw+jH7r8GxUgcKj+LvyvWnoy2usfuLcnwkYNDoCn0blOw2xgz7pBaLciaNAlps5Ox91X1igr8ZcS1MgWAglr4iVdVaBGADd8sIY1KKMqF0D4nXUF35ui2DgA3Hw+hr/nptqwV/W60ekhN3qgj057v8i5EjM6zO2V68YxHMlWcf67iBsILHretjGpQ2oxgBUoSdy/g== 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=u3BU+QYoBreMnOXdd4FF4g6fv3/gkxrVZrY2KltH6ow=; b=YdFi4XgK5hN0+chsJeZ20lsPK26ZI/gin0Zvtwpu3NLX8H9MHdWDUThvmEwlbJz7SZGj/tqhsFsHkNP47FbIhDVYO21c4iXEHrttVL6WbjEhbYAcmJDZOqgs6lDf3Gw9pmr6LnhDlTki+DXc/OnbZ3M97sMv27yIyaqCVMouAUbdcPhIGl7RZj2tyXaeVHzU2W8UV0Z2SLoHYs3Vj/LEMOpgwAHwO9ff+UgQg3epaCfJFh0l08E1JuLJOWX+3KSjnclql/rrZiAcvWfvkoTuEYVLxH3DuMlIuxtu9yqrv1p84QElpnRbv7JFjvUy29SBPtGKdbccIiMzuSaibpAXdQ== 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 DB6PR0301CA0102.eurprd03.prod.outlook.com (2603:10a6:6:30::49) by AM0PR08MB3121.eurprd08.prod.outlook.com (2603:10a6:208:60::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:40 +0000 X-Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:30:cafe::c1) by DB6PR0301CA0102.outlook.office365.com (2603:10a6:6:30::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:40 +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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:40 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:24 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:23 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 22/26] StandaloneMmPkg: Fix ECC error 8005 in StandaloneMmCoreEntryPoint Date: Thu, 17 Dec 2020 13:05:05 +0000 Message-ID: <20201217130509.12568-23-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 1628bdc4-7be2-43ec-67d0-08d8a28c8c1c X-MS-TrafficTypeDiagnostic: AM0PR08MB3121:|DB8PR08MB4188: 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: pO0zqAjP/SlV3sFeT+TxK1nERSkpGSMBo3MVna258A7aoT5Gqyc+D4pwx03scjHGj05PHd6OyQ4TPljfcQ1DkuKQpdiraKTjKwfYwVLG2zkgRb8yfZrec+zdBJFVvIx4C9PoOS76rC33B252E+pTjb0roJDe2QY28+gzSQOfklC2mj02xI6EgcCbm4fSc45LP5mJJWbvd2nB5yu7b6QRgPQZlfHqV2kPmUfVMhWws9XvcMbqNoDK7Or8Z3E//oyNLnp6s3IPgvVNpnCloMLAHHSgt4+hcDERHzbn+/TcVkQ4LK29kSZm90dimzvq2+xKTQvUz+LExdNFNEIO6CMToNV/q9NzSadQGg1J4KPy3lz06tj5mF3yXHwjZv/M0oFvTb/zk3dUrl1Vy2N+S3hkdA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(39860400002)(396003)(346002)(376002)(136003)(46966005)(7696005)(336012)(83380400001)(478600001)(44832011)(86362001)(36756003)(82310400003)(186003)(2616005)(316002)(54906003)(47076004)(26005)(4326008)(70586007)(356005)(5660300002)(82740400003)(8936002)(81166007)(1076003)(6666004)(70206006)(8676002)(6916009)(426003)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3121 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 92746741-f09c-48ca-ef8c-08d8a28c7450 X-Microsoft-Antispam-Message-Info: kXlQSmJWcoEbSW/F4VrFGUqTnTqTKB8VD+U47azm2CTjrdf0totO78M450SlIyZZUBH2RKyOP5oWrl1rl+3jKTVuFzizGfLX2xTVuqcs0bH0S79pAJLAM15zWR0w1VAUqjHjvru+ERR2fWtRiLLymXoePp7hAaTkiq/m1AnQZWaYcS+JY5ouEOU+aewrH9wZraeuJBKds+7grVnUHDnE36f+IsA4yuvWnnZLM0wgODcoz+8l6U557l3gL7du5lyRkspZgjy4l4PvXYJWL2fDi1T1HyiW61MyQEx7bgytx+MpF18zKMDSj+XpKI6ssWIyIhCRg34Ldq3/MaXaKXU7V1Ey2ExC6M7FwCexEyx1Qe8vm/iyaOlp5gXwULn/HMPFDgpUO0ja3SP9swWayinwbQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:20.2169 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1628bdc4-7be2-43ec-67d0-08d8a28c8c1c 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: AM5EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4188 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: fcZUiytCO5ON1lVLSH5oNcAdx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210425; bh=hHwLugUcCRfMyQfgZli8z3uOeLJdzD8tmasylZQ6xx4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=EgkmOr/pr7WJ4QJOeaGEYR/CiRvWKXYQ2FbqF5BOJAAmw1/sL3uIiP4zKZ8hvfl7BWW FH/9pJPjPty/4qAaSxdJFBVQJryTUiQ5kGBBTJopGhP2GcwoN6TfTFnhk6aWIJRjRhGAP mdll+M9Pnfp1tAlXiHgjGQ5KzV63mjcMBik= 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 --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCor= eEntryPoint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Sta= ndaloneMmCoreEntryPoint.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPo= int/AArch64/StandaloneMmCoreEntryPoint.c index d097c50360adce7f2280ea4d575971927860706e..1363d54ceebfcbc1d64ff476d4f= 33bdd626a2422 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/Standalone= MmCoreEntryPoint.c @@ -31,10 +31,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define SPM_MINOR_VER_MASK 0x0000FFFF #define SPM_MAJOR_VER_SHIFT 16 =20 -CONST UINT32 SPM_MAJOR_VER =3D 0; -CONST UINT32 SPM_MINOR_VER =3D 1; +#define SPM_MAJOR_VER 0 +#define SPM_MINOR_VER 1 =20 -CONST UINT8 BOOT_PAYLOAD_VERSION =3D 1; +#define BOOT_PAYLOAD_VERSION 1 =20 PI_MM_ARM_TF_CPU_DRIVER_ENTRYPOINT CpuDriverEntryPoint =3D NULL; =20 --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69117): https://edk2.groups.io/g/devel/message/69117 Mute This Topic: https://groups.io/mt/79035568/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 02:07:09 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+69109+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 1608210409342378.8880835663082; Thu, 17 Dec 2020 05:06:49 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id zIhQYY1788612xId2PhcOpKw; Thu, 17 Dec 2020 05:06:48 -0800 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.64]) by mx.groups.io with SMTP id smtpd.web09.7695.1608210370777315159 for ; Thu, 17 Dec 2020 05:06:11 -0800 X-Received: from DB6PR0501CA0040.eurprd05.prod.outlook.com (2603:10a6:4:67::26) by AS8PR08MB6200.eurprd08.prod.outlook.com (2603:10a6:20b:292::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.20; Thu, 17 Dec 2020 13:06:07 +0000 X-Received: from DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:67:cafe::63) by DB6PR0501CA0040.outlook.office365.com (2603:10a6:4:67::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; Thu, 17 Dec 2020 13:06:07 +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+69109+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 DB5EUR03FT036.mail.protection.outlook.com (10.152.20.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:06 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Thu, 17 Dec 2020 13:06:06 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c0e26b71c43a4e54 X-CR-MTA-TID: 64aa7808 X-Received: from f09ab9186b40.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 31EAE890-689C-4550-AF4F-E7E13ACEB485.1; Thu, 17 Dec 2020 13:05:43 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f09ab9186b40.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AuYoaLBpHU2YpzOsAViVuE4DhcIM67DLeE8TkneMEc0SU1yKazWFGFWzln6ohsl27gexQcxHQzC+uStTVgr69ikZVYSYZ6RCxiEI6TesA0+qA6tTjauXNjDGUZZmOwerxS5tl4AdNlIGY59GZQLkSqVWkljq3AxtVE8FvGc8BItLfiL1QacSWpq6i9WfUuGbMpPvoKVhesLryfGGydvSQ/0MvHQoJBwX2yyxthWJepEdaHvS47SkrXqHPIRps0QnzFtx0UFew/3HEXhe+mJL4JWmCZK0TacuoXKI2R+7hmiAbgL1MYVpLjPFSPT+HEKSTD8jkrIRP0+lFHh83PTrDg== 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=3NM3GUHDotIIsbCsxjbelPone6Z1ua7yinngJjy5hB0=; b=oL6KuO6cNIN8rVmd8qk9mngWcg7Lo6eqcBN6t5wHYHBHJ/bjEHG9azwUR/VcT0wIWVO8BCsPcpztxNwtBqCmRCLnPRM6a1mQgGsf8pKZ31EBOTuFs0IYEvgiPeAWEHPh84OW1MHQP3ZS7H6QHT/lnYHwlZTUnQ0zXg/4nQePJLtpdH7iS2xrSNJ5bWRZAh5nQeWCi7jwd2nVd7GkDaisuHeyssG9qmzcSemzbaRQ8GsfnqSAX7R0nrqS2254G68M+l/oiKDZlIr+C1NxWBc7LSlOnBx/G6EPyX4xlTH4UJQx2i/WHakT/43Oof5xhWNxBEPULPKsqbs1lhngwvsVbg== 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 DBBPR09CA0008.eurprd09.prod.outlook.com (2603:10a6:10:c0::20) by HE1PR0802MB2556.eurprd08.prod.outlook.com (2603:10a6:3:e1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25; Thu, 17 Dec 2020 13:05:41 +0000 X-Received: from DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:c0:cafe::17) by DBBPR09CA0008.outlook.office365.com (2603:10a6:10:c0::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; Thu, 17 Dec 2020 13:05:41 +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 DB5EUR03FT026.mail.protection.outlook.com (10.152.20.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:41 +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; Thu, 17 Dec 2020 13:05:25 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:24 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 23/26] StandaloneMmPkg: Remove dependency on ArmPlatformPkg.dec Date: Thu, 17 Dec 2020 13:05:06 +0000 Message-ID: <20201217130509.12568-24-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: db783e4c-3e34-4e67-ce44-08d8a28c8429 X-MS-TrafficTypeDiagnostic: HE1PR0802MB2556:|AS8PR08MB6200: 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: 9fem1P/IYhTTEFRSqg5qnib7b28fv1UovkWyhFNbrVsLXIrOFEoLmTEXtPhQ1sxydKGg1lwutqfLKUweZcU1hTRb0/014dCzHw/w3xmXsYKT8c/WKUWxMZD19LduLAsISjbI5knZNFlFfmy0MtqBCgKGuJkJkYs3cjdCetIqEp5WyUCZoVtn7x6o2CXgDr2PmZqchYdExbBwkJdTZ2oraTX/xIrU8qVePj/ipzcKmiftbZ44oa6q4709JNHzvSvSOw1+1arpSZaIE/urj5/aphyMXViLFbArZdFkmrFx1z+Un46hvA+dvLNeKun77FmiRxqpAiNNGp0enDSpv1rLExsTiV/XVlTXaZIaSpYtlU2VSkceV1MQEQ/ezHiO9ncYhTsXqtY9jMWzBB0j3NA3VZzPfampNJJxCw8kpKjV56xuJq/luUh3sUvY65KDK6zWfky37H2HXfgC45uutTqrMuad1UsBG78DwE2nYTT5svEm5/aYuv8lOi5+PDf2M3w/rApE7pdqN+LE+yB6hEXU2fvb1aj03WvIZ3rjg3AhuTk= 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)(39850400004)(346002)(136003)(376002)(396003)(46966005)(8936002)(356005)(82740400003)(86362001)(47076004)(36756003)(54906003)(83380400001)(426003)(316002)(26005)(1076003)(70206006)(70586007)(186003)(81166007)(7696005)(8676002)(44832011)(6916009)(2906002)(478600001)(5660300002)(4326008)(82310400003)(6666004)(2616005)(336012)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2556 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 4c338722-495b-43ba-75b0-08d8a28c7505 X-Microsoft-Antispam-Message-Info: E6GgLba7dRHtGhhokIJwQvJrwdRjtjY7SsUwjKkDzPO82gjUsZpgxKYZfY9l7ck9Y0Cfw0UJXQufW0hwxtnZWC3VRExUWdtREg3XsE2V0d10oHMiT8qNVMftkd38U/MUfpWsqq2F1DgaMxWCvd1inhL2+zvFCNAI5HO+0ZlK61+RJmWyMJ3gW6cK0p3DbUYEWoKjK1mbshBvRXaQ/xW9WRjbAc7qNAO8nmJmD3fHyjJdKbw+2uHMIoNBFEHRBOJlbH/22rRG4JYerKyc2cM3nONk9TVQwjTxN47n+AL9hUsdFKP0VYzxn6y1iGfpsFV+OrZMovRJVv2FklEMzGTtwKLatRSK3VmauCJqj44JKpZhCZfcDbjOpVos3O9D07uSgoyHf+lISj+fIhHAwM9PQoW4rCA9YzR2XkcLGJ/5PhA7oCTi7I1OOtbG+SAFU2WN5BCL7Yyj87P0kAde1W1fuTClwA2Oc1Re4VDdByHkUJE= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:06.9318 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db783e4c-3e34-4e67-ce44-08d8a28c8429 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: DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6200 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: rNz5y6bJTXPesIp80mbA2rfux1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210408; bh=GJmbVeXslIkadvKkF/xZgzHLM6ivb5tY6syzTCWbXKI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=uKTqMWbJHrnztZbLIekTUSc1CnaB7No5zBEm8cWEmE77d165RI3RNB7niPGn/FeiR7M npN4fR1aFchb1R660+qr5nU78ZefYbxPaRvejS9iZWRxXCaJyBUlRq31fBbWmT+NL9oMY 89/EOpsJdZV98Dg7Ne0fL9SoXIf+B6zmMsg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update StandaloneMmCoreEntryPoint to remove the unnecessary dependency on ArmPlatformPkg.dec. Signed-off-by: Sami Mujawar --- Notes: v2: - New patch introduced in this series to remove dependency [SAMI] on ArmPlatformPkg/ArmPlatformPkg.dec. Ref: https://edk2.groups.io/g/devel/topic/78838418 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPo= int.inf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneM= mCoreEntryPoint.inf b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/St= andaloneMmCoreEntryPoint.inf index 7d6ee4e08ecbff3262017f2e567145a148dfe0f7..8df725aa31312383a13d5dacd78= f186049b583b1 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEn= tryPoint.inf +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEn= tryPoint.inf @@ -1,7 +1,7 @@ ## @file # Module entry point library for DXE core. # -# Copyright (c) 2017 - 2018, ARM Ltd. All rights reserved.
+# Copyright (c) 2017 - 2020, Arm Ltd. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -33,7 +33,6 @@ [Packages] =20 [Packages.AARCH64] ArmPkg/ArmPkg.dec - ArmPlatformPkg/ArmPlatformPkg.dec =20 [LibraryClasses] BaseLib --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69109): https://edk2.groups.io/g/devel/message/69109 Mute This Topic: https://groups.io/mt/79035558/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 02:07:09 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+69120+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 1608210505175322.5102112306889; Thu, 17 Dec 2020 05:08:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZEcdYY1788612xABvzThrIUE; Thu, 17 Dec 2020 05:08:23 -0800 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.65]) by mx.groups.io with SMTP id smtpd.web10.7676.1608210394040138523 for ; Thu, 17 Dec 2020 05:06:34 -0800 X-Received: from DB6PR1001CA0026.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::12) by DB6PR0802MB2614.eurprd08.prod.outlook.com (2603:10a6:4:96::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.20; Thu, 17 Dec 2020 13:06:31 +0000 X-Received: from DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:55:cafe::ad) by DB6PR1001CA0026.outlook.office365.com (2603:10a6:4:55::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:06:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+69120+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 DB5EUR03FT019.mail.protection.outlook.com (10.152.20.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:31 +0000 X-Received: ("Tessian outbound 665ba7fbdfd9:v71"); Thu, 17 Dec 2020 13:06:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 959213f39629ea5a X-CR-MTA-TID: 64aa7808 X-Received: from 4703427fae23.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9A9F374B-D1A7-4BAB-BA26-4FBDB752C4A8.1; Thu, 17 Dec 2020 13:05:54 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4703427fae23.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ROE+0hTC9g1oyZafOEZvriLkYmRvEtokrIj1z6dGUkgLvK59GOFBKkOD7g4A6e1EELuQdeJd5iSu5xBbJYN08hot8YR9E23bJXv0+hvgkFdMkr4n5GouUJ0CjkbVka0olW0iEGsUMgUwU+r5VpWbeL66bz7gpgsDfUnWLGqgXBvaUSvQj/cRSOrk59pNZRp4PYNRaQx4qFZSB31VfGFOeezEUccBX34FI3l658+3vg4XLY4BkNzHUuh3owQMs0oB1/iGr1EPSVzMItHv3xzQVqJmKQ9pEby3XDf3OalWat/8VAwXgy0ggTp1y8zAKI8BGQHCoI+/X4PAY0dKB+cM8w== 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=6D6OXOOZg9v9ljgCgvJ0WYjvPJQLtXStue/9aLOE1Kg=; b=hT/njkVoXirb38ake0BslWN9MwbwH4v5tGS5wZXbPpO+lFQGVPXmZzuvzYKyVfTiHsiri+J28hoDrFq14m3LQYP3MpqhXCIsxy9W7WsJL+l/Ogjo+CUuwKh7jwdBGN79B0MMh1bmIatl+RX78qSPRbgAlQNWOYmcfs7pqKdvgmhgLJYiJ9r1paYB29HXrR+PY4pPuAAj6JtgddDvqsrOiDvfkIEg3ySbRGYG0qFDS/mgHIvnpFrZOnkbVUSqGYrQW6fHjekMysbZ2fjER6XRXHbCde0/j8z2gAuHWrwPqiiQArGOmvySfzfbO9V0Isi0FJjx2jGLgKaIMX323RU8LQ== 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 DB6PR0301CA0007.eurprd03.prod.outlook.com (2603:10a6:4:3e::17) by DB8PR08MB3947.eurprd08.prod.outlook.com (2603:10a6:10:ae::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 17 Dec 2020 13:05:52 +0000 X-Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3e:cafe::f7) by DB6PR0301CA0007.outlook.office365.com (2603:10a6:4:3e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:05:52 +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 DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:52 +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; Thu, 17 Dec 2020 13:05:25 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:25 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 24/26] StandaloneMmPkg: Add EDK2 Core CI support Date: Thu, 17 Dec 2020 13:05:07 +0000 Message-ID: <20201217130509.12568-25-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 26436b4d-b457-4ed7-4622-08d8a28c92cd X-MS-TrafficTypeDiagnostic: DB8PR08MB3947:|DB6PR0802MB2614: 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: KmfXIqj4Hc0T6danXTpZ4HUtiSUYC0qX2zj4qdRGhYoiNHFbYyX+Gi+sMlD7FYJsVs4bSZq1ftobwlqHXOO0P/AlIfs/Q3fNE/6W1GKsutnW4B60pl2gK3jJbdrT6jLB3yexWol6qz5LJw8EvYnayEcKisADE7f66TkwEkjmloD3NAOvSimSlmGWLVQ9GB/sD8SELolnTy0SQ+XPNRc4floAIzFzvW901dnXzzfXZ4fro/Lk0J7VB5q8Lbi3tO+klk8JTakfB6pS3IYp5TXuzgsLsyzSKp+1IforbVXNaIqXrYRAADlMsdXXW+EK1q4hinJylh4LxJfftMeZ4LQWZLLNhRO43rtxQZEerrURsOn0VOcAy+Zs3yKj4KoxfNjS+E/3kmmocEIXLrBDjyaepYe8ajdA4+vpd0AxVI3cdALnv0PCaXFMFgby7p4/O/I7ocRUkSl+avxOLZg42Zp+jI6jaYwneenTK8ruodpnQpY= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(396003)(376002)(346002)(39850400004)(136003)(46966005)(26005)(82310400003)(36756003)(336012)(8676002)(47076004)(70206006)(7696005)(316002)(70586007)(54906003)(8936002)(426003)(81166007)(86362001)(5660300002)(6916009)(83380400001)(82740400003)(356005)(966005)(2616005)(6666004)(186003)(478600001)(4326008)(2906002)(44832011)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB3947 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 4c412a27-d98e-462c-c324-08d8a28c7b89 X-Microsoft-Antispam-Message-Info: 87O3rqIB0/7NmrbwNMWate+VERA8a09xX9bzNUxmR0lvF36/wFlu3XsUTG7PQGHubsoTNxI7qJ1y7sXxXMfURK5krjeJY7SpLMzOQzWKhSbUt2jsmTIIn4VInCs7eQYdhaASNKjqaJatm4e8mPCaN2QNIN173pd1hng6FUkZn9lyBjaiUE+cBidTOIfFRBfiuAtVAt+zFh0qMPGfbTRvu0XZ7eckfz40xKY4UHNe94iFb6hreTKASu8UkUPKKSKGL/lOidSFM63MROCOLowZ0Lx3MGWm9PqRNwq6pbwhkVSRgqNdTa55hOz8wgaSVTioFMUsnWLSzVt3IuSb3uKuoPyknTTmgLidjI94+hCMr6PkfkSP2Rkn8FthBf4aCiqCffSSxcQnvV9pqjgWTdnyQE5dZ/IpEd8glPjuSgH+j0KhiUHJPSaD8yRv8npD0fBbYre50Et95FC6YXfhB9UvMUFOGV0fvRTkqN1VD0i1vHQ= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:31.4912 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 26436b4d-b457-4ed7-4622-08d8a28c92cd 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: DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2614 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: OviR38DglM8SOOFghbVJ1leHx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210503; bh=gi/n/I9Xyw87paXLBm+mvskjnNFTjwFiLVDw9BB+W8s=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=J5SAP+Dgp8VSWI38zhDAtkW1Kn6STEyIqNLjN16aA2xWUeUcFFXYxyv68rNWu9Oq/m5 MnJfcEaOXbd5Ewm/SbiQUy6gK0HWIeWEwR3neAv5hRAPWSGq+LWWFYjarhpn8Tf6vfaq1 pyhg5j2NsGkkig2Qs2vh3JSdjrabzn3qCds= 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 --- Notes: v2: - Remove dependency on ArmPlatformPkg/ArmPlatformPkg.dec [BRET] - Updated based on review comments. [SAMI] Ref: https://edk2.groups.io/g/devel/topic/78838418 StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 84 ++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/StandaloneMmPkg/StandaloneMmPkg.ci.yaml b/StandaloneMmPkg/Stan= daloneMmPkg.ci.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cf754e67e23f1e86640ed909062= 8ac4a64139a2d --- /dev/null +++ b/StandaloneMmPkg/StandaloneMmPkg.ci.yaml @@ -0,0 +1,84 @@ +## @file +# CI configuration for StandaloneMmPkg +# +# Copyright (c) 2020, Arm Limited. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + ## options defined .pytool/Plugin/CompilerPlugin + "CompilerPlugin": { + "DscPath": "StandaloneMmPkg.dsc" + }, + + ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin + "HostUnitTestCompilerPlugin": { + "DscPath": "" # Don't support this test + }, + + ## options defined .pytool/Plugin/CharEncodingCheck + "CharEncodingCheck": { + "IgnoreFiles": [] + }, + + ## options defined .pytool/Plugin/DependencyCheck + "DependencyCheck": { + "AcceptableDependencies": [ + "ArmPkg/ArmPkg.dec", + "EmbeddedPkg/EmbeddedPkg.dec", + "StandaloneMmPkg/StandaloneMmPkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "MdePkg/MdePkg.dec" + ], + # For host based unit tests + "AcceptableDependencies-HOST_APPLICATION":[ + "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" + ], + # For UEFI shell based apps + "AcceptableDependencies-UEFI_APPLICATION":[], + "IgnoreInf": [] + }, + + ## options defined .pytool/Plugin/DscCompleteCheck + "DscCompleteCheck": { + "IgnoreInf": [], + "DscPath": "StandaloneMmPkg.dsc" + }, + + ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck + "HostUnitTestDscCompleteCheck": { + "IgnoreInf": [""], + "DscPath": "" # Don't support this test + }, + + ## options defined .pytool/Plugin/GuidCheck + "GuidCheck": { + "IgnoreGuidName": [], + "IgnoreGuidValue": [], + "IgnoreFoldersAndFiles": [], + "IgnoreDuplicates": [], + }, + + ## options defined .pytool/Plugin/LibraryClassCheck + "LibraryClassCheck": { + "IgnoreHeaderFile": [] + }, + + ## options defined .pytool/Plugin/SpellCheck + "SpellCheck": { + "AuditOnly": False, + "IgnoreFiles": [], # use gitignore syntax to ignore erro= rs + # in matching files + "ExtendWords": [ + "Bsymbolic", + "FwVol", + "mpidr", + "mstrict", + "schedulable", + "StandaloneMMCore", + ], # words to extend to the dictionary for this package + "IgnoreStandardPaths": [], # Standard Plugin defined paths that + # should be ignore + "AdditionalIncludePaths": [] # Additional paths to spell check + # (wildcards supported) + } +} --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69120): https://edk2.groups.io/g/devel/message/69120 Mute This Topic: https://groups.io/mt/79035571/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 02:07:09 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+69118+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 1608210496099392.6654082464845; Thu, 17 Dec 2020 05:08:16 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id Klt6YY1788612xWUXixWO6S9; Thu, 17 Dec 2020 05:08:13 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.63]) by mx.groups.io with SMTP id smtpd.web10.7666.1608210385498702929 for ; Thu, 17 Dec 2020 05:06:25 -0800 X-Received: from DB7PR03CA0075.eurprd03.prod.outlook.com (2603:10a6:10:72::16) by HE1PR0801MB1689.eurprd08.prod.outlook.com (2603:10a6:3:87::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.24; Thu, 17 Dec 2020 13:06:22 +0000 X-Received: from DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:72:cafe::36) by DB7PR03CA0075.outlook.office365.com (2603:10a6:10:72::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; Thu, 17 Dec 2020 13:06:22 +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+69118+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.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:22 +0000 X-Received: ("Tessian outbound 76bd5a04122f:v71"); Thu, 17 Dec 2020 13:06:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c1fc9a48046da9e9 X-CR-MTA-TID: 64aa7808 X-Received: from a96ebc8a538b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AB2E2F5F-8AAE-4B7E-A41F-C549A529B73E.1; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a96ebc8a538b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kB104sb/u++zxkx7etxETAGYzIxHcfcrsgLu5Dxnzsx7dcVjathIWfhi9bhx+hsQ1LAcWgLJT/iRcva31Icdbs2COH/nxuahF73Z+7sTjarkh1LlQiBTN117ZxUcGhmIhuU/mGggJbY7SvSTAEBBhUxnjm/ZHPWqoAwSeWwtZ8DtD6JyMZi34Z/vQV7I3J8nxilinkTA20NIUmQmLAGY/vY/XVvVZ8EGN8PJRGCXfEQ61N7IzLjpzeUytD0qMPMBsZ5oG7sn+NJlosl7P26Gm2MQjYCBMX4286u6ESfkbG+XrS/r5vtAh3Vi+WW376EDFLfkrYD72nmmacisNYWAzg== 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=JkVfJq0IcYjf9n+ufYEPrQ2/gvz+dzWgyrjdk6gU2s4=; b=h1ma4jQQh7emYMIrsbJXaz+P0fosttgLiajWg6UrISVrQhdcfwQ95RqvAeBdFS7BUQbI6A0M3gFC17CfQkGcXbrlNI5R+MVDsBUcNMMoPOF0f6k8a3aZ3k9A3sjS3QGTY8HlS1gQNVGs169Vtji/5Kx4uMz/RzGXIqzsdw8fSxy/Yip/4BS8agY0UfzmmIZZpRnvcZeuanVYZ/tPgEudZqWnpG3KxfInIhpTOPSjiojyGE7fqLBcJrCq0j8OcY5CHc79WSrt/vtZ3OMc7Bc61URRvc/ET9I0npsEyJgygYxMq6FswczEPP5kusAQ39fZo128gMuH3sTWkawH+LPvUg== 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 DBBPR09CA0003.eurprd09.prod.outlook.com (2603:10a6:10:c0::15) by VI1PR08MB3632.eurprd08.prod.outlook.com (2603:10a6:803:79::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Thu, 17 Dec 2020 13:05:42 +0000 X-Received: from DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:c0:cafe::3b) by DBBPR09CA0003.outlook.office365.com (2603:10a6:10:c0::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; Thu, 17 Dec 2020 13:05:42 +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 DB5EUR03FT026.mail.protection.outlook.com (10.152.20.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:42 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:25 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:25 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 25/26] .azurepipelines: Add StandaloneMmPkg to CI matrix Date: Thu, 17 Dec 2020 13:05:08 +0000 Message-ID: <20201217130509.12568-26-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 9b7b0fb8-1ef8-4b59-9ae0-08d8a28c8d4c X-MS-TrafficTypeDiagnostic: VI1PR08MB3632:|HE1PR0801MB1689: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:257;OLM:257; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HghoYtmuAOqPttZ+t7w+T3LHfJ9TRZT5Go3cIgMdmNZE1nIJimXmwdWHafYyhhnd9e6ghxGlNX36Web33fvgNECUiKgX6gqW5JMOwxcYQxk8+wEt6LyzrjJIa1sNLFbigxC+Zv6kqotItBnfPG6byJHSvWUQ9Re9sV1R9P32lZ2RXFy0DoLY3ora5CTQyxe0TWTLLOWTikLx7ZXpI9JzrQsknY50fEmDkoqkYiS3Nt2CYTSxujNMvit+bM6O+rk3l4RIx3WRmdOyX2u/3e5oArLAV8WiVeOA035keah4Iz4CBWfcI4tf5vvfBnvzVXqGzSBqjM4XFp6/0wHG6i5y/yKib97Qbz4rTP8FYE8YAymbuzBim9dYEBzSC7QuKqufWtHwsp+ODKrDiQf8in9wEtiMHuROAgNUUPeAvv0cFo2mKVfTJimZZrQSIxwDBu8qE2T+z6Nk1+8ZVicdFyrf8JXgnTDSJ7bIMIHbsIEkHDs= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(396003)(376002)(39860400002)(136003)(46966005)(82310400003)(70206006)(2616005)(2906002)(47076004)(316002)(70586007)(5660300002)(8676002)(1076003)(336012)(86362001)(7696005)(966005)(26005)(81166007)(356005)(54906003)(8936002)(6916009)(36756003)(478600001)(83380400001)(4326008)(186003)(44832011)(426003)(6666004)(82740400003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3632 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ae9415ea-8f9d-48b2-edcd-08d8a28c75a5 X-Microsoft-Antispam-Message-Info: hi61kQ0ZW6rS7UhcRHp+47+90HofZ1+pxzlrkFurZR6vGV8Ck9s6dejkSv/3+3/21wixA9WRy10cwoWfNC0y7ti+THcwhtghaTr60Ak2oonm7GXkg1gkQTV2Naya+mHvawklAhxVHzYEOaThWMDmRb8jJbzEikWG0zxCbNb1xINBOYIb82W/hOJu2CDHTrgmQ1o7i4bBZfIgILD1yxJwUjCiqNBeBsy05r1RWcVehaj9TfgnLpI6/WJCfuajqNEXExE/U3mZGjl6swMjrIQw6UzhMqfKG6r/3URIECU7TL+3AaDdMakmFlfdxMU3y0bGVSXrwzOZqUN3kFGl+XK1Bl09oJEmcHSuvhK2EgcaWl7w3WzhadpXSebcoiCLUKFjEulDO169hX30lcHKT71w801Bgo9+jp5jLvuEf249fceyQl2IMU/CDgG3pvnLz9z3B1gZ506N2RamA+fWFy5AzvNwyb1m94h8/1Q80VEcpyE= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:22.2574 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9b7b0fb8-1ef8-4b59-9ae0-08d8a28c8d4c 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: HE1PR0801MB1689 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: UUyJ3YadjcPa1jwlFkI6MWVPx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210493; bh=iuHvIxqxt/upud09aISamxdXZ06g/ko6aBgojrICZo4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=NrCizAR558ixIzTdabZMv3J7xXNBZgR2+/k5I7ejs87XuoI6R9v3rCZf0QViuK6psu7 c8rZgPn1ss72ed9dh9BjzNz22ATSslMI75JCs5nD5QyGaS95qNR0Kalr7YMOahOCah1Xu j9cpvdF1uQ0MZYZTYWvUm7AxJuJkQvs1MUY= 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 --- Notes: v2: - Add to the PcAt and Shell target, to keep the [BRET] builders balanced. - Updated based on review comments. [SAMI] Ref: https://edk2.groups.io/g/devel/message/68603 .azurepipelines/templates/pr-gate-build-job.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipeli= nes/templates/pr-gate-build-job.yml index 10df21b041a670419e54a3d727bea83f0cbda157..1ddeb70200d50e95decf95a6b83= 4574f16da46c4 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -34,7 +34,7 @@ jobs: Build.Pkgs: 'NetworkPkg,RedfishPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' TARGET_OTHER: - Build.Pkgs: 'PcAtChipsetPkg,ShellPkg' + Build.Pkgs: 'PcAtChipsetPkg,ShellPkg,StandaloneMmPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' TARGET_FMP_FAT_TEST: Build.Pkgs: 'FmpDevicePkg,FatPkg,UnitTestFrameworkPkg,DynamicTable= sPkg' --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#69118): https://edk2.groups.io/g/devel/message/69118 Mute This Topic: https://groups.io/mt/79035569/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 02:07:09 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+69119+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 1608210429897712.8171678499494; Thu, 17 Dec 2020 05:07:09 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id LnFvYY1788612xdIB0ZmOsUs; Thu, 17 Dec 2020 05:07:08 -0800 X-Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.65]) by mx.groups.io with SMTP id smtpd.web10.7667.1608210386039029209 for ; Thu, 17 Dec 2020 05:06:26 -0800 X-Received: from AM5PR0201CA0009.eurprd02.prod.outlook.com (2603:10a6:203:3d::19) by VI1PR08MB3887.eurprd08.prod.outlook.com (2603:10a6:803:c2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.15; Thu, 17 Dec 2020 13:06:23 +0000 X-Received: from AM5EUR03FT057.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:3d:cafe::d1) by AM5PR0201CA0009.outlook.office365.com (2603:10a6:203:3d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Thu, 17 Dec 2020 13:06:23 +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+69119+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 AM5EUR03FT057.mail.protection.outlook.com (10.152.17.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:06:22 +0000 X-Received: ("Tessian outbound fc5cc0046d61:v71"); Thu, 17 Dec 2020 13:06:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0d1369f6f720498a X-CR-MTA-TID: 64aa7808 X-Received: from f641543e7604.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1CD3620A-5876-4DDB-8256-1915F6906F53.1; Thu, 17 Dec 2020 13:05:45 +0000 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f641543e7604.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Dec 2020 13:05:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PGg1dzsY65wI/cM85BupG7AgTNDt0w9N33eupFPOo2yiP7not6MyImdGQRHzZCL0OZJMEXSon+zoH+MaZE/GNTedUaiqCmzT8EhaBtE8hzKDIYV6t9Y1XqsDTsu4Lw/TkrvvOWbJF14vC23rXwYut52pbeIZvyWLfl9QClWUdQ/7ucA/eFOJFFt+I5kxENtGTuWwDG7Hz6PbOnCSS+CGGhntTtADFlsvTMGR7tJy0Nwy0RJ0K68RxI9LKZ2RvKth8SnXugJm74jwvit7ijLwDXQHRIWg9crq9bJ4lKzz0DdJgs+BccZsW6cXTP/vKak1AS2bOSdsaHLWlaq2IxHOgA== 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=/5rLCXgdjI9pXFVvSsRzGHTkwljH0CJdJQJrnCS70Io=; b=UidWTNkLTF/4CxRWHvzAYh6m1HQniQy/+VITGCN+hDEiSyUQXFbgzFOnXmA6g8SC76B2E/5Phww7nYvPCxALDJeorq/aDH6U7hmv/MuhKRmk0CtgcEjFJ9GbtPVSuFYA0PIsjFylotIeKU7eurKr4mcISVbbSG6C9HJLSJRPvzjAhOTNjf3wuy3SPmddfU1Sv6XtRtQMykJoSBKieOU4EqlnzbXjFeGxGLaUkWhXUt5vGoIUmZovrHmot74002DEzeOKMrhPSsYLyeYP//6AHV50yCQrggIOcXOw1m+JQQbOlyEuxG06Iw0ZIVFc47atM6NkpllfnLI9laEHz/ZeQw== 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 DBBPR09CA0004.eurprd09.prod.outlook.com (2603:10a6:10:c0::16) by DBBPR08MB5899.eurprd08.prod.outlook.com (2603:10a6:10:208::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.26; Thu, 17 Dec 2020 13:05:43 +0000 X-Received: from DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:c0:cafe::bd) by DBBPR09CA0004.outlook.office365.com (2603:10a6:10:c0::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; Thu, 17 Dec 2020 13:05:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; X-Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT026.mail.protection.outlook.com (10.152.20.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3676.22 via Frontend Transport; Thu, 17 Dec 2020 13:05:43 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Thu, 17 Dec 2020 13:05:26 +0000 X-Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Thu, 17 Dec 2020 13:05:26 +0000 X-Received: from E107187.Arm.com (10.57.33.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 17 Dec 2020 13:05:26 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , Subject: [edk2-devel] [PATCH v2 26/26] .pytool: CI Settings to support StandaloneMmPkg Date: Thu, 17 Dec 2020 13:05:09 +0000 Message-ID: <20201217130509.12568-27-sami.mujawar@arm.com> In-Reply-To: <20201217130509.12568-1-sami.mujawar@arm.com> References: <20201217130509.12568-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: 437a782b-2679-4b92-b3e7-08d8a28c8da0 X-MS-TrafficTypeDiagnostic: DBBPR08MB5899:|VI1PR08MB3887: 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: 36/99jbUOXaJ7HxUf+fmcKjmbZA4cw5ftJPhhzE2AIr7+L1pdIhE6D9nN5O4A30wiFTnSBaDJt7MEpvWYivOWn23QNvUN7U88jILUOV9V2V791ejP2JmjrwbzMm/bL8vVFQWK0M7E3/cR9EUD1Tv4CLQepBmKBjahguQ0bzy49WsA0agpuM55SZVr+0wX227tbYFVVV3dRN4cAdorL/GS6vARQBMB1uV+Znie+hskNjbuYPtPe2UfaBxLoatEG7tgBonAOHAoOBpJE7jU0vRoXZ90p0FIazkmc2Dj8KbfIa5YkgSaC9WJ8f+mvKbF3L8hbdveUI5ki72plyS4qGYgyRlYdaUgH2wPtdcEAaqc0mN88n8zffK4LC4BDacuUajkQUA7IcGmdsZC4uB2M9r7w== 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)(39850400004)(136003)(376002)(396003)(346002)(46966005)(70206006)(478600001)(1076003)(5660300002)(7696005)(8676002)(6666004)(2906002)(70586007)(82740400003)(4326008)(8936002)(45080400002)(316002)(426003)(186003)(44832011)(86362001)(6916009)(2616005)(54906003)(47076004)(336012)(82310400003)(81166007)(356005)(36756003)(26005)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB5899 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT057.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f32ec8ef-8f7f-4d1b-e84d-08d8a28c7622 X-Microsoft-Antispam-Message-Info: dCVw0X8q8V8Fzt60Vo6dm/ND4OlUFAZwbkz/bQxz1FIDmzwE/U/P41Uqt92dNH7zJMME25J90s/TyBaDEL6I392+bauw4VC9IcDevJvjGefDe5wqKHPuHPMJeAqrolD0GzUr5MecLgjjKdkv8sJa9pZfeclt3b/mflcL4DmCdHwCjFqd3QHsZjxH6/SlrMIimLUfNxi9uf0GMDjnih+E72ITU8iGhLFv8nryz7CCNXKUvN4ef98foj9v1Z55OGnHxiRs2MzslDoBdX9+xZRwygPnJyme8JicH6JwieCHYLpFmsMkLMd6K85I/0Rp75sHHX3qPFyQ5woKpy1IMaoulDri7Yj+zqc6gnXXtDbFFU6aaTGhAvhJHaROK55kQv9R+QydNgvjuRNKl2qIK7hEuA== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 13:06:22.7545 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 437a782b-2679-4b92-b3e7-08d8a28c8da0 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: AM5EUR03FT057.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3887 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: VfCJHSEloSHUHQHRRE0bm73kx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1608210428; bh=rcHy+UOS0GQANzWQbhCEZ5MKgx9m/kywFSUmLriLtNc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Bqk/mhk6iQGePEWj19cr+aM11etg49Ki5DhKDPoAlV2LPFP5IO3IyP2NJ7dbowYVmvI AHetp58z2tpE0p0bsSSVN8PRwb27kShkyRpw7DVZXk9sjlodSMWb9AR9ELU/OySssKxyJ Jp4B3TpjTbvVFDND9eHbZVHnxbLTYkkz/Ao= 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 Reviewed-by: Bret Barkelew Acked-by: Jiewen Yao --- Notes: v2: - No code change. Resending patch with v2 series. [SAMI] .pytool/CISettings.py | 1 + .pytool/Readme.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index b337d046ae08acbe8e587ff42b56f6fc9ce30930..0748c3f45fecf9256738ed5d233= d69732d4fb5be 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -52,6 +52,7 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMana= ger, SetupSettingsManag "UefiCpuPkg", "FmpDevicePkg", "ShellPkg", + "StandaloneMmPkg", "FatPkg", "CryptoPkg", "UnitTestFrameworkPkg", diff --git a/.pytool/Readme.md b/.pytool/Readme.md index 2fc905b8674fc217044baa2ff721f3c6afa504c9..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 (#69119): https://edk2.groups.io/g/devel/message/69119 Mute This Topic: https://groups.io/mt/79035570/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-