From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.71]) by mx.groups.io with SMTP id smtpd.web11.449.1607539662426781884 for ; Wed, 09 Dec 2020 10:47:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=k2PYdDeA; spf=pass (domain: arm.com, ip: 40.107.2.71, 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=tz8QMvGYiaU+PNKRJscGp3D0f0Z38frEJMK8Y8cUVT4=; b=k2PYdDeAJwxSMyxBKNlHhbveddHUitWQrlGFSeBQtzRbnKJ/SZu6mw6zsvJJhyfmPumxaezil+HD8i5Bbkt1ATiv2ws1vGD7HqsepWUekPjWuhqZgVewZfNuVGnwh0FxgMzQ49ROP5qD0ZnPX9HAczOM2429xe12D4R0iHCDnJ0= Received: from DB6PR07CA0087.eurprd07.prod.outlook.com (2603:10a6:6:2b::25) by AM0PR08MB4465.eurprd08.prod.outlook.com (2603:10a6:208:139::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:37 +0000 Received: from DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2b:cafe::12) by DB6PR07CA0087.outlook.office365.com (2603:10a6:6:2b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.7 via Frontend Transport; Wed, 9 Dec 2020 18:47:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (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 DB5EUR03FT031.mail.protection.outlook.com (10.152.20.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:37 +0000 Received: ("Tessian outbound 6af064f543d4:v71"); Wed, 09 Dec 2020 18:47:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0d67ff8adf9ae420 X-CR-MTA-TID: 64aa7808 Received: from 5936ac80f374.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 93A83A15-35B1-4E3E-9EA6-4DAA6109CA74.1; Wed, 09 Dec 2020 18:47:20 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5936ac80f374.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UuDYgBJh3HRU5KDEvOmx6r1dmpg+Fg+vFNiAIIx3I//tcX5NBkr/lYkPWZ8xA/F8o4JGlM6FxBGSY6GF3ArJIe/xx9494PdlUEyMOF8zPtGyx+8rHt4MITpT/YSMzdlPNMoeTDAsK5Pfg8AdNLAJQU2+kVg9IqjiSBY8Y4Xd+xCJCPLwEsEX0iBZdJSIZJIm1rwMHhL+pKlbtdusNDYY+OVdKzE8clX/rU0/OW+dl+J/jwUZvfOVVGyC4kUQkHJXeZzi/OHsL6XxI5/T/WGNH3jIAqLZbdV89JyrJDjauoiQU3OZKclvJouvRv05JZsRIy+YbpOoR+GiodqyFCBx8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tz8QMvGYiaU+PNKRJscGp3D0f0Z38frEJMK8Y8cUVT4=; b=Q5888G7sp4hJX5xUIHlEm7KJg1YM+BiIf8hrd81rHNi2YTvzvMBFiojU8nj0KCjyyXd2f5Q6tgjCp1Fja4TvDdhBG5FKXsALcmfCe0GCKJjhbv4Y2RO5m86hCzLaYZXx3wGGGec3xwMr0kpyYYrQCAmoeF8alzYYbII1ZBJH3mZCy4k6oQfJZ/fSnxqjZhOb6CwnjcK76ukC96FSQoY00j1gTGjGsIZ4JDulNmoD5Jb5X3zC81IbPUpvfvqdFHBq/vb+CzBv1tkXk2GbSdfGEe4fWzAFTOc9w/rhqbx1FHLMk1LiFt9uo3C4U2lSa+gUwnNYKkvnYH2dwiLD8HfV2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none 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=tz8QMvGYiaU+PNKRJscGp3D0f0Z38frEJMK8Y8cUVT4=; b=k2PYdDeAJwxSMyxBKNlHhbveddHUitWQrlGFSeBQtzRbnKJ/SZu6mw6zsvJJhyfmPumxaezil+HD8i5Bbkt1ATiv2ws1vGD7HqsepWUekPjWuhqZgVewZfNuVGnwh0FxgMzQ49ROP5qD0ZnPX9HAczOM2429xe12D4R0iHCDnJ0= Received: from DB8P191CA0012.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::22) by DBBPR08MB4758.eurprd08.prod.outlook.com (2603:10a6:10:da::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Wed, 9 Dec 2020 18:47:15 +0000 Received: from DB5EUR03FT064.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:130:cafe::bf) by DB8P191CA0012.outlook.office365.com (2603:10a6:10:130::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT064.mail.protection.outlook.com (10.152.21.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:15 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Wed, 9 Dec 2020 18:47:14 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Wed, 9 Dec 2020 18:47:13 +0000 Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:12 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v1 03/25] StandaloneMmPkg: Fix spell check reported errors Date: Wed, 9 Dec 2020 18:46:48 +0000 Message-ID: <20201209184710.20912-4-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e5deac98-3acc-45ff-55ee-08d89c72e609 X-MS-TrafficTypeDiagnostic: DBBPR08MB4758:|AM0PR08MB4465: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:10000;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: guInVRW26ZbqOujpWuQPcJ+i6X/ngn8rCC1RhtjZLT2D0H5zUnOH9ptbCduBncZDwSPdfQjcKE5y5x1j5QYfVCQ0O0ldWRcOTXa5Fal0Z6x1VoDSkqRI97TJkJCPO9R5/I3LV2EOaErJaM/lg/mcNBGD/GII6jMQ7EY9Jh3hxeRmbEX4mV/zs51PucDhZBP2zIu9nYaAgiq7pzQLHkcvvKIx2qximcWcF4xLzIYKDtAUFfFP5iOq41SylYr6EG37/07euMjcpxa3vBNo7wMrltu9uqibGpaRWP2ad6USW9BylYY2OKBV29+lJ/lUqIW6SMDA0BSXqABAGPYAaqjaCRzlriHftUn1lHfcUQLy5TqOdO/huynXlCXy1WFKaP4qZFZHuiGsaSDGBFfMEtH6bQ== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(186003)(86362001)(30864003)(336012)(81166007)(356005)(6916009)(6666004)(8676002)(54906003)(426003)(1076003)(82310400003)(7696005)(19627235002)(8936002)(5660300002)(47076004)(26005)(2906002)(36756003)(83380400001)(4326008)(44832011)(2616005)(70206006)(70586007)(508600001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4758 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: c292a5d3-bec0-4343-f5e2-08d89c72d8cf X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dMYO7d5ByhyCL0MWWhUVB+ELILrySwBZAMrzn90wSwCWW2IGf0PbXGZIwXGnidjgsa7eW1LGg/cjJYMx/Ah7qhBRjgr85LlCK3CaIDAMBf8rXs7wr7/WvFcQcjGSkN0viRz15HI4pgWrGkmYABLF+hygXZ3isq1ELuYhhrjjhKjQ3TDBklvEnsLW3yXCivE1GekNO99PQ7q5ipP0u9ugeCIj6BnZ77Yy9nWWWzPflcwRBxxJAfm7cX5CZAz+vdMO7PVz54MqTvOSNWffqdGVXbh3L5wCd1p3GsH655uVa2aT3bKizKkDb8JqeA7f45+uSuDkihIAq8Zlu+GaP6y9YWeJ64ZrHDcyENUmDYuXqC7UjabFsmJBvgmSmf6C1nuUefSJwG4lpMGJa2bER0moLA== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(6029001)(4636009)(346002)(376002)(396003)(136003)(39860400002)(46966005)(5660300002)(478600001)(54906003)(81166007)(316002)(47076004)(36756003)(82310400003)(44832011)(8676002)(2906002)(86362001)(83380400001)(19627235002)(8936002)(1076003)(82740400003)(6916009)(426003)(70586007)(26005)(30864003)(2616005)(186003)(6666004)(70206006)(7696005)(4326008)(336012);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:37.2411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5deac98-3acc-45ff-55ee-08d89c72e609 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4465 Content-Type: text/plain Fix the spelling mistakes reported by the spell check utility that is run as part of the Core CI. Signed-off-by: Sami Mujawar --- 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/StandaloneMmCoreMemoryAllocationLib.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/Dependency.c index e0f2d3518369e9b712f80d34e32011d4fff27509..d2703e4538028a4c34e3baa158ba9850a78cfb2a 100644 --- a/StandaloneMmPkg/Core/Dependency.c +++ b/StandaloneMmPkg/Core/Dependency.c @@ -3,10 +3,10 @@ This routine evaluates a dependency expression (DEPENDENCY_EXPRESSION) to 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. 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 **/ @@ -193,7 +193,7 @@ MmIsSchedulable ( if (DriverEntry->Depex == 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 = FALSE (Depex is empty)\n")); ASSERT (FALSE); diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dispatcher.c index c99e6c04c8de31a4ef7022a7cafee6a9db88c5a2..45b17fe3acfec9c056396873006c03f668c1aed6 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -15,9 +15,10 @@ Step #3 - Adding to the mScheduledQueue requires that you process Before and After dependencies. This is done recursively as the call to 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 routine. + to the mScheduledQueue checks for Before Depexes and recursively + adds all Before Depexes. It then adds the item that was passed in + and then processess the After dependencies by recursively calling + the routine. Dispatcher Rules: The rules for the dispatcher are similar to the DXE dispatcher. @@ -29,7 +30,7 @@ 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.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -60,8 +61,8 @@ MmCoreFfsFindMmDriver ( /** Insert InsertedDriverEntry onto the mScheduledQueue. To do this you must add any driver with a before dependency on InsertedDriverEntry first. - You do this by recursively calling this routine. After all the Befores are - processed you can add InsertedDriverEntry to the mScheduledQueue. + You do this by recursively calling this routine. After all the Before Depexes + are processed you can add InsertedDriverEntry to the mScheduledQueue. Then you can add any driver with an After dependency on InsertedDriverEntry by recursively calling this routine. @@ -92,7 +93,7 @@ LIST_ENTRY mScheduledQueue = INITIALIZE_LIST_HEAD_VARIABLE (mScheduledQueue); LIST_ENTRY mFwVolList = INITIALIZE_LIST_HEAD_VARIABLE (mFwVolList); // -// Flag for the MM Dispacher. TRUE if dispatcher is execuing. +// Flag for the MM Dispacher. TRUE if dispatcher is executing. // BOOLEAN gDispatcherRunning = FALSE; @@ -110,7 +111,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED UINT64 *mMmCodeMemoryRangeUsageB /** 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 mark the correponding bits to 1 + is available or not. If memory range is avaliable, the function will mark the corresponding bits to 1 which indicates the memory range is used. The function is only invoked when load modules at fixed address feature is enabled. @@ -163,7 +164,7 @@ CheckAndMarkFixLoadingMemoryUsageBitMap ( } // - // Test if the memory is avalaible or not. + // Test if the memory is available or not. // BaseOffsetPageNumber = (UINTN)EFI_SIZE_TO_PAGES ((UINT32)(ImageBase - MmCodeBase)); TopOffsetPageNumber = (UINTN)EFI_SIZE_TO_PAGES ((UINT32)(ImageBase + ImageSize - MmCodeBase)); @@ -328,7 +329,7 @@ MmLoadImage ( ImageContext.ImageAddress = (EFI_PHYSICAL_ADDRESS)DstBuffer; // - // Align buffer on section boundry + // Align buffer on section boundary // ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; ImageContext.ImageAddress &= ~((EFI_PHYSICAL_ADDRESS)(ImageContext.SectionAlignment - 1)); @@ -604,7 +605,7 @@ MmDispatcher ( // // Load the MM Driver image into memory. If the Driver was transitioned 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 may need to // skip the LoadImage // if (DriverEntry->ImageHandle == 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 first. - You do this by recursively calling this routine. After all the Befores are - processed you can add InsertedDriverEntry to the mScheduledQueue. + You do this by recursively calling this routine. After all the Before Depexes + are processed you can add InsertedDriverEntry to the mScheduledQueue. Then you can add any driver with an After dependency on InsertedDriverEntry by recursively calling this routine. @@ -828,9 +829,9 @@ FvIsBeingProcessed ( /** Add an entry to the mDiscoveredList. Allocate memory to store the DriverEntry, - 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 represent the + The Discovered list is never freed and contains booleans that represent the other possible MM driver states. @param Fv Fv protocol, needed to read Depex info out of @@ -885,7 +886,7 @@ MmAddToDriverList ( /** Traverse the discovered list for any drivers that were discovered but not loaded - because the dependency experessions evaluated to false. + because the dependency expressions evaluated to false. **/ VOID diff --git a/StandaloneMmPkg/Core/Locate.c b/StandaloneMmPkg/Core/Locate.c index 00e395eca6dab8a64d2f587e1c52d2c528ed76f9..1db6f43d7d8a2e65da5199476e00b7f2af6bf56e 100644 --- a/StandaloneMmPkg/Core/Locate.c +++ b/StandaloneMmPkg/Core/Locate.c @@ -2,7 +2,7 @@ Locate handle functions 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 **/ @@ -173,8 +173,8 @@ MmGetNextLocateByProtocol ( /** 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 Interface + Registration is passed in return a Protocol Instance that was just add + to the system. If Registration is NULL return the first Protocol Interface you find. @param Protocol The protocol to search for diff --git a/StandaloneMmPkg/Core/Mmi.c b/StandaloneMmPkg/Core/Mmi.c index 5ed2295ff37409242cc59cadceffc9d3968af6b5..f636a71e26ff586eb3a9b59725b8fb33767dd275 100644 --- a/StandaloneMmPkg/Core/Mmi.c +++ b/StandaloneMmPkg/Core/Mmi.c @@ -2,7 +2,7 @@ MMI management. 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 **/ @@ -220,7 +220,7 @@ MmiManage ( /** Registers a handler to execute within MM. - @param Handler Handler service funtion pointer. + @param Handler Handler service function pointer. @param HandlerType Points to the handler type or NULL for root MMI handlers. @param DispatchHandle On return, contains a unique handle which can be used to later unregister the handler function. diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core/StandaloneMmCore.c index ac3e2c0b1b93859ebda04841f72a0bed28c02580..0b3ddbaa6a35e2e609f737a39ace62c2406bf8df 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -2,7 +2,7 @@ MM Core Main Entry Point 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 **/ @@ -590,9 +590,9 @@ StandaloneMmMain ( // // 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. DEBUG ((DEBUG_INFO, "MmInstallConfigurationTable For HobList\n")); // diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.h b/StandaloneMmPkg/Core/StandaloneMmCore.h index 96c195311addf5a7121953a97f3c8c572fca85a2..dcffdd768cff9de1da4c9de471622d553e6815e2 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.h +++ b/StandaloneMmPkg/Core/StandaloneMmCore.h @@ -3,7 +3,7 @@ internal structure and functions used by MmCore module. 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 @@ -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; @@ -516,8 +516,8 @@ MmLocateHandle ( /** 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 Interface + Registration is passed in return a Protocol Instance that was just add + to the system. If Registration is NULL return the first Protocol Interface you find. @param Protocol The protocol to search for @@ -564,7 +564,7 @@ MmiManage ( /** Registers a handler to execute within MM. - @param Handler Handler service funtion pointer. + @param Handler Handler service function pointer. @param HandlerType Points to the handler type or NULL for root MMI handlers. @param DispatchHandle On return, contains a unique handle which can be used to later unregister the handler function. @@ -728,7 +728,7 @@ MmEfiNotAvailableYetArg5 ( ); // -//Functions used during debug buils +//Functions used during debug builds // /** diff --git a/StandaloneMmPkg/Include/Guid/MmCoreData.h b/StandaloneMmPkg/Include/Guid/MmCoreData.h index 8bd80e0519a40360eb91f68673d9afea0abf5004..6c7f9fb67204f19ff250eadece6065e62612a2c8 100644 --- a/StandaloneMmPkg/Include/Guid/MmCoreData.h +++ b/StandaloneMmPkg/Include/Guid/MmCoreData.h @@ -2,7 +2,7 @@ MM Core data. 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 **/ @@ -98,14 +98,14 @@ typedef struct { EFI_PHYSICAL_ADDRESS Mmst; /// - /// This field is used by the MM Communicatioon Protocol to pass a buffer 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 buffer back to /// the caller of the MM Communication Protocol. /// EFI_PHYSICAL_ADDRESS CommunicationBuffer; /// - /// This field is used by the MM Communicatioon Protocol to pass the size 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 handler to pass the /// size, in bytes, of a buffer back to the caller of the MM Communication Protocol. /// diff --git a/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h b/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h index c83212b405977645df61d0a8eceac80ba2e891b6..a2cd1566f5f6ded2618a16737ecad46f8dae8467 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. 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.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -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. @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/StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h index baa6fe99810acc695a0e24f1f6d5ead0b59ea497..a061389d23f8521abf4c0fae75725d27e8b8a9d6 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. 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 @@ -69,7 +69,7 @@ MmCopyMemToMmram ( @param SourceBuffer The pointer to the source buffer of the memory copy. @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per processor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per processor architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. **/ @@ -94,7 +94,7 @@ MmCopyMemFromMmram ( @param SourceBuffer The pointer to the source buffer of the memory copy. @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per processor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per processor 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. diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf index 3fa08f2c650c36e764825a21644d25b2bb03ca56..faed919094100c69b8227b1b68819955ec5dd433 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf +++ b/StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.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 indirect way. +# for memory allocation instead of using MM System Table services in an indirect 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..76456c12647b025c5dcab7aee33464aea462b7e6 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. 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 @@ -145,7 +145,7 @@ MmCopyMemToMmram ( @param SourceBuffer The pointer to the source buffer of the memory copy. @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per processor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per processor architecture or overlap with MMRAM. @retval EFI_SUCCESS Memory is copied. **/ @@ -179,7 +179,7 @@ MmCopyMemFromMmram ( @param SourceBuffer The pointer to the source buffer of the memory copy. @param Length The number of bytes to copy from SourceBuffer to DestinationBuffer. - @retval EFI_SECURITY_VIOLATION The DesinationBuffer is invalid per processor architecture or overlap with MMRAM. + @retval EFI_SECURITY_VIOLATION The DestinationBuffer is invalid per processor 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. diff --git a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.c index 1fef0a93b77a0317e454f735e0afb2c2f2c85c40..3549eed791c3eca661fbf6d0e10c0c86f509ea54 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. This module installs variable arch protocol and variable write arch protocol 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 diff --git a/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf b/StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf index 34adce6f39fcb0a5709f21c4e50101fa82e3ba79..eb54776602655ead9bf76038d92bfa80e7636dc5 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 protocol # 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 # ## -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'