From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.51]) by mx.groups.io with SMTP id smtpd.web09.9939.1619085212409512673 for ; Thu, 22 Apr 2021 02:53:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=D63DI1qO; spf=pass (domain: arm.com, ip: 40.107.7.51, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0xZrdrSjUx0w9QgtZcUCIvmzEjaO8rA8z1gQEOfGbI8=; b=D63DI1qO8pzNVPGm+bSKxyzWLiJ4jpaoe2fIvLZ2apdci47lGC7TwLWn0Bc3U/AdV0KFIktHnW0YwYf9IMt8sEYtgxUy+uCSU8RQQYaDc+Jgtb0vRaZauNYQXhB30OVwPEp5q2rprmLLdpnAr+zHISY6X15U9vJs8TwidfBieTw= Received: from DU2PR04CA0222.eurprd04.prod.outlook.com (2603:10a6:10:2b1::17) by DB9PR08MB7008.eurprd08.prod.outlook.com (2603:10a6:10:2c9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 22 Apr 2021 09:53:28 +0000 Received: from DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:2b1:cafe::6) by DU2PR04CA0222.outlook.office365.com (2603:10a6:10:2b1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22 via Frontend Transport; Thu, 22 Apr 2021 09:53:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by 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.4065.21 via Frontend Transport; Thu, 22 Apr 2021 09:53:28 +0000 Received: ("Tessian outbound b610e7b4d771:v90"); Thu, 22 Apr 2021 09:53:28 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 63a474ec2146fbcb X-CR-MTA-TID: 64aa7808 Received: from 5baf26d5c495.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0AB3165D-7AF3-4BE8-A1A1-405557C9C5DF.1; Thu, 22 Apr 2021 09:53:21 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5baf26d5c495.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 22 Apr 2021 09:53:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aFK0pfEZpvCAhnMcQM94w6fAz0ZOyBgug7H+cxKdKfsrEY3XN+GUGtIDcbIUqeFWoT1LrriXRIrR5JMguK0BPDW0lyInAEJOzNCQuNJHZN2lFIXLeyZzkAW8n1ouBi30jjQcXYCpETpBFO+dBME80JC1PwdxTrXYFvNVUcWfxCMHMz+qxYX9Yzs+2Ye+KZMmU992rpvoGPfsiidY+M68KdRgItTp3646ZrRPsZH6RUX3xOfmfzcUA3Ex1vxxDXrVhjLfTfvaJwB5VC++QzSeY2jnyB5QxysG/wXq5f48xrPWoAJIhXn/c+AH1FAFovDcVUQsFeRMqyNXByHK1d7Syw== 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=0xZrdrSjUx0w9QgtZcUCIvmzEjaO8rA8z1gQEOfGbI8=; b=QWA/h4IT+piOGzVOVfb3A1GShuXrKxlpSbRyYigIaSZXQsXUMSEbDzhikmUF0+eCMv/ZWRi1SEKrHRADSdSsAzkYUNoZt7EsEIPj34HRW6XBC7aTMXDJUbQOOzE2AA2h5/N0KdOXuNJPS39KL7Kzz8N0UjFaVfnQrE9tA6KLM+8a1aaOAGYw3vEC+/4YZXgMN9LPLZBJfRh/ztyei2LZu9cosKB5MnNVAlzBq6wGxK7pDLIWXSpZWPZbuB2f2S2F5LaAdX1n5Y6Ec+qVLaw9LhW0vVFM6nbS9YKHF+RDQIWUr+jJcw9+w3NNrmwnHDMoTWxeJBAAcbGqpQonuauuzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0xZrdrSjUx0w9QgtZcUCIvmzEjaO8rA8z1gQEOfGbI8=; b=D63DI1qO8pzNVPGm+bSKxyzWLiJ4jpaoe2fIvLZ2apdci47lGC7TwLWn0Bc3U/AdV0KFIktHnW0YwYf9IMt8sEYtgxUy+uCSU8RQQYaDc+Jgtb0vRaZauNYQXhB30OVwPEp5q2rprmLLdpnAr+zHISY6X15U9vJs8TwidfBieTw= Received: from AM6PR08MB3784.eurprd08.prod.outlook.com (2603:10a6:20b:85::25) 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.4042.19; Thu, 22 Apr 2021 09:53:20 +0000 Received: from AM6PR08MB3784.eurprd08.prod.outlook.com ([fe80::1cd5:e144:5ad7:eb0]) by AM6PR08MB3784.eurprd08.prod.outlook.com ([fe80::1cd5:e144:5ad7:eb0%6]) with mapi id 15.20.4065.021; Thu, 22 Apr 2021 09:53:20 +0000 From: "Sami Mujawar" To: Pierre Gondois , "devel@edk2.groups.io" , "leif@nuviainc.com" , "ardb+tianocore@kernel.org" , "sean.brogan@microsoft.com" , "Bret.Barkelew@microsoft.com" , nd Subject: Re: [PATCH v1 05/12] ArmPkg: Correct small typos Thread-Topic: [PATCH v1 05/12] ArmPkg: Correct small typos Thread-Index: AQHXNqjXRuoIeg8Ekka/0tskbAisyqrATTUI Date: Thu, 22 Apr 2021 09:53:19 +0000 Message-ID: References: <20210421122048.11729-1-Pierre.Gondois@arm.com>,<20210421122048.11729-6-Pierre.Gondois@arm.com> In-Reply-To: <20210421122048.11729-6-Pierre.Gondois@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [81.131.179.80] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 52fa0216-804f-4fdc-528d-08d905747ab4 x-ms-traffictypediagnostic: AS8PR08MB6279:|DB9PR08MB7008: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:2201;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 5t2R6oOOohrjr9jTS47OZcrhgemZiCZGOPv0AjTdp/ZjScGA5r5y8yUtZDJ+PNur43lMj8BdamgbamNyTgwUHKbTt1raze1w2h43D55eWEDrC+BVuJMu1punMAahnOxCEBhFJ/73b20FzCcvS0Q1bwLrQE4TSpvW/P7szpqHtCoqgKBNg2ASrz7c2qc6RyrN72q1MNDByhBY4jNqmHUNJGOcRAR0P6Exa7Cv8Cosz0dwlLB6CSwemhRR6nfMXsLgKMMGaWIBtFxLKfJrdFOQig1SORDjvIl3zM6+gIf7PZsRjig3uI4qVrw1k+Tr1t0112SU7Z1aaObIq9MVf4o/qMMj5az5hj8aTmGO6xXBqKrFbvAIYqrqCHU25kBOOqBrPZIGa5DEZaO2BYMxa6giUHB00dGJdIhQPuiaABH8QoNp8OYbAHLP7eBRn2ciIKeZptolpL/u000dMEDKMqFPXreOwbLTxnTLfMTeTkTOm0AXJv1oywgMtT/S64tiAi8ErATiVKBy6lBlQ9f/SrEJsF68TwGL4ChybHClvTX1zm1TuczZZRvk5w7B1lq8flgjkFwkW2dGMJUq9Yys4C1a9g== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR08MB3784.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(136003)(346002)(376002)(366004)(39850400004)(8676002)(7696005)(45080400002)(478600001)(316002)(64756008)(6636002)(38100700002)(91956017)(186003)(2906002)(76116006)(53546011)(66476007)(5660300002)(33656002)(122000001)(52536014)(83380400001)(55016002)(9326002)(8936002)(9686003)(66446008)(6506007)(86362001)(71200400001)(66946007)(66556008)(26005)(110136005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?f1M1bv7UQOoN5jUSwZEUwXoyN+X8aYS9UrIWINQ06KKgiC5huY1tLdXeJuxw?= =?us-ascii?Q?9NyqKDDM51knGw74NBBCCaJDNXJ/lLfNXAaKULnGyjPYlhDO3rwnaW9SYsXV?= =?us-ascii?Q?ATPIp8tOu9Pn6h+46T84Wgyf95Fk+G5xghcWdJ/Dhr5dqLxoFTzxMHv5onoC?= =?us-ascii?Q?Zx/JU51dQy7+z8t71RrfxihO/iK88/kTvtVuLlY3wtLbIrOBIhVM2ejbU34M?= =?us-ascii?Q?Tya8uwCwn7Yn7KQ8kNYRnsGNIZWPmF+VwP2hoD5lkHGZmP7ZGMcP72bbovWb?= =?us-ascii?Q?wV1EevHYUOwycVl3eTZmMYcW69bu4gQIXkt/UsmO0uJeUBwpPP6YFZjcQvxI?= =?us-ascii?Q?loY4Rf/V7jO1dmB1XiTRwB8Xjn7RfD4/dDICLsNg2eIEaQfPY5JR84wxmQ5j?= =?us-ascii?Q?wUbUOLmw+tIJXfiVEywIrKBT2GHO0WY/QyocL9Vxq4LPLyvDERlmpuP7APkE?= =?us-ascii?Q?3doHc1U5m/rXB6HfMT9FXtRNf7X3eYMiql3vSyMEy+qJpk4pBwN8+RNxgmQo?= =?us-ascii?Q?/fxNJ84kKQ1uaOppO3iY2/MgSRj5eOt8n9eCEeuD2EHzZcn93yEkqayNN/jP?= =?us-ascii?Q?o07iYZfteVwBH+XuboCVRZ2PBf4hDLnToCkaghGtMO4qsA6hBb6M4x/+uMGO?= =?us-ascii?Q?Uz//f75hR0P3kySZEwUyTVWAYR5U8lW4oK+Tc9x5R2C/DoCLPdmOfIL1JwwB?= =?us-ascii?Q?dp6WcTWAHTzj4afMhDGOEyeesSlbiRdmVTjgYCnUTfujJUJFNKuNkqLBLkTZ?= =?us-ascii?Q?5SDNuvr6Eh0omppBy6NqfzIhvL8tlZ0nH6+Hruo4jDxxIxjWJtkhIDCHJIPW?= =?us-ascii?Q?IlNddWp50shqtT23bC+/YpwOwzBuqflmeAMW6H4TsL1Kw/EWUuNxybMK9N63?= =?us-ascii?Q?9fSaZl8dO2HHK95nm0/FJYuZYDew/p98NhDmoH1Zc5c3mobBcYbhLSuJN45x?= =?us-ascii?Q?JZpkY4RUnGkDXc29/iyiPbKk5AgGRvCimBa6oeRt72M95ckouAO6PE7DxDjb?= =?us-ascii?Q?nsl7mAQcueXHHGkVMydSLbxblBoKdZHgCRKzrP6+NKLJRsvFOOlcLVh/WIMY?= =?us-ascii?Q?jSz70pXRBhpLiwmYRzthZFjK6BeoTebQAVilKTIZTBZcnTuJYkhewLJivb6N?= =?us-ascii?Q?oFu0nXw1baHSDJRtnk0PhRZsf/tbbUkfdU4v+tfV1BFk3Xutu5sbW3djkMzq?= =?us-ascii?Q?Vn0JHP1D1sBk4NIHAMOezCx7ioEfYfws54//ydll9z0jsaePx1QLL1y56tKU?= =?us-ascii?Q?7yHN2wmuLMOkref/zkeJ5A+QW1mIm4VmS3Bql21VnFpyB6hqVsXowt1FpBtO?= =?us-ascii?Q?B0Vsj4mo9QBAGPblEiphLDfHpELOMWzNSxaqOg85mBHenw=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6279 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 4df75376-1b91-47af-a220-08d9057475e3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b1E3ypxf/OY0F3f9jZXN7nfntW9SKuDDgQWeBIp5Vqau9zl6rYJjkIFpxzd10bQHzpckOdT1zDVPJ2ye15jIZDgQDpR2mkC70ruj/T5egJUoX92Zy+8r1MVNUC+C2fwol60pFVpGJEYU0JD3Tzx3liWeKsnz8IUqK4a2d5xPI9YlUwX336r1MHYj0+LG0Z8rwUSjxhVeHeL59RW/YSIrE5uFXLyZ/xB/UxysD/ofvR8EhL5m5HgR6PjdlfOdg1M4bVYlBrCcF5n+lHQTQsV+gF9mSNVvRxIq4NdAaSbG8IsPMn0kxygtxgG22JXfkZ2g0UznBagLVGzeoBmwOWitHxNuqp8F6RTqiUkzWz09HWJ2K+VdFRqULxrY5aEm0a/B6JQJaniszdRGhmttAl7tG7Wl+RSR6Q6xwwI4XafTCJYF0hV7tV6DR8PJ1y6pbSsiki6DxgQ1acDjQdtoqSzNcwokr1rH1r0EZU1/+EZXi1nwrSY4meQZOMVRYkNDh28NJWXtU7SCz00THc7x3LNWsSUU8qEviLLCyiKelnIac9f9hLxHA4jl++Qh6Ow7l392pmq9RzrlAWbYaINNiGY0KaKfOYrPjHTwhwa5I5MUudN3qIlqHF4DiRUK/KRr+X1ffytkoJCPSuyS2eCgtues52FVZ8M08+AlEKmHjiJ7EjYfuMuQM5e4cSzBl0x6TD8u X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(136003)(396003)(376002)(39850400004)(346002)(36840700001)(46966006)(6636002)(7696005)(82740400003)(26005)(36860700001)(82310400003)(47076005)(356005)(81166007)(30864003)(53546011)(186003)(8676002)(55016002)(6506007)(9686003)(110136005)(86362001)(2906002)(33656002)(34070700002)(478600001)(83380400001)(8936002)(70586007)(70206006)(316002)(9326002)(336012)(45080400002)(52536014)(5660300002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 09:53:28.2309 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 52fa0216-804f-4fdc-528d-08d905747ab4 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: DB9PR08MB7008 Content-Language: en-GB Content-Type: multipart/alternative; boundary="_000_AM6PR08MB3784B87B23442E6093EE25E084469AM6PR08MB3784eurp_" --_000_AM6PR08MB3784B87B23442E6093EE25E084469AM6PR08MB3784eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Pierre, This patch looks good to me. Reviewed-by: Sami Mujawar Regards, Sami Mujawar From: Pierre.Gondois@arm.com Date: Wednesday, 21 April 2021 at 13:21 To: devel@edk2.groups.io , Sami Mujawar , leif@nuviainc.com , ardb+tianocore@kernel.org= , sean.brogan@microsoft.com , Bret.Barkelew@microsoft.com Subject: [PATCH v1 05/12] ArmPkg: Correct small typos From: Pierre Gondois The 'cspell' CI test detected some small typos in ArmPkg. Correct them. Signed-off-by: Pierre Gondois --- ArmPkg/Drivers/CpuDxe/Arm/Mmu.c | 2 +- ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c | 2 +- ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c | 4 ++-- ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c | 6 +++--- .../StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c | 2 +- .../SmbiosMiscDxe/Type03/MiscChassisManufacturerData.c | 2 +- .../Type13/MiscNumberOfInstallableLanguagesFunction.c | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c b/ArmPkg/Drivers/CpuDxe/Arm/Mm= u.c index 6c58d2b49317..54fad23cb42d 100644 --- a/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c +++ b/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c @@ -345,7 +345,7 @@ EfiAttributeToArmAttribute ( break; case EFI_MEMORY_WC: - // Map to normal non-cachable + // Map to normal non-cacheable ArmAttributes =3D TT_DESCRIPTOR_SECTION_CACHE_POLICY_NON_CACHEABLE; = // TEX [2:0]=3D 001 =3D 0x2, B=3D0, C=3D0 break; diff --git a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c b/ArmPkg/Filesys= tem/SemihostFs/Arm/SemihostFs.c index 6a06b38ab949..c5036b7b5c70 100644 --- a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c +++ b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c @@ -51,7 +51,7 @@ EFI_FILE gSemihostFsFile =3D { }; // -// Device path for semi-hosting. It contains our autogened Caller ID GUID. +// Device path for semi-hosting. It contains our auto-generated Caller ID = GUID. // typedef struct { VENDOR_DEVICE_PATH Guid; diff --git a/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c b/ArmPkg/Librar= y/ArmMmuLib/Arm/ArmMmuLibUpdate.c index 940e4bc797f2..6b9d7eba90b9 100644 --- a/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c +++ b/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c @@ -124,7 +124,7 @@ UpdatePageEntries ( } else if ((Attributes & EFI_MEMORY_WC) !=3D 0) { // modify cacheability attributes EntryMask |=3D TT_DESCRIPTOR_PAGE_CACHE_POLICY_MASK; - // map to normal non-cachable + // map to normal non-cacheable EntryValue |=3D TT_DESCRIPTOR_PAGE_CACHE_POLICY_NON_CACHEABLE; // TEX = [2:0]=3D 001 =3D 0x2, B=3D0, C=3D0 } else if ((Attributes & EFI_MEMORY_WT) !=3D 0) { // modify cacheability attributes @@ -254,7 +254,7 @@ UpdateSectionEntries ( } else if ((Attributes & EFI_MEMORY_WC) !=3D 0) { // modify cacheability attributes EntryMask |=3D TT_DESCRIPTOR_SECTION_CACHE_POLICY_MASK; - // map to normal non-cachable + // map to normal non-cacheable EntryValue |=3D TT_DESCRIPTOR_SECTION_CACHE_POLICY_NON_CACHEABLE; // T= EX [2:0]=3D 001 =3D 0x2, B=3D0, C=3D0 } else if ((Attributes & EFI_MEMORY_WT) !=3D 0) { // modify cacheability attributes diff --git a/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c b/ArmP= kg/Library/SemiHostingSerialPortLib/SerialPortLib.c index e35bcee38098..b6a07dd46608 100644 --- a/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c +++ b/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c @@ -37,11 +37,11 @@ SerialPortInitialize ( /** Write data to serial device. - @param Buffer Point of data buffer which need to be writed. + @param Buffer Point of data buffer which need to be written. @param NumberOfBytes Number of output bytes which are cached in Buff= er. @retval 0 Write data failed. - @retval !0 Actual number of bytes writed to serial device. + @retval !0 Actual number of bytes written to serial device= . **/ @@ -103,7 +103,7 @@ SerialPortWrite ( /** Read data from serial device and save the datas in buffer. - @param Buffer Point of data buffer which need to be writed. + @param Buffer Point of data buffer which need to be written. @param NumberOfBytes Number of output bytes which are cached in Buff= er. @retval 0 Read data failed. diff --git a/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLi= b.c b/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c index 31672ae5cf4d..dd014beec873 100644 --- a/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c +++ b/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c @@ -102,7 +102,7 @@ SendMemoryPermissionRequest ( // Check error response from Callee. if ((*RetVal & BIT31) !=3D 0) { - // Bit 31 set means there is an error retured + // Bit 31 set means there is an error returned // See [1], Section 13.5.5.1 MM_SP_MEMORY_ATTRIBUTES_GET_AARCH64 and // Section 13.5.5.2 MM_SP_MEMORY_ATTRIBUTES_SET_AARCH64. switch (*RetVal) { diff --git a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufa= cturerData.c b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManu= facturerData.c index 137bd941d0b1..29449b871902 100644 --- a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerD= ata.c +++ b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerD= ata.c @@ -23,7 +23,7 @@ SMBIOS_MISC_TABLE_DATA(SMBIOS_TABLE_TYPE3, MiscChassisMan= ufacturer) =3D { 0, // Length, 0 // Handle }, - 1, // Manufactrurer + 1, // Manufacturer MiscChassisTypeMainServerChassis, // Type 2, // Version 3, // SerialNumber diff --git a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInsta= llableLanguagesFunction.c b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/Mi= scNumberOfInstallableLanguagesFunction.c index 19b60ed71f8c..7c941b5c0709 100644 --- a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableL= anguagesFunction.c +++ b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableL= anguagesFunction.c @@ -23,9 +23,9 @@ /** Get next language from language code list (with separator ';'). - @param LangCode Input: point to first language in the list. On - Otput: point to next language in the list, or - NULL if no more language in the list. + @param LangCode Input: point to first language in the list. On + Output: point to next language in the list, or + NULL if no more language in the list. @param Lang The first language in the list. **/ -- 2.17.1 IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you. --_000_AM6PR08MB3784B87B23442E6093EE25E084469AM6PR08MB3784eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Pierre= ,

&nbs= p;

This patc= h looks good to me.

&nbs= p;

Reviewed-= by: Sami Mujawar <sami.mujawar@arm.com>

&nbs= p;

Regards,<= o:p>

&nbs= p;

Sami Muja= war

&nbs= p;

&nbs= p;

From: Pierre.Gondois@arm.= com <Pierre.Gondois@arm.com>
Date: Wednesday, 21 April 2021 at 13:21
To: devel@edk2.groups.io <devel@edk2.groups.io>, Sami Mujawar = <Sami.Mujawar@arm.com>, leif@nuviainc.com <leif@nuviainc.com>, = ardb+tianocore@kernel.org <ardb+tianocore@kernel.org>, sean.brogan@mi= crosoft.com <sean.brogan@microsoft.com>, Bret.Barkelew@microsoft.com <Bret.Barkelew@microsoft.com>
Subject: [PATCH v1 05/12] ArmPkg: Correct small typos

From: Pierre Gondois = <Pierre.Gondois@arm.com>

The 'cspell' CI test detected some small typos in ArmPkg.
Correct them.

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
---
 ArmPkg/Drivers/CpuDxe/Arm/Mmu.c      &n= bsp;            = ;          | 2 +-
 ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c    =            | 2 +-
 ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c    = ;          | 4 ++--
 ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c  &n= bsp;  | 6 +++---
 .../StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c  &nb= sp;   | 2 +-
 .../SmbiosMiscDxe/Type03/MiscChassisManufacturerData.c  &nb= sp;   | 2 +-
 .../Type13/MiscNumberOfInstallableLanguagesFunction.c  &nbs= p;    | 6 +++---
 7 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c b/ArmPkg/Drivers/CpuDxe/Arm/Mm= u.c
index 6c58d2b49317..54fad23cb42d 100644
--- a/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c
+++ b/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c
@@ -345,7 +345,7 @@ EfiAttributeToArmAttribute (
       break;
 
     case EFI_MEMORY_WC:
-      // Map to normal non-cachable
+      // Map to normal non-cacheable
       ArmAttributes =3D TT_DESCRIPTOR_SECTIO= N_CACHE_POLICY_NON_CACHEABLE; // TEX [2:0]=3D 001 =3D 0x2, B=3D0, C=3D0
       break;
 
diff --git a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c b/ArmPkg/Filesys= tem/SemihostFs/Arm/SemihostFs.c
index 6a06b38ab949..c5036b7b5c70 100644
--- a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
+++ b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
@@ -51,7 +51,7 @@ EFI_FILE gSemihostFsFile =3D {
 };
 
 //
-// Device path for semi-hosting. It contains our autogened Caller ID GUID.=
+// Device path for semi-hosting. It contains our auto-generated Caller ID = GUID.
 //
 typedef struct {
   VENDOR_DEVICE_PATH        G= uid;
diff --git a/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c b/ArmPkg/Librar= y/ArmMmuLib/Arm/ArmMmuLibUpdate.c
index 940e4bc797f2..6b9d7eba90b9 100644
--- a/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c
+++ b/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c
@@ -124,7 +124,7 @@ UpdatePageEntries (
   } else if ((Attributes & EFI_MEMORY_WC) !=3D 0) {
     // modify cacheability attributes
     EntryMask |=3D TT_DESCRIPTOR_PAGE_CACHE_POLICY_MAS= K;
-    // map to normal non-cachable
+    // map to normal non-cacheable
     EntryValue |=3D TT_DESCRIPTOR_PAGE_CACHE_POLICY_NO= N_CACHEABLE; // TEX [2:0]=3D 001 =3D 0x2, B=3D0, C=3D0
   } else if ((Attributes & EFI_MEMORY_WT) !=3D 0) {
     // modify cacheability attributes
@@ -254,7 +254,7 @@ UpdateSectionEntries (
   } else if ((Attributes & EFI_MEMORY_WC) !=3D 0) {
     // modify cacheability attributes
     EntryMask |=3D TT_DESCRIPTOR_SECTION_CACHE_POLICY_= MASK;
-    // map to normal non-cachable
+    // map to normal non-cacheable
     EntryValue |=3D TT_DESCRIPTOR_SECTION_CACHE_POLICY= _NON_CACHEABLE; // TEX [2:0]=3D 001 =3D 0x2, B=3D0, C=3D0
   } else if ((Attributes & EFI_MEMORY_WT) !=3D 0) {
     // modify cacheability attributes
diff --git a/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c b/ArmP= kg/Library/SemiHostingSerialPortLib/SerialPortLib.c
index e35bcee38098..b6a07dd46608 100644
--- a/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c
+++ b/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c
@@ -37,11 +37,11 @@ SerialPortInitialize (
 /**
   Write data to serial device.
 
-  @param  Buffer        =    Point of data buffer which need to be writed.
+  @param  Buffer        =    Point of data buffer which need to be written.
   @param  NumberOfBytes    Number of output = bytes which are cached in Buffer.
 
   @retval 0         = ;       Write data failed.
-  @retval !0         &nb= sp;     Actual number of bytes writed to serial device.=
+  @retval !0         &nb= sp;     Actual number of bytes written to serial device= .
 
 **/
 
@@ -103,7 +103,7 @@ SerialPortWrite (
 /**
   Read data from serial device and save the datas in buffer.
 
-  @param  Buffer        =    Point of data buffer which need to be writed.
+  @param  Buffer        =    Point of data buffer which need to be written.
   @param  NumberOfBytes    Number of output = bytes which are cached in Buffer.
 
   @retval 0         = ;       Read data failed.
diff --git a/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLi= b.c b/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c
index 31672ae5cf4d..dd014beec873 100644
--- a/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c
+++ b/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c
@@ -102,7 +102,7 @@ SendMemoryPermissionRequest (
 
   // Check error response from Callee.
   if ((*RetVal & BIT31) !=3D 0) {
-    // Bit 31 set means there is an error retured
+    // Bit 31 set means there is an error returned
     // See [1], Section 13.5.5.1 MM_SP_MEMORY_ATTRIBUT= ES_GET_AARCH64 and
     // Section 13.5.5.2 MM_SP_MEMORY_ATTRIBUTES_SET_AA= RCH64.
     switch (*RetVal) {
diff --git a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufa= cturerData.c b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManu= facturerData.c
index 137bd941d0b1..29449b871902 100644
--- a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerD= ata.c
+++ b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerD= ata.c
@@ -23,7 +23,7 @@ SMBIOS_MISC_TABLE_DATA(SMBIOS_TABLE_TYPE3, MiscChassisMan= ufacturer) =3D {
     0,        =             &nb= sp;            =             &nb= sp;      // Length,
     0        &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;       // Handle
   },
-  1,           = ;            &n= bsp;            = ;            &n= bsp;     // Manufactrurer
+  1,           = ;            &n= bsp;            = ;            &n= bsp;     // Manufacturer
   MiscChassisTypeMainServerChassis,     = ;            &n= bsp;     // Type
   2,          =             &nb= sp;            =             &nb= sp;      // Version
   3,          =             &nb= sp;            =             &nb= sp;      // SerialNumber
diff --git a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInsta= llableLanguagesFunction.c b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/Mi= scNumberOfInstallableLanguagesFunction.c
index 19b60ed71f8c..7c941b5c0709 100644
--- a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableL= anguagesFunction.c
+++ b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableL= anguagesFunction.c
@@ -23,9 +23,9 @@
 /**
   Get next language from language code list (with separator ';')= .
 
-  @param  LangCode       Input: po= int to first language in the list. On
-            &n= bsp;            Otpu= t: point to next language in the list, or
-            &n= bsp;            = ;       NULL if no more language in the list.=
+  @param  LangCode       Input:&nb= sp; point to first language in the list. On
+            &n= bsp;            Outp= ut: point to next language in the list, or
+            &n= bsp;            = ;        NULL if no more language in the= list.
   @param  Lang       &nb= sp;   The first language in the list.
 
 **/
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in any medium. Thank you. --_000_AM6PR08MB3784B87B23442E6093EE25E084469AM6PR08MB3784eurp_--