From nobody Sat Apr 20 12:08:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+43220+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43220+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1562166540; cv=none; d=zoho.com; s=zohoarc; b=C/1T614eg/kS4kPh+5AUbgGYvBAvIZ7PedV2VpC++UL9VuwoV+SDnjMYMa25IEG4l/ZkUfqtSWpvXti41IPvc2HPjEOYHTddVpWwXBbFTmujHqjpEtLilS3qf0qLKZkeRG7ED/0x3uiSpKq3XomiRlk/mOwMKrVml0caRS2UU8M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562166540; h=Content-Type:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=qpqAfMKXgfZU7tuQUvqPwIKtIY2nEQnLKH9pgo79X28=; b=ATrvmaKZTR44kU9F7URYWTqUKbTFNjY+TzB+ZwFGJxKBGvglh1DIRmT4XgEaeGzsP+yTUFA7It1/96vDiyXR0tbEU/OLVynY2i0SKVXOEKuC7lvfqdzP5Z+ktkYxlivVSSSMHPLs+I8w0Qv++di/RQlPbqXEYPDCRASSze1kWLY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43220+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1562166540890885.5845069144075; Wed, 3 Jul 2019 08:09:00 -0700 (PDT) Return-Path: Subject: [edk2-devel] [PATCH] BaseTools: Fix various typos To: devel@edk2.groups.io From: =?UTF-8?B?Q8WTdXI=?= X-Originating-Location: Seoul, KR (128.1.125.180) X-Originating-Platform: Mac Chrome 75 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 03 Jul 2019 08:08:59 -0700 Message-ID: <18238.1562166539775741502@groups.io> 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,coeur@gmx.fr Content-Type: multipart/alternative; boundary="fQo3YEzNUlXghzZe3gWC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1562166540; bh=P/oFMvKksdhoRIlQFhz+pCKqjW9vY1iHDCI162UbfZE=; h=Content-Type:Date:From:Reply-To:Subject:To; b=LTRLO14VNH76t1iNYcahEW7vjhMAglDSqg/pHs/RkqIY7Hz1r1MpnPRVFNIKWa105t5 MySf/a3/8gvM4ewhLvSFvA3F8PmvvIVE/lsjAueeAJg+4EvCG7+VIONLPAD2plGAJ97bN wDytEuq+w3zQfIViY0vj2pvTvjHwqGJv8Ts= X-ZohoMail-DKIM: pass (identity @groups.io) --fQo3YEzNUlXghzZe3gWC Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Fix various typos in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur Reviewed-by: Bob Feng --- BaseTools/Conf/XMLSchema/DistributionPackage.xsd=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 | 8 ++++---- .../plugins/EdkPlugins/edk2/model/doxygengen.py=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0| 2 +- .../plugins/EdkPlugins/edk2/model/doxygengen_spec.py=C2=A0 =C2=A0 =C2=A0 | = 2 +- BaseTools/Source/C/Common/FirmwareVolumeBuffer.c=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 | 4 ++-- BaseTools/Source/C/Include/Common/BaseTypes.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0| 2 +- BaseTools/Source/C/Makefiles/NmakeSubdirs.py=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 | 2 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0| 2 +- BaseTools/Source/C/VfrCompile/Pccts/h/err.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0| 2 +- BaseTools/Source/Python/AutoGen/AutoGen.py=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 | 4 ++-- BaseTools/Source/Python/BPDG/GenVpd.py=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 6 +++--- BaseTools/Source/Python/Common/ToolDefClassObject.py=C2=A0 =C2=A0 =C2=A0 | = 2 +- BaseTools/Source/Python/UPT/Library/DataType.py=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0| 2 +- BaseTools/Source/Python/UPT/Library/StringUtils.py=C2=A0 =C2=A0 =C2=A0 =C2= =A0 | 2 +- BaseTools/Source/Python/UPT/Logger/StringTable.py=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| 2 +- .../Python/UPT/Object/Parser/InfBuildOptionObject.py=C2=A0 =C2=A0 =C2=A0 | = 2 +- 15 files changed, 22 insertions(+), 22 deletions(-) diff --git a/BaseTools/Conf/XMLSchema/DistributionPackage.xsd b/BaseTools/C= onf/XMLSchema/DistributionPackage.xsd index 7499c325c3..67be9c8f32 100644 --- a/BaseTools/Conf/XMLSchema/DistributionPackage.xsd +++ b/BaseTools/Conf/XMLSchema/DistributionPackage.xsd @@ -166,7 +166,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent Package. -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Each Distribution Package= is uniquely identified by it's +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Each Distribution Package= is uniquely identified by its GUID and Version number. @@ -363,7 +363,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent Modules. -=C2=A0 =C2=A0 =C2=A0 =C2=A0 Each package is uniquely identified by it's GU= ID and Version number. +=C2=A0 =C2=A0 =C2=A0 =C2=A0 Each package is uniquely identified by its GUI= D and Version number. Backward compatible releases of a package need only change the version numb= er, while non-backward compatible changes require the GUID to change (resetting the version number= to 1.0 is optional.) @@ -1168,7 +1168,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent -=C2=A0 =C2=A0 =C2=A0 =C2=A0 Each module is uniquely identified by it's GUI= D and Version number. +=C2=A0 =C2=A0 =C2=A0 =C2=A0 Each module is uniquely identified by its GUID= and Version number. Backward compatible releases of a module need only change the version numbe= r, while non-backward compatible changes require the GUID to change (resetting the version number= to 1.0 is optional.) @@ -3092,7 +3092,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent The Patch PCD is a #define that is set at build time, and that can be modified within a binary file. Additional information, such as the o= ffset location of the -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 value, along with it's length ma= y need to be provided. +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 value, along with its length may= need to be provided. diff --git a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2= /model/doxygengen.py b/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPl= ugins/edk2/model/doxygengen.py index d0274d6afd..89833043c6 100644 --- a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/model/= doxygengen.py +++ b/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/model/= doxygengen.py @@ -792,7 +792,7 @@ class PackageDocumentAction(DoxygenAction): Generate page for a module/library. @param infObj=C2=A0 =C2=A0 =C2=A0INF file object for module/library @param configFile doxygen config file object -=C2=A0 =C2=A0 =C2=A0 =C2=A0 @param isLib=C2=A0 =C2=A0 =C2=A0 Whether this = module is libary +=C2=A0 =C2=A0 =C2=A0 =C2=A0 @param isLib=C2=A0 =C2=A0 =C2=A0 Whether this = module is library @param module doxygen page object """ diff --git a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2= /model/doxygengen_spec.py b/BaseTools/Scripts/PackageDocumentTools/plugins/= EdkPlugins/edk2/model/doxygengen_spec.py index 3ba4eed55e..e37938c466 100644 --- a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/model/= doxygengen_spec.py +++ b/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/model/= doxygengen_spec.py @@ -793,7 +793,7 @@ class PackageDocumentAction(DoxygenAction): Generate page for a module/library. @param infObj=C2=A0 =C2=A0 =C2=A0INF file object for module/library @param configFile doxygen config file object -=C2=A0 =C2=A0 =C2=A0 =C2=A0 @param isLib=C2=A0 =C2=A0 =C2=A0 Whether this = module is libary +=C2=A0 =C2=A0 =C2=A0 =C2=A0 @param isLib=C2=A0 =C2=A0 =C2=A0 Whether this = module is library @param module doxygen page object """ diff --git a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c b/BaseTools/S= ource/C/Common/FirmwareVolumeBuffer.c index 6e1914be29..70741c8afc 100644 --- a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c +++ b/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c @@ -937,7 +937,7 @@ Arguments: Fv - Address of the Fv in memory Key - Should be 0 to get the first file.=C2=A0 After that, it should be -=C2=A0 =C2=A0 =C2=A0 =C2=A0 passed back in without modifying it's contents= to retrieve +=C2=A0 =C2=A0 =C2=A0 =C2=A0 passed back in without modifying its contents = to retrieve subsequent files. File - Output file pointer File =3D=3D NULL - invalid parameter @@ -1323,7 +1323,7 @@ Arguments: SectionsStart - Address of the start of the FFS sections array TotalSectionsSize - Total size of all the sections Key - Should be 0 to get the first section.=C2=A0 After that, it should be -=C2=A0 =C2=A0 =C2=A0 =C2=A0 passed back in without modifying it's contents= to retrieve +=C2=A0 =C2=A0 =C2=A0 =C2=A0 passed back in without modifying its contents = to retrieve subsequent files. Section - Output section pointer (Section =3D=3D NULL) -> invalid parameter diff --git a/BaseTools/Source/C/Include/Common/BaseTypes.h b/BaseTools/Sour= ce/C/Include/Common/BaseTypes.h index 9844d1d514..31d0662085 100644 --- a/BaseTools/Source/C/Include/Common/BaseTypes.h +++ b/BaseTools/Source/C/Include/Common/BaseTypes.h @@ -151,7 +151,7 @@ typedef struct { /// ///=C2=A0 _CR - returns a pointer to the structure -///=C2=A0 =C2=A0 =C2=A0 from one of it's elements. +///=C2=A0 =C2=A0 =C2=A0 from one of its elements. /// #define _CR(Record, TYPE, Field)=C2=A0 ((TYPE *) ((CHAR8 *) (Record) - (CHA= R8 *) &(((TYPE *) 0)->Field))) diff --git a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py b/BaseTools/Sourc= e/C/Makefiles/NmakeSubdirs.py index 30a481613e..356f5aca63 100644 --- a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py +++ b/BaseTools/Source/C/Makefiles/NmakeSubdirs.py @@ -104,7 +104,7 @@ class ThreadControl(object): while len(self.running) > 0: time.sleep(0.1) if self.error: -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 print("subprocess not exit suces= sfully") +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 print("subprocess not exit succe= ssfully") print(self.errorMsg) def startTask(self): diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c b/BaseTools/So= urce/C/VfrCompile/Pccts/antlr/lex.c index 357b8ace01..fddb46bbc3 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c @@ -298,7 +298,7 @@ genDefFile( ) /* look in all lexclasses for the reg expr */ /* MR10=C2=A0 Derek Pappas=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 */ -/* MR10=C2=A0 =C2=A0 =C2=A0A #tokclass doesn't have associated regular exp= ressiones */ +/* MR10=C2=A0 =C2=A0 =C2=A0A #tokclass doesn't have associated regular exp= ressions */ /* MR10=C2=A0 =C2=A0 =C2=A0 =C2=A0 so don't warn user about it's omission= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 */ p =3D (TermEntry *) hash_get(Tname, TokenString(i)); diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/err.h b/BaseTools/Source= /C/VfrCompile/Pccts/h/err.h index b2b196bd75..435d48356d 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/err.h +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/err.h @@ -649,7 +649,7 @@ _inf_zzgettok() /* allocate default size text,token and line arrays; * then, read all of the input reallocing the arrays as needed. * Once the number of total tokens is known, the LATEXT(i) array (zzinf_text) - * is allocated and it's pointers are set to the tokens in zzinf_text_buff= er. + * is allocated and its pointers are set to the tokens in zzinf_text_buffe= r. */ void #ifdef __USE_PROTOS diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/= Python/AutoGen/AutoGen.py index e8e09dc8a3..a2077c5516 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen.py +++ b/BaseTools/Source/Python/AutoGen/AutoGen.py @@ -3030,7 +3030,7 @@ class ModuleAutoGen(AutoGen): IncPathList =3D [NormPath(Path, self.Macros) for Path in BuildOptIncludeReg= Ex.findall(FlagOption)] else: # -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # RVCT may specify= a list of directory seperated by commas +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # RVCT may specify= a list of directory separated by commas # IncPathList =3D [] for Path in BuildOptIncludeRegEx.findall(FlagOption): @@ -3994,7 +3994,7 @@ class ModuleAutoGen(AutoGen): # @cached_class_function def CreateMakeFile(self, CreateLibraryMakeFile=3DTrue, GenFfsList =3D []): -=C2=A0 =C2=A0 =C2=A0 =C2=A0 # nest this function inside it's only caller. +=C2=A0 =C2=A0 =C2=A0 =C2=A0 # nest this function inside its only caller. def CreateTimeStamp(): FileSet =3D {self.MetaFile.Path} diff --git a/BaseTools/Source/Python/BPDG/GenVpd.py b/BaseTools/Source/Pyth= on/BPDG/GenVpd.py index 887a0c4a1f..049c082f40 100644 --- a/BaseTools/Source/Python/BPDG/GenVpd.py +++ b/BaseTools/Source/Python/BPDG/GenVpd.py @@ -312,7 +312,7 @@ class GenVPD : ## # Parser the input file which is generated by the build tool. Convert the v= alue of each pcd's -=C2=A0 =C2=A0 # from string to it's real format. Also remove the useless l= ine in the input file. +=C2=A0 =C2=A0 # from string to its real format. Also remove the useless li= ne in the input file. # def ParserInputFile (self): count =3D 0 @@ -483,7 +483,7 @@ class GenVPD : self.PcdFixedOffsetSizeList.sort(key=3Dlambda x: x.PcdBinOffset) # -=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Sort the un-fixed pcd's offset by it's size. +=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Sort the un-fixed pcd's offset by its size. # self.PcdUnknownOffsetList.sort(key=3Dlambda x: x.PcdBinSize) @@ -605,7 +605,7 @@ class GenVPD : # Usually it will not enter into this thunk, if so, means it overlapped. else : EdkLogger.error("BPDG", BuildToolError.ATTRIBUTE_NOT_AVAILABLE, -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "The offset value definition has ove= rlapped at pcd: %s, it's offset is: %s, in file: %s line: %s" % \ +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "The offset value definition has ove= rlapped at pcd: %s, its offset is: %s, in file: %s line: %s" % \ (eachFixedPcd.PcdCName, eachFixedPcd.PcdOffset, eachFixedPcd.InputFileName,= eachFixedPcd.Lineno), None) FixOffsetSizeListCount +=3D 1 diff --git a/BaseTools/Source/Python/Common/ToolDefClassObject.py b/BaseToo= ls/Source/Python/Common/ToolDefClassObject.py index 5d692ea13c..4fa364942c 100644 --- a/BaseTools/Source/Python/Common/ToolDefClassObject.py +++ b/BaseTools/Source/Python/Common/ToolDefClassObject.py @@ -105,7 +105,7 @@ class ToolDefClassObject(object): ## IncludeToolDefFile # -=C2=A0 =C2=A0 # Load target.txt file and parse it as if it's contents were= inside the main file +=C2=A0 =C2=A0 # Load target.txt file and parse it as if its contents were = inside the main file # # @param Filename:=C2=A0 Input value for full path of tools_def.txt # diff --git a/BaseTools/Source/Python/UPT/Library/DataType.py b/BaseTools/So= urce/Python/UPT/Library/DataType.py index 88559bcc43..bd216786a5 100644 --- a/BaseTools/Source/Python/UPT/Library/DataType.py +++ b/BaseTools/Source/Python/UPT/Library/DataType.py @@ -210,7 +210,7 @@ ARCH_LIST =3D ["IA32", ## # PCD driver type list items # -PCD_DIRVER_TYPE_LIST =3D ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"] +PCD_DRIVER_TYPE_LIST =3D ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"] ## # Boot Mode List Items diff --git a/BaseTools/Source/Python/UPT/Library/StringUtils.py b/BaseTools= /Source/Python/UPT/Library/StringUtils.py index e43924fa6c..fbc5177caf 100644 --- a/BaseTools/Source/Python/UPT/Library/StringUtils.py +++ b/BaseTools/Source/Python/UPT/Library/StringUtils.py @@ -863,7 +863,7 @@ def ConvertNOTEQToNE(Expr): ## SplitPcdEntry # # Split an PCD entry string to Token.CName and PCD value and FFE. -# NOTE: PCD Value and FFE can contain "|" in it's expression. And in INF s= pecification, have below rule. +# NOTE: PCD Value and FFE can contain "|" in its expression. And in INF sp= ecification, have below rule. # When using the characters "|" or "||" in an expression, the expression mu= st be encapsulated in # open "(" and close ")" parenthesis. # diff --git a/BaseTools/Source/Python/UPT/Logger/StringTable.py b/BaseTools/= Source/Python/UPT/Logger/StringTable.py index 7782d26238..13c015844e 100644 --- a/BaseTools/Source/Python/UPT/Logger/StringTable.py +++ b/BaseTools/Source/Python/UPT/Logger/StringTable.py @@ -251,7 +251,7 @@ ERR_ASBUILD_PCD_SECTION_TYPE =3D _("The AsBuilt INF fil= e contains a PCD section ty ERR_ASBUILD_PATCHPCD_FORMAT_INVALID =3D _("The AsBuilt PatchPcd entry must = contain 3 elements: PcdName|Value|Offset") ERR_ASBUILD_PCDEX_FORMAT_INVALID =3D _("The AsBuilt PcdEx entry must contai= n one element: PcdName") ERR_ASBUILD_PCD_VALUE_INVALID =3D \ -=C2=A0 =C2=A0 _("The AsBuilt PCD value %s is incorrect or not align with i= t's datum type %s. " +=C2=A0 =C2=A0 _("The AsBuilt PCD value %s is incorrect or not align with i= ts datum type %s. " "It must be corrected before continuing.") ERR_ASBUILD_PCD_TOKENSPACE_GUID_VALUE_MISS =3D _("Package file value could = not be retrieved for %s.") ERR_ASBUILD_PCD_DECLARITION_MISS =3D _("PCD Declaration in DEC files could = not be found for: %s.") diff --git a/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject= .py b/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.py index 3383dc4b0f..fdba5db983 100644 --- a/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.py +++ b/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.py @@ -49,7 +49,7 @@ class InfBuildOptionsObject(InfSectionCommonDef): InfSectionCommonDef.__init__(self) ## SetBuildOptions function # -=C2=A0 =C2=A0 # For BuildOptionName, need to validate it's format +=C2=A0 =C2=A0 # For BuildOptionName, need to validate its format # For BuildOptionValue, just ignore it. # # @param=C2=A0 Arch=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Indicated which arch = of build options belong to. -- 2.20.1 (Apple Git-117) -=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 (#43220): https://edk2.groups.io/g/devel/message/43220 Mute This Topic: https://groups.io/mt/32298356/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- --fQo3YEzNUlXghzZe3gWC Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Fix various typos in BaseTools.
 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
---
 BaseTools/Conf/XMLSchema/DistributionPackage.xsd    &= nbsp;     | 8 ++++----
 .../plugins/EdkPlugins/edk2/model/doxygengen.py    &n= bsp;      | 2 +-
 .../plugins/EdkPlugins/edk2/model/doxygengen_spec.py  &nbs= p;   | 2 +-
 BaseTools/Source/C/Common/FirmwareVolumeBuffer.c    &= nbsp;     | 4 ++--
 BaseTools/Source/C/Include/Common/BaseTypes.h    &nbs= p;        | 2 +-
 BaseTools/Source/C/Makefiles/NmakeSubdirs.py     = ;         | 2 +-
 BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c    &n= bsp;      | 2 +-
 BaseTools/Source/C/VfrCompile/Pccts/h/err.h     =          | 2 +-
 BaseTools/Source/Python/AutoGen/AutoGen.py      =           | 4 ++--
 BaseTools/Source/Python/BPDG/GenVpd.py      &nbs= p;             | 6 +++---
 BaseTools/Source/Python/Common/ToolDefClassObject.py  &nbs= p;   | 2 +-
 BaseTools/Source/Python/UPT/Library/DataType.py    &n= bsp;      | 2 +-
 BaseTools/Source/Python/UPT/Library/StringUtils.py   =     | 2 +-
 BaseTools/Source/Python/UPT/Logger/StringTable.py    =      | 2 +-
 .../Python/UPT/Object/Parser/InfBuildOptionObject.py  &nbs= p;   | 2 +-
 15 files changed, 22 insertions(+), 22 deletions(-)
 
diff --git a/BaseTools/Conf/XMLSchema/DistributionPackage.xsd b/BaseT= ools/Conf/XMLSchema/DistributionPackage.xsd
index 7499c325c3..67be9c8f32 100644
--- a/BaseTools/Conf/XMLSchema/DistributionPackage.xsd
+++ b/BaseTools/Conf/XMLSchema/DistributionPackage.xsd
@@ -166,7 +166,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
               Package.
             </xs:documentation= >
             <xs:documentation = xml:lang=3D"en-us">
-              Each Distribution P= ackage is uniquely identified by it's
+              Each Distribution P= ackage is uniquely identified by its
               GUID and Versi= on number.
             </xs:documentation= >
           </xs:annotation>
@@ -363,7 +363,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
         Modules.
       </xs:documentation>
       <xs:documentation xml:lang=3D"en-us">= ;
-        Each package is uniquely identified by i= t's GUID and Version number.
+        Each package is uniquely identified by i= ts GUID and Version number.
         Backward compatible releases of a p= ackage need only change the version number, while non-backward
         compatible changes require the GUID= to change (resetting the version number to 1.0 is optional.)
       </xs:documentation>
@@ -1168,7 +1168,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   <xs:element name=3D"ModuleSurfaceArea">
     <xs:annotation>
       <xs:documentation xml:lang=3D"en-us">= ;
-        Each module is uniquely identified by it= 's GUID and Version number.
+        Each module is uniquely identified by it= s GUID and Version number.
         Backward compatible releases of a m= odule need only change the version number, while non-backward
         compatible changes require the GUID= to change (resetting the version number to 1.0 is optional.)
       </xs:documentation>
@@ -3092,7 +3092,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
           <xs:documentation xml:lan= g=3D"en-us">
             The Patch PCD is a #d= efine that is set at build time, and that
             can be modified withi= n a binary file. Additional information, such as the offset location of the=
-            value, along with it's len= gth may need to be provided.
+            value, along with its leng= th may need to be provided.
           </xs:documentation>
         </xs:annotation>
       </xs:enumeration>
diff --git a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugin= s/edk2/model/doxygengen.py b/BaseTools/Scripts/PackageDocumentTools/plugins= /EdkPlugins/edk2/model/doxygengen.py
index d0274d6afd..89833043c6 100644
--- a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/= model/doxygengen.py
+++ b/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/= model/doxygengen.py
@@ -792,7 +792,7 @@ class PackageDocumentAction(DoxygenAction):
         Generate page for a module/library.=
         @param infObj     IN= F file object for module/library
         @param configFile doxygen config fi= le object
-        @param isLib      Whether= this module is libary
+        @param isLib      Whether= this module is library
 
         @param module doxygen page object
         """
diff --git a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugin= s/edk2/model/doxygengen_spec.py b/BaseTools/Scripts/PackageDocumentTools/pl= ugins/EdkPlugins/edk2/model/doxygengen_spec.py
index 3ba4eed55e..e37938c466 100644
--- a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/= model/doxygengen_spec.py
+++ b/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/edk2/= model/doxygengen_spec.py
@@ -793,7 +793,7 @@ class PackageDocumentAction(DoxygenAction):
         Generate page for a module/library.=
         @param infObj     IN= F file object for module/library
         @param configFile doxygen config fi= le object
-        @param isLib      Whether= this module is libary
+        @param isLib      Whether= this module is library
 
         @param module doxygen page object
         """
diff --git a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c b/BaseT= ools/Source/C/Common/FirmwareVolumeBuffer.c
index 6e1914be29..70741c8afc 100644
--- a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c
+++ b/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c
@@ -937,7 +937,7 @@ Arguments:
 
   Fv - Address of the Fv in memory
   Key - Should be 0 to get the first file.  After tha= t, it should be
-        passed back in without modifying it's co= ntents to retrieve
+        passed back in without modifying its con= tents to retrieve
         subsequent files.
   File - Output file pointer
     File =3D=3D NULL - invalid parameter
@@ -1323,7 +1323,7 @@ Arguments:
   SectionsStart - Address of the start of the FFS sections= array
   TotalSectionsSize - Total size of all the sections
   Key - Should be 0 to get the first section.  After = that, it should be
-        passed back in without modifying it's co= ntents to retrieve
+        passed back in without modifying its con= tents to retrieve
         subsequent files.
   Section - Output section pointer
     (Section =3D=3D NULL) -> invalid parameter
diff --git a/BaseTools/Source/C/Include/Common/BaseTypes.h b/BaseTool= s/Source/C/Include/Common/BaseTypes.h
index 9844d1d514..31d0662085 100644
--- a/BaseTools/Source/C/Include/Common/BaseTypes.h
+++ b/BaseTools/Source/C/Include/Common/BaseTypes.h
@@ -151,7 +151,7 @@ typedef struct {
 
 ///
 ///  _CR - returns a pointer to the structure
-///      from one of it's elements.
+///      from one of its elements.
 ///
 #define _CR(Record, TYPE, Field)  ((TYPE *) ((CHAR8 *) (Re= cord) - (CHAR8 *) &(((TYPE *) 0)->Field)))
 
diff --git a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py b/BaseTools= /Source/C/Makefiles/NmakeSubdirs.py
index 30a481613e..356f5aca63 100644
--- a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py
+++ b/BaseTools/Source/C/Makefiles/NmakeSubdirs.py
@@ -104,7 +104,7 @@ class ThreadControl(object):
         while len(self.running) > 0:
             time.sleep(0.1)
         if self.error:
-            print("subprocess not exit= sucessfully")
+            print("subprocess not exit= successfully")
             print(self.errorMsg)<= /div>
 
     def startTask(self):
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c b/BaseTo= ols/Source/C/VfrCompile/Pccts/antlr/lex.c
index 357b8ace01..fddb46bbc3 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c
+++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c
@@ -298,7 +298,7 @@ genDefFile( )
  /* look in all lexcla= sses for the reg expr */
 
 /* MR10  Derek Pappas          &n= bsp;                     =                 */
-/* MR10     A #tokclass doesn't have associated regul= ar expressiones */
+/* MR10     A #tokclass doesn't have associated regul= ar expressions */
 /* MR10        so don't warn user about it'= s omission                */
 
                   =  p =3D (TermEntry *) hash_get(Tname, TokenString(i));
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/err.h b/BaseTools/= Source/C/VfrCompile/Pccts/h/err.h
index b2b196bd75..435d48356d 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/h/err.h
+++ b/BaseTools/Source/C/VfrCompile/Pccts/h/err.h
@@ -649,7 +649,7 @@ _inf_zzgettok()
 /* allocate default size text,token and line arrays;
  * then, read all of the input reallocing the arrays as needed.=
  * Once the number of total tokens is known, the LATEXT(i) arra= y (zzinf_text)
- * is allocated and it's pointers are set to the tokens in zzinf_tex= t_buffer.
+ * is allocated and its pointers are set to the tokens in zzinf_text= _buffer.
  */
 void
 #ifdef __USE_PROTOS
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/S= ource/Python/AutoGen/AutoGen.py
index e8e09dc8a3..a2077c5516 100644
--- a/BaseTools/Source/Python/AutoGen/AutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/AutoGen.py
@@ -3030,7 +3030,7 @@ class ModuleAutoGen(AutoGen):
                 IncPath= List =3D [NormPath(Path, self.Macros) for Path in BuildOptIncludeRegEx.find= all(FlagOption)]
             else:
                 #
-                # RVCT may s= pecify a list of directory seperated by commas
+                # RVCT may s= pecify a list of directory separated by commas
                 #
                 IncPath= List =3D []
                 for Pat= h in BuildOptIncludeRegEx.findall(FlagOption):
@@ -3994,7 +3994,7 @@ class ModuleAutoGen(AutoGen):
     #
     @cached_class_function
     def CreateMakeFile(self, CreateLibraryMakeFile=3D= True, GenFfsList =3D []):
-        # nest this function inside it's only ca= ller.
+        # nest this function inside its only cal= ler.
         def CreateTimeStamp():
             FileSet =3D {self.Met= aFile.Path}
 
diff --git a/BaseTools/Source/Python/BPDG/GenVpd.py b/BaseTools/Sourc= e/Python/BPDG/GenVpd.py
index 887a0c4a1f..049c082f40 100644
--- a/BaseTools/Source/Python/BPDG/GenVpd.py
+++ b/BaseTools/Source/Python/BPDG/GenVpd.py
@@ -312,7 +312,7 @@ class GenVPD :
 
     ##
     # Parser the input file which is generated by the= build tool. Convert the value of each pcd's
-    # from string to it's real format. Also remove the use= less line in the input file.
+    # from string to its real format. Also remove the usel= ess line in the input file.
     #
     def ParserInputFile (self):
         count =3D 0
@@ -483,7 +483,7 @@ class GenVPD :
         self.PcdFixedOffsetSizeList.sort(ke= y=3Dlambda x: x.PcdBinOffset)
 
         #
-        # Sort the un-fixed pcd's offset by it's= size.
+        # Sort the un-fixed pcd's offset by its = size.
         #
         self.PcdUnknownOffsetList.sort(key= =3Dlambda x: x.PcdBinSize)
 
@@ -605,7 +605,7 @@ class GenVPD :
             # Usually it will not= enter into this thunk, if so, means it overlapped.
             else :
                 EdkLogg= er.error("BPDG", BuildToolError.ATTRIBUTE_NOT_AVAILABLE,
-                   = ;             "The offset value definition ha= s overlapped at pcd: %s, it's offset is: %s, in file: %s line: %s" % \
+                   = ;             "The offset value definition ha= s overlapped at pcd: %s, its offset is: %s, in file: %s line: %s" % \
                   =              (eachFixedPcd.PcdCName, ea= chFixedPcd.PcdOffset, eachFixedPcd.InputFileName, eachFixedPcd.Lineno),
                   =              None)
                 FixOffs= etSizeListCount +=3D 1
diff --git a/BaseTools/Source/Python/Common/ToolDefClassObject.py b/B= aseTools/Source/Python/Common/ToolDefClassObject.py
index 5d692ea13c..4fa364942c 100644
--- a/BaseTools/Source/Python/Common/ToolDefClassObject.py
+++ b/BaseTools/Source/Python/Common/ToolDefClassObject.py
@@ -105,7 +105,7 @@ class ToolDefClassObject(object):
 
     ## IncludeToolDefFile
     #
-    # Load target.txt file and parse it as if it's content= s were inside the main file
+    # Load target.txt file and parse it as if its contents= were inside the main file
     #
     # @param Filename:  Input value for full pat= h of tools_def.txt
     #
diff --git a/BaseTools/Source/Python/UPT/Library/DataType.py b/BaseTo= ols/Source/Python/UPT/Library/DataType.py
index 88559bcc43..bd216786a5 100644
--- a/BaseTools/Source/Python/UPT/Library/DataType.py
+++ b/BaseTools/Source/Python/UPT/Library/DataType.py
@@ -210,7 +210,7 @@ ARCH_LIST =3D ["IA32",
 ##
 # PCD driver type list items
 #
-PCD_DIRVER_TYPE_LIST =3D ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"]
+PCD_DRIVER_TYPE_LIST =3D ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"]
 
 ##
 # Boot Mode List Items
diff --git a/BaseTools/Source/Python/UPT/Library/StringUtils.py b/Bas= eTools/Source/Python/UPT/Library/StringUtils.py
index e43924fa6c..fbc5177caf 100644
--- a/BaseTools/Source/Python/UPT/Library/StringUtils.py
+++ b/BaseTools/Source/Python/UPT/Library/StringUtils.py
@@ -863,7 +863,7 @@ def ConvertNOTEQToNE(Expr):
 ## SplitPcdEntry
 #
 # Split an PCD entry string to Token.CName and PCD value and FF= E.
-# NOTE: PCD Value and FFE can contain "|" in it's expression. And in= INF specification, have below rule.
+# NOTE: PCD Value and FFE can contain "|" in its expression. And in = INF specification, have below rule.
 # When using the characters "|" or "||" in an expression, the e= xpression must be encapsulated in
 # open "(" and close ")" parenthesis.
 #
diff --git a/BaseTools/Source/Python/UPT/Logger/StringTable.py b/Base= Tools/Source/Python/UPT/Logger/StringTable.py
index 7782d26238..13c015844e 100644
--- a/BaseTools/Source/Python/UPT/Logger/StringTable.py
+++ b/BaseTools/Source/Python/UPT/Logger/StringTable.py
@@ -251,7 +251,7 @@ ERR_ASBUILD_PCD_SECTION_TYPE =3D _("The AsBuilt I= NF file contains a PCD section ty
 ERR_ASBUILD_PATCHPCD_FORMAT_INVALID =3D _("The AsBuilt PatchPcd= entry must contain 3 elements: PcdName|Value|Offset")
 ERR_ASBUILD_PCDEX_FORMAT_INVALID =3D _("The AsBuilt PcdEx entry= must contain one element: PcdName")
 ERR_ASBUILD_PCD_VALUE_INVALID =3D \
-    _("The AsBuilt PCD value %s is incorrect or not align = with it's datum type %s. "
+    _("The AsBuilt PCD value %s is incorrect or not align = with its datum type %s. "
       "It must be corrected before continuing.")=
 ERR_ASBUILD_PCD_TOKENSPACE_GUID_VALUE_MISS =3D _("Package file = value could not be retrieved for %s.")
 ERR_ASBUILD_PCD_DECLARITION_MISS =3D _("PCD Declaration in DEC = files could not be found for: %s.")
diff --git a/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOption= Object.py b/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.= py
index 3383dc4b0f..fdba5db983 100644
--- a/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.= py
+++ b/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.= py
@@ -49,7 +49,7 @@ class InfBuildOptionsObject(InfSectionCommonDef):
         InfSectionCommonDef.__init__(self)<= /div>
     ## SetBuildOptions function
     #
-    # For BuildOptionName, need to validate it's format
+    # For BuildOptionName, need to validate its format
     # For BuildOptionValue, just ignore it.
     #
     # @param  Arch        &n= bsp; Indicated which arch of build options belong to.
-- 
2.20.1 (Apple Git-117)
 
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#43220) | | Mu= te This Topic | New Topic

Your Subscripti= on | Contact Group Owner | Unsubscribe [importer@patchew.org]

_._,_._,_
--fQo3YEzNUlXghzZe3gWC--