From nobody Mon Feb 9 09:33:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+53913+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+53913+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 15810377469341021.8159958812771; Thu, 6 Feb 2020 17:09:06 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id K6UPYY1788612x8VBkKI0T6B; Thu, 06 Feb 2020 17:09:06 -0800 X-Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web12.6468.1581037745848122650 for ; Thu, 06 Feb 2020 17:09:06 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-353-eUF6EZnTOuKUQCx_mifNwg-1; Thu, 06 Feb 2020 20:09:02 -0500 X-Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C3D2C1007278; Fri, 7 Feb 2020 01:09:01 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B2EA75C1BB; Fri, 7 Feb 2020 01:09:00 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [edk2-devel] [PATCH v3 16/78] MdeModulePkg/Core/Pei: Fix various typos Date: Fri, 7 Feb 2020 02:07:29 +0100 Message-Id: <20200207010831.9046-17-philmd@redhat.com> In-Reply-To: <20200207010831.9046-1-philmd@redhat.com> References: <20200207010831.9046-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: eUF6EZnTOuKUQCx_mifNwg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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,philmd@redhat.com X-Gm-Message-State: SkdGZNVrc4TpvSKPX0FBKQ2rx1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1581037746; bh=biSwAh0A+EFriXJATKWBs/LUTpk9eOFhnx3O2158lyk=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=iKSNrDP38iEi+zoPGGhDdMk4lzGmRadO08K24nsx6dCxElsaLm4mxrVAKRmrz3s2uac /gE/ke/ZPcbYUwgvHiyYLagQKJybdBs20J8AimjtySpmyHMnVIekxWHBH3gxU8qHdJNmQ owd6kR8i65A58zckb8ysl87AkIbOL9zxmjE= X-ZohoMail-DKIM: pass (identity @groups.io) From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Hao A Wu Signed-off-by: Philippe Mathieu-Daude --- MdeModulePkg/Core/Pei/PeiMain.h | 4 ++-- MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 10 +++++----- MdeModulePkg/Core/Pei/FwVol/FwVol.c | 4 ++-- MdeModulePkg/Core/Pei/Hob/Hob.c | 2 +- MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMai= n.h index 6431bdaaacf6..56b3bd85793d 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.h +++ b/MdeModulePkg/Core/Pei/PeiMain.h @@ -282,7 +282,7 @@ struct _PEI_CORE_INSTANCE { EFI_PHYSICAL_ADDRESS LoadModuleAtFixAddressTopAddress; // // The field is define for Loading modules at fixed address feature to t= racker the PEI code - // memory range usage. It is a bit mapped array in which every bit indic= ates the correspoding memory page + // memory range usage. It is a bit mapped array in which every bit indic= ates the corresponding memory page // available or not. // UINT64 *PeiCodeMemoryRangeUsageBitMap; @@ -555,7 +555,7 @@ PeiLocatePpi ( =20 @retval EFI_SUCCESS if successful @retval EFI_OUT_OF_RESOURCES if no space in the database - @retval EFI_INVALID_PARAMETER if not a good decriptor + @retval EFI_INVALID_PARAMETER if not a good descriptor =20 **/ EFI_STATUS diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/C= ore/Pei/Dispatcher/Dispatcher.c index a18ac47f617a..4c2eac1384e8 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -257,7 +257,7 @@ PeiLoadFixAddressIsMemoryRangeAvailable ( =20 This function should only be invoked when Loading Module at Fixed Addres= s(LMFA) feature is enabled. When feature is configured as Load Modules at Fix Absolute Address, this function is to = validate the top address assigned by user. When - feature is configured as Load Modules at Fixed Offset, the functino is t= o find the top address which is TOLM-TSEG in general. + feature is configured as Load Modules at Fixed Offset, the function is t= o find the top address which is TOLM-TSEG in general. And also the function will re-install PEI memory. =20 @param PrivateData Pointer to the private data passed in from ca= ller @@ -604,7 +604,7 @@ PeiLoadFixAddressHook( ); } // - // Delete CurrentHob by marking it as unused since the the memory rang= e described by is rebuilt. + // Delete CurrentHob by marking it as unused since the memory range de= scribed by is rebuilt. // GET_HOB_TYPE (CurrentHob) =3D EFI_HOB_TYPE_UNUSED; } @@ -751,7 +751,7 @@ PeiCheckAndSwitchStack ( =20 // // Calculate stack offset and heap offset between temporary memory and= new permanent - // memory seperately. + // memory separately. // TopOfOldStack =3D (UINTN)SecCoreData->StackBase + SecCoreData->StackSi= ze; TopOfNewStack =3D Private->PhysicalMemoryBegin + NewStackSize; @@ -1229,7 +1229,7 @@ PeiDispatcher ( =20 // // Before walking through the next FV, we should set them to NULL/0 = to - // start at the begining of the next FV. + // start at the beginning of the next FV. // Private->CurrentFileHandle =3D NULL; Private->CurrentPeimCount =3D 0; @@ -1259,7 +1259,7 @@ PeiDispatcher ( =20 @param PrivateData PeiCore's private data structure @param OldCoreData Old data from SecCore - NULL if being run in non-permament memory mode. + NULL if being run in non-permanent memory mode. @param SecCoreData Points to a data structure containing information= about the PEI core's operating environment, such as the size and location of tem= porary RAM, the stack location and the BFV location. diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/Fw= Vol/FwVol.c index b3661146f29c..fa1a3d3accb8 100644 --- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c +++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c @@ -178,7 +178,7 @@ CalculateHeaderChecksum ( if (IS_FFS_FILE2 (FileHeader)) { CopyMem (&TestFileHeader, FileHeader, sizeof (EFI_FFS_FILE_HEADER2)); // - // Ingore State and File field in FFS header. + // Ignore State and File field in FFS header. // TestFileHeader.State =3D 0; TestFileHeader.IntegrityCheck.Checksum.File =3D 0; @@ -187,7 +187,7 @@ CalculateHeaderChecksum ( } else { CopyMem (&TestFileHeader, FileHeader, sizeof (EFI_FFS_FILE_HEADER)); // - // Ingore State and File field in FFS header. + // Ignore State and File field in FFS header. // TestFileHeader.State =3D 0; TestFileHeader.IntegrityCheck.Checksum.File =3D 0; diff --git a/MdeModulePkg/Core/Pei/Hob/Hob.c b/MdeModulePkg/Core/Pei/Hob/Ho= b.c index e0e47fad25b9..4d8db2e7a5cb 100644 --- a/MdeModulePkg/Core/Pei/Hob/Hob.c +++ b/MdeModulePkg/Core/Pei/Hob/Hob.c @@ -1,5 +1,5 @@ /** @file - This module provide Hand-Off Block manupulation. + This module provide Hand-Off Block manipulation. =20 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pe= i/PeiMain/PeiMain.c index 025d7f98ec27..cca57c4c0686 100644 --- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c +++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c @@ -132,7 +132,7 @@ ShadowPeiCore ( ASSERT_EFI_ERROR (Status); =20 // - // Compute the PeiCore's function address after shaowed PeiCore. + // Compute the PeiCore's function address after shadowed PeiCore. // _ModuleEntryPoint is PeiCore main function entry // return (PEICORE_FUNCTION_POINTER)((UINTN) EntryPoint + (UINTN) PeiCore -= (UINTN) _ModuleEntryPoint); --=20 2.21.1 -=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 (#53913): https://edk2.groups.io/g/devel/message/53913 Mute This Topic: https://groups.io/mt/71039534/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-