From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=212.227.15.19; helo=mout.gmx.net; envelope-from=coeur@gmx.fr; receiver=edk2-devel@lists.01.org Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E065C211CAC89 for ; Wed, 6 Feb 2019 07:50:11 -0800 (PST) Received: from [47.52.140.127] ([47.52.140.127]) by web-mail.gmx.net (3c-app-gmx-bs19.server.lan [172.19.170.71]) (via HTTP); Wed, 6 Feb 2019 16:50:09 +0100 MIME-Version: 1.0 Message-ID: From: "Antoine Coeur" To: edk2-devel@lists.01.org Date: Wed, 6 Feb 2019 16:50:09 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:CiQR9XlR9SGvbkYXkh/ehMPeRNFM0muNIiAdC4EoIxV6JaELBw+JXwAJanzG9uWR4XGvm 3qgE7U1ZzWazMLnklG5Cg18Ninzn9ec20izLfY8fzQy7PDHYFriin9mvIaptPt79+81Xtcwk9jqB mO61BZMIVrQONLthDfAASLujFMGWRtX04XwT+fykjNzctlsTx3Sd8nRbSn+MuXKiK+5Q+ToTDkze ctRcd9oSYVobqVJ8ZJFvmeDaHfyYMAUO0YJdoP7VcOu5ST7N4PzFJKXGJb/mKN5aqAyIdwZ2jlHp TU= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:PsOSC2eg6aE=:FH/3RMJHg/gdiZWFGZN+En iJfdftYQlk8kiUFnx7cuyY3Gz2mqtrifmLtZQvNkO7DtH4JV3ZbkDx83lFlzYSL+DIgpqplR7 Ass0iEOaNfa18RqvaK69rATnC0s40OlcSA/MmRjhcEgWXZeSEd+0pZSjLz+2fBw8gUOty/U8r Uoa6c1gvI6jBy9YxIA0ThCrBLPlrR/YrVaWtUMasB2o2jeBcM9lJRWOr7leaBlvKBWwEKB4f0 qZdO6wGnUmgWL+ZopQjvgiXDzqOZU1aeiW1N3Czc84CEnpHcaWKVwenRaizdcfFIom7f+MonY LNF6vLce4FvD087tEZiPTBXxmslifoGR+DCDMdwmYNl/kFts5mCImVq/WBTvSYpTz3OjjF/86 Ddb9+w/4lot5862Rd8IAXSv6tI1cfavfOYsE0zU+bDtAFg0WccIDhZUZANHkYHCgHs5kyVToF H0/wlNpSEz/R9GWuBH2uG+qBAdEQREFbfk64eBO4jSXx4Q+9ZuaGv4ZigRBePK6rJ+0URwjli vr/cd0PJUYSrKLlekwjK4+VNtciq9HZt94Q9prqRjvVOjNS5I4YQ05Jw0EBAYqCqg== Subject: [PATCH v2] BaseTools: Fix various typos X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:50:13 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Fix various typos in BaseTools=2E Contributed-under: TianoCore Contribution Agreement 1=2E1 Signed-off-by: Coeur --- =2E=2E=2E/Bin/CYGWIN_NT-5=2E1-i686/armcc_wrapper=2Epy | 2 +- =2E=2E=2E/Conf/XMLSchema/DistributionPackage=2Exsd | 16 +++--- BaseTools/Conf/build_rule=2Etemplate | 4 +- BaseTools/Conf/target=2Etemplate | 2 +- BaseTools/Conf/tools_def=2Etemplate | 8 +-- BaseTools/ReadMe=2Etxt | 2 +- BaseTools/Scripts/UpdateBuildVersions=2Epy | 4 +- BaseTools/Source/C/Common/BasePeCoff=2Ec | 6 +-- BaseTools/Source/C/Common/CommonLib=2Ec | 4 +- BaseTools/Source/C/Common/Crc32=2Ec | 4 +- BaseTools/Source/C/Common/Crc32=2Eh | 4 +- BaseTools/Source/C/Common/Decompress=2Ec | 6 +-- BaseTools/Source/C/Common/Decompress=2Eh | 4 +- BaseTools/Source/C/Common/EfiCompress=2Ec | 6 +-- BaseTools/Source/C/Common/EfiUtilityMsgs=2Ec | 8 +-- BaseTools/Source/C/Common/FvLib=2Ec | 4 +- BaseTools/Source/C/Common/OsPath=2Ec | 2 +- BaseTools/Source/C/Common/OsPath=2Eh | 2 +- =2E=2E=2E/Source/C/Common/ParseGuidedSectionTools=2Ec | 2 +- BaseTools/Source/C/Common/ParseInf=2Ec | 14 ++--- BaseTools/Source/C/Common/ParseInf=2Eh | 2 +- BaseTools/Source/C/Common/PcdValueCommon=2Ec | 2 +- BaseTools/Source/C/Common/PeCoffLib=2Eh | 10 ++-- BaseTools/Source/C/Common/PeCoffLoaderEx=2Ec | 12 ++--- BaseTools/Source/C/Common/SimpleFileParsing=2Ec | 4 +- BaseTools/Source/C/Common/StringFuncs=2Eh | 2 +- BaseTools/Source/C/Common/TianoCompress=2Ec | 4 +- BaseTools/Source/C/Common/WinNtInclude=2Eh | 2 +- BaseTools/Source/C/DevicePath/DevicePath=2Ec | 2 +- =2E=2E=2E/Source/C/DevicePath/DevicePathUtilities=2Ec | 2 +- =2E=2E=2E/Source/C/DevicePath/UefiDevicePathLib=2Ec | 2 +- BaseTools/Source/C/EfiRom/EfiRom=2Ec | 2 +- BaseTools/Source/C/GenCrc32/GenCrc32=2Ec | 2 +- BaseTools/Source/C/GenFv/GenFvInternalLib=2Ec | 28 +++++----- BaseTools/Source/C/GenFv/GenFvInternalLib=2Eh | 2 +- BaseTools/Source/C/GenFw/Elf32Convert=2Ec | 10 ++-- BaseTools/Source/C/GenFw/Elf64Convert=2Ec | 8 +-- BaseTools/Source/C/GenFw/ElfConvert=2Eh | 2 +- BaseTools/Source/C/GenFw/GenFw=2Ec | 26 +++++----- BaseTools/Source/C/GenSec/GenSec=2Ec | 26 +++++----- =2E=2E=2E/Source/C/Include/AArch64/ProcessorBind=2Eh | 2 +- =2E=2E=2E/Source/C/Include/Arm/ProcessorBind=2Eh | 2 +- BaseTools/Source/C/Include/Common/BaseTypes=2Eh | 2 +- =2E=2E=2E/Source/C/Include/Common/MdeModuleHii=2Eh | 6 +-- =2E=2E=2E/C/Include/Common/PiFirmwareVolume=2Eh | 2 +- =2E=2E=2E/Source/C/Include/Common/UefiMultiPhase=2Eh | 2 +- =2E=2E=2E/Source/C/Include/Ia32/ProcessorBind=2Eh | 4 +- =2E=2E=2E/C/Include/IndustryStandard/Acpi2_0=2Eh | 2 +- =2E=2E=2E/C/Include/IndustryStandard/Acpi3_0=2Eh | 2 +- =2E=2E=2E/Source/C/Include/IndustryStandard/pci22=2Eh | 4 +- =2E=2E=2E/C/Include/Protocol/DevicePathUtilities=2Eh | 2 +- =2E=2E=2E/C/Include/Protocol/GraphicsOutput=2Eh | 4 +- =2E=2E=2E/Protocol/GuidedSectionExtraction=2Eh | 2 +- BaseTools/Source/C/Include/Protocol/UgaDraw=2Eh | 4 +- =2E=2E=2E/Source/C/Include/X64/ProcessorBind=2Eh | 8 +-- =2E=2E=2E/Source/C/LzmaCompress/Sdk/C/LzmaEnc=2Eh | 2 +- =2E=2E=2E/C/LzmaCompress/Sdk/DOC/lzma-history=2Etxt | 2 +- =2E=2E=2E/C/LzmaCompress/Sdk/DOC/lzma-sdk=2Etxt | 2 +- BaseTools/Source/C/Split/Split=2Ec | 4 +- =2E=2E=2E/Source/C/TianoCompress/TianoCompress=2Ec | 10 ++-- =2E=2E=2E/C/VfrCompile/Pccts/CHANGES_FROM_133=2Etxt | 24 ++++----- =2E=2E=2E/Pccts/CHANGES_FROM_133_BEFORE_MR13=2Etxt | 30 +++++------ =2E=2E=2E/C/VfrCompile/Pccts/CHANGES_SUMMARY=2Etxt | 8 +-- =2E=2E=2E/C/VfrCompile/Pccts/KNOWN_PROBLEMS=2Etxt | 4 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/antlr=2Ec | 4 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/antlr=2Eg | 4 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/antlr=2Er | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/egman=2Ec | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/fset=2Ec | 8 +-- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/fset2=2Ec | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/gen=2Ec | 10 ++-- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/generic=2Eh | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/lex=2Ec | 4 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/antlr/mrhoist=2Ec | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/dlg/automata=2Ec | 6 +-- BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Eh | 4 +- BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Er | 51 +++++++++---------- =2E=2E=2E/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Ec | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Eg | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/dlg/relabel=2Ec | 2 +- =2E=2E=2E/Source/C/VfrCompile/Pccts/h/ATokPtrImpl=2Eh | 2 +- =2E=2E=2E/C/VfrCompile/Pccts/h/DLG_stream_input=2Eh | 6 +-- BaseTools/Source/C/VfrCompile/Pccts/h/antlr=2Eh | 2 +- BaseTools/Source/C/VfrCompile/VfrCompiler=2Eh | 2 +- BaseTools/Source/C/VfrCompile/VfrError=2Ecpp | 2 +- BaseTools/Source/C/VfrCompile/VfrFormPkg=2Ecpp | 4 +- BaseTools/Source/C/VfrCompile/VfrSyntax=2Eg | 8 +-- =2E=2E=2E/Source/C/VfrCompile/VfrUtilityLib=2Ecpp | 6 +-- BaseTools/Source/Python/AutoGen/AutoGen=2Epy | 38 +++++++------- =2E=2E=2E/Source/Python/AutoGen/BuildEngine=2Epy | 12 ++--- BaseTools/Source/Python/AutoGen/GenMake=2Epy | 4 +- BaseTools/Source/Python/AutoGen/GenPcdDb=2Epy | 6 +-- =2E=2E=2E/Source/Python/AutoGen/InfSectionParser=2Epy | 10 ++-- =2E=2E=2E/Source/Python/AutoGen/UniClassObject=2Epy | 4 +- =2E=2E=2E/Source/Python/Common/BuildToolError=2Epy | 2 +- BaseTools/Source/Python/Common/EdkLogger=2Epy | 6 +-- BaseTools/Source/Python/Common/Misc=2Epy | 20 ++++---- =2E=2E=2E/Source/Python/Common/MultipleWorkspace=2Epy | 4 +- BaseTools/Source/Python/Common/Parsing=2Epy | 6 +-- =2E=2E=2E/Source/Python/Common/RangeExpression=2Epy | 4 +- BaseTools/Source/Python/Common/StringUtils=2Epy | 14 ++--- =2E=2E=2E/Python/CommonDataClass/CommonClass=2Epy | 2 +- =2E=2E=2E/Python/CommonDataClass/DataClass=2Epy | 4 +- BaseTools/Source/Python/Ecc/C=2Eg | 8 +-- =2E=2E=2E/Source/Python/Ecc/CParser3/CLexer=2Epy | 2 +- =2E=2E=2E/Source/Python/Ecc/CParser3/CParser=2Epy | 2 +- BaseTools/Source/Python/Ecc/Check=2Epy | 14 ++--- BaseTools/Source/Python/Ecc/Database=2Epy | 8 +-- BaseTools/Source/Python/Ecc/EccMain=2Epy | 4 +- BaseTools/Source/Python/Ecc/EccToolError=2Epy | 4 +- BaseTools/Source/Python/Ecc/MetaDataParser=2Epy | 2 +- BaseTools/Source/Python/Ecc/c=2Epy | 8 +-- =2E=2E=2E/Source/Python/Eot/CParser3/CLexer=2Epy | 2 +- =2E=2E=2E/Source/Python/Eot/CParser3/CParser=2Epy | 2 +- =2E=2E=2E/Python/Eot/CodeFragmentCollector=2Epy | 6 +-- BaseTools/Source/Python/Eot/Database=2Epy | 6 +-- BaseTools/Source/Python/Eot/EotGlobalData=2Epy | 2 +- BaseTools/Source/Python/Eot/EotMain=2Epy | 2 +- BaseTools/Source/Python/Eot/InfParserLite=2Epy | 4 +- BaseTools/Source/Python/Eot/Parser=2Epy | 4 +- BaseTools/Source/Python/Eot/Report=2Epy | 2 +- BaseTools/Source/Python/GenFds/FdfParser=2Epy | 30 +++++------ =2E=2E=2E/Source/Python/GenFds/FfsInfStatement=2Epy | 4 +- BaseTools/Source/Python/GenFds/Fv=2Epy | 2 +- =2E=2E=2E/Rsa2048Sha256Sign/Rsa2048Sha256Sign=2Epy | 2 +- BaseTools/Source/Python/Table/Table=2Epy | 2 +- =2E=2E=2E/Source/Python/Table/TableFunction=2Epy | 4 +- BaseTools/Source/Python/Table/TableQuery=2Epy | 2 +- =2E=2E=2E/Source/Python/TargetTool/TargetTool=2Epy | 4 +- BaseTools/Source/Python/Trim/Trim=2Epy | 2 +- =2E=2E=2E/Source/Python/UPT/Core/DependencyRules=2Epy | 2 +- BaseTools/Source/Python/UPT/Core/IpiDb=2Epy | 16 +++--- =2E=2E=2E/Python/UPT/GenMetaFile/GenDecFile=2Epy | 4 +- =2E=2E=2E/Python/UPT/GenMetaFile/GenInfFile=2Epy | 4 +- BaseTools/Source/Python/UPT/InstallPkg=2Epy | 20 ++++---- =2E=2E=2E/Python/UPT/Library/CommentParsing=2Epy | 14 ++--- =2E=2E=2E/Source/Python/UPT/Library/DataType=2Epy | 2 +- =2E=2E=2E/Source/Python/UPT/Library/GlobalData=2Epy | 2 +- BaseTools/Source/Python/UPT/Library/Misc=2Epy | 8 +-- =2E=2E=2E/Python/UPT/Library/ParserValidate=2Epy | 14 ++--- =2E=2E=2E/Source/Python/UPT/Library/Parsing=2Epy | 2 +- =2E=2E=2E/Source/Python/UPT/Library/StringUtils=2Epy | 12 ++--- =2E=2E=2E/Python/UPT/Library/UniClassObject=2Epy | 20 ++++---- BaseTools/Source/Python/UPT/Logger/Log=2Epy | 6 +-- =2E=2E=2E/Source/Python/UPT/Logger/StringTable=2Epy | 12 ++--- =2E=2E=2E/Source/Python/UPT/Logger/ToolError=2Epy | 2 +- BaseTools/Source/Python/UPT/MkPkg=2Epy | 2 +- =2E=2E=2E/Python/UPT/Object/Parser/DecObject=2Epy | 4 +- =2E=2E=2E/Source/Python/UPT/Parser/DecParser=2Epy | 4 +- =2E=2E=2E/Python/UPT/Parser/InfAsBuiltProcess=2Epy | 4 +- =2E=2E=2E/Python/UPT/PomAdapter/DecPomAlignment=2Epy | 4 +- =2E=2E=2E/Python/UPT/PomAdapter/InfPomAlignment=2Epy | 2 +- =2E=2E=2E/UPT/PomAdapter/InfPomAlignmentMisc=2Epy | 4 +- BaseTools/Source/Python/UPT/RmPkg=2Epy | 4 +- =2E=2E=2E/Python/UPT/UnitTest/DecParserUnitTest=2Epy | 6 +-- =2E=2E=2E/Python/Workspace/BuildClassObject=2Epy | 2 +- =2E=2E=2E/Source/Python/Workspace/DecBuildData=2Epy | 8 +-- =2E=2E=2E/Source/Python/Workspace/DscBuildData=2Epy | 2 +- =2E=2E=2E/Source/Python/Workspace/InfBuildData=2Epy | 4 +- =2E=2E=2E/Source/Python/Workspace/MetaFileParser=2Epy | 2 +- =2E=2E=2E/Python/Workspace/WorkspaceCommon=2Epy | 2 +- =2E=2E=2E/Python/Workspace/WorkspaceDatabase=2Epy | 8 +-- BaseTools/Source/Python/build/build=2Epy | 8 +-- BaseTools/Tests/TianoCompress=2Epy | 2 +- =2E=2E=2E/UserManuals/GenFds_Utility_Man_Page=2Ertf | 6 +-- =2E=2E=2E/UserManuals/GenFw_Utility_Man_Page=2Ertf | 2 +- BaseTools/building-gcc=2Etxt | 4 +- BaseTools/gcc/mingw-gcc-build=2Epy | 2 +- BaseTools/toolsetup=2Ebat | 2 +- BuildNotes2=2Etxt | 2 +- Contributions=2Etxt | 2 +- edksetup=2Ebat | 2 +- 172 files changed, 513 insertions(+), 518 deletions(-) diff --git a/BaseTools/Bin/CYGWIN_NT-5=2E1-i686/armcc_wrapper=2Epy b/BaseT= ools/Bin/CYGWIN_NT-5=2E1-i686/armcc_wrapper=2Epy index 66b9e9dc8c=2E=2Eca373d40ab 100755 --- a/BaseTools/Bin/CYGWIN_NT-5=2E1-i686/armcc_wrapper=2Epy +++ b/BaseTools/Bin/CYGWIN_NT-5=2E1-i686/armcc_wrapper=2Epy @@ -18,7 +18,7 @@ # # armcc_wrapper=2Epy ToolToExec [command line to convert] # -# anthing with the / will be converted via cygpath cygwin call or manuall= y=2E +# anything with the / will be converted via cygpath cygwin call or manual= ly=2E # -I/cygpath/c/example is a special case as you can not pass -I to cygpat= h # # ExceptionList if a tool takes an argument with a / add it to the except= ion list diff --git a/BaseTools/Conf/XMLSchema/DistributionPackage=2Exsd b/BaseTool= s/Conf/XMLSchema/DistributionPackage=2Exsd index 6e31d2def1=2E=2E72e3936e31 100644 --- a/BaseTools/Conf/XMLSchema/DistributionPackage=2Exsd +++ b/BaseTools/Conf/XMLSchema/DistributionPackage=2Exsd @@ -145,7 +145,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EIT= HER EXPRESS OR IMPLIED=2E The UserExtensions section is used to disseminate processin= g instructions that may be custom to the content provided by = the distribution=2E This section - contains information that is common to all aspects of this = disribution=2E + contains information that is common to all aspects of this = distribution=2E @@ -328,7 +328,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EIT= HER EXPRESS OR IMPLIED=2E important to reflect the present state of the matter - #2 Added definition/enumeration of UNDEFIND type 2 is + #2 Added definition/enumeration of UNDEFINED type 2 is important since there is a large body of legacy code for wh= ich the GUID=E2=80=9A=C3=84=C3=B4s and other code/data objects were not decorated with their usage=2E Th= is document will allow for importing today=E2=80=9A=C3=84=C3=B4s source artifacts and = producing decorations using the =E2=80=9A=C3=84=C3=B2Undefined=E2=80=9A=C3= =84=C3=B4 versus @@ -696,7 +696,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EIT= HER EXPRESS OR IMPLIED=2E - + =20 @@ -962,8 +962,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EIT= HER EXPRESS OR IMPLIED=2E The PCD must be within a - specifed range of numeric values=2E Res= tricted to C style - Relational, Equality and Logicial Opera= tors and parenthesis + specified range of numeric values=2E Re= stricted to C style + Relational, Equality and Logical Operat= ors and parenthesis are valid=2E Only the CName for this PC= D is permitted in the ValidValueRange expression=2E All other= values must be numeric=2E @@ -1006,7 +1006,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, E= ITHER EXPRESS OR IMPLIED=2E This string should be defined by specifications=2E There are pr= e-defined error - number ranges in the UEFI/PI specificaito= n=2E + number ranges in the UEFI/PI specificatio= n=2E @@ -1452,7 +1452,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, E= ITHER EXPRESS OR IMPLIED=2E The module will change the - boot mode on some exection paths=2E + boot mode on some execution paths=2E @@ -2835,7 +2835,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, E= ITHER EXPRESS OR IMPLIED=2E - + =20 diff --git a/BaseTools/Conf/build_rule=2Etemplate b/BaseTools/Conf/build_r= ule=2Etemplate index 2a53d7ed63=2E=2E760bfae812 100755 --- a/BaseTools/Conf/build_rule=2Etemplate +++ b/BaseTools/Conf/build_rule=2Etemplate @@ -63,7 +63,7 @@ # $(FV_DIR) Directory to store flash image files # $(INC) Search path of current module # $(NASM_INC) Search nasm file path of current module -# $(INC_LIST) A file containing search pathes of current module +# $(INC_LIST) A file containing search paths of current module # $(LIBS) Static library files of current module # $(_FLAGS) Tools flags of current module # $(MODULE_NAME) Current module name @@ -379,7 +379,7 @@ $(OBJCOPY) --strip-unneeded -R =2Eeh_frame ${src} =20 # - #The below 2 lines are only needed for UNIXGCC tool chain, which = genereates PE image directly + #The below 2 lines are only needed for UNIXGCC tool chain, which = generates PE image directly # -$(OBJCOPY) $(OBJCOPY_ADDDEBUGFLAG) ${src} -$(CP) $(DEBUG_DIR)(+)$(MODULE_NAME)=2Edebug $(BIN_DIR)(+)$(MODUL= E_NAME_GUID)=2Edebug diff --git a/BaseTools/Conf/target=2Etemplate b/BaseTools/Conf/target=2Ete= mplate index e5c31fe5a0=2E=2E155e6c40d2 100644 --- a/BaseTools/Conf/target=2Etemplate +++ b/BaseTools/Conf/target=2Etemplate @@ -37,7 +37,7 @@ TARGET =3D DEBUG # One, or more, of the foll= owing, IA32, IPF, X64, EBC, ARM # or AArch64=2E # Multiple values can be sp= ecified on a single line, using -# space charaters to separa= te the values=2E These are used +# space characters to separ= ate the values=2E These are used # during the parsing of a p= latform description file,=20 # restricting the build out= put target(s=2E) # The Build Target ARCH is = determined by (precedence high to low): diff --git a/BaseTools/Conf/tools_def=2Etemplate b/BaseTools/Conf/tools_de= f=2Etemplate index 2bd0982872=2E=2E1cec8deca2 100755 --- a/BaseTools/Conf/tools_def=2Etemplate +++ b/BaseTools/Conf/tools_def=2Etemplate @@ -138,7 +138,7 @@ DEFINE ICC_BIN64x86 =3D C:\Program Files (x86)\Int= el\Compiler\C++\DEF(ICC_VERS =20 =20 # Note: The Intel C++ Compiler 11=2E1 uses different installation path fr= om previous versions -# We use "ICC11" tag for ICC 11=2E1 while "ICC" tag is dedicated fo= r eariler versions +# We use "ICC11" tag for ICC 11=2E1 while "ICC" tag is dedicated fo= r earlier versions # DEFINE ICC11_VERSION =3D 11=2E1 DEFINE ICC11_BUILD =3D 072 @@ -6507,7 +6507,7 @@ RELEASE_RVCTCYGWIN_ARM_CC_FLAGS =3D "$(CCPATH_FLAG)= " $(ARCHCC_FLAGS) $(PLATFORM_F *_RVCTCYGWIN_ARM_FROMELF_PATH =3D ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_= NT-5=2E1-i686/armcc_wrapper=2Epy =20 ################# -# ASM 16 linker defintions +# ASM 16 linker definitions ################# *_*_*_ASMLINK_PATH =3D DEF(WINDDK_BIN16)\link16=2Eexe *_*_*_ASMLINK_FLAGS =3D /nologo /tiny @@ -6547,11 +6547,11 @@ RELEASE_RVCTCYGWIN_ARM_CC_FLAGS =3D "$(CCPATH_FLA= G)" $(ARCHCC_FLAGS) $(PLATFORM_F ################## # Rsa2048Sha256Sign tool definitions # -# Notes: This tool defintion uses a test signing key for development purp= oses only=2E +# Notes: This tool definition uses a test signing key for development pur= poses only=2E # The tool Rsa2048Sha256GenerateKeys can be used to generate a new= private/public key # and the gEfiSecurityPkgTokenSpaceGuid=2EPcdRsa2048Sha256PublicKe= yBuffer PCD value=2E # A custom tool/script can be implemented using the new private/pu= blic key with -# the Rsa2048Sha256Sign tool and this tool defintiion can be updat= ed to use a +# the Rsa2048Sha256Sign tool and this tool definition can be updat= ed to use a # custom tool/script=2E # # Generate new private/public key and gEfiSecurityPkgTokenSpaceGuid=2EP= cdRsa2048Sha256PublicKeyBuffer PCD value diff --git a/BaseTools/ReadMe=2Etxt b/BaseTools/ReadMe=2Etxt index 7d0486b95a=2E=2Eb81bd905fa 100644 --- a/BaseTools/ReadMe=2Etxt +++ b/BaseTools/ReadMe=2Etxt @@ -1,7 +1,7 @@ This directory contains the next generation of EDK II build tools and tem= plate files=2E Templates are located in the Conf directory, while the tools executables = for Microsoft Windows 32-bit Operating Systems are located in the Bin\Win32 d= irectory, other -directory contatins tools source=2E +directory contains tools source=2E =20 1=2E Build step to generate the binary tools=2E =20 diff --git a/BaseTools/Scripts/UpdateBuildVersions=2Epy b/BaseTools/Script= s/UpdateBuildVersions=2Epy index 269435bfa4=2E=2E5a583db6c0 100755 --- a/BaseTools/Scripts/UpdateBuildVersions=2Epy +++ b/BaseTools/Scripts/UpdateBuildVersions=2Epy @@ -4,7 +4,7 @@ # This script will modife the C/Include/Common/BuildVersion=2Eh file and = the two # Python scripts, Python/Common/BuildVersion=2Epy and Python/UPT/BuildVer= sion=2Epy=2E # If SVN is available, the tool will obtain the current checked out versi= on of -# the source tree for including the the --version commands=2E +# the source tree for including the --version commands=2E =20 # Copyright (c) 2014 - 2015, Intel Corporation=2E All rights reserved=2E=
# @@ -73,7 +73,7 @@ def ParseOptions(): =20 =20 def ShellCommandResults(CmdLine, Opt): - """ Execute the comand, returning the output content """ + """ Execute the command, returning the output content """ file_list =3D NamedTemporaryFile(delete=3DFalse) filename =3D file_list=2Ename Results =3D [] diff --git a/BaseTools/Source/C/Common/BasePeCoff=2Ec b/BaseTools/Source/C= /Common/BasePeCoff=2Ec index d5cefbd0b0=2E=2E9112d0131c 100644 --- a/BaseTools/Source/C/Common/BasePeCoff=2Ec +++ b/BaseTools/Source/C/Common/BasePeCoff=2Ec @@ -217,7 +217,7 @@ Returns: ImageContext->ImageType !=3D EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER= && \ ImageContext->ImageType !=3D EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER= ) { // - // upsupported PeImage subsystem type + // unsupported PeImage subsystem type // return RETURN_UNSUPPORTED; } @@ -483,7 +483,7 @@ Returns: // In Te image header there is not a field to describe the ImageSiz= e=2E // Actually, the ImageSize equals the RVA plus the VirtualSize of // the last section mapped into memory (Must be rounded up to - // a mulitple of Section Alignment)=2E Per the PE/COFF specificatio= n, the + // a multiple of Section Alignment)=2E Per the PE/COFF specificatio= n, the // section headers in the Section Table must appear in order of the= RVA // values for the corresponding sections=2E So the ImageSize can be= determined // by the RVA and the VirtualSize of the last section header in the @@ -1315,7 +1315,7 @@ PeCoffLoaderGetPdbPointer ( break; default: // - // For unknow Machine field, use Magic in optional Header + // For unknown Machine field, use Magic in optional Header // Magic =3D Hdr=2EPe32->OptionalHeader=2EMagic; } diff --git a/BaseTools/Source/C/Common/CommonLib=2Ec b/BaseTools/Source/C/= Common/CommonLib=2Ec index 5c40fdb5fd=2E=2E5179c701cc 100644 --- a/BaseTools/Source/C/Common/CommonLib=2Ec +++ b/BaseTools/Source/C/Common/CommonLib=2Ec @@ -2057,13 +2057,13 @@ IsHexStr ( ) { // - // skip preceeding white space + // skip preceding white space // while ((*Str !=3D 0) && *Str =3D=3D L' ') { Str ++; } // - // skip preceeding zeros + // skip preceding zeros // while ((*Str !=3D 0) && *Str =3D=3D L'0') { Str ++; diff --git a/BaseTools/Source/C/Common/Crc32=2Ec b/BaseTools/Source/C/Comm= on/Crc32=2Ec index dc15887124=2E=2Ecbd10e090c 100644 --- a/BaseTools/Source/C/Common/Crc32=2Ec +++ b/BaseTools/Source/C/Common/Crc32=2Ec @@ -1,5 +1,5 @@ /** @file -CalcuateCrc32 routine=2E +CalculateCrc32 routine=2E =20 Copyright (c) 2004 - 2018, Intel Corporation=2E All rights reserved=2E This program and the accompanying materials @@ -288,7 +288,7 @@ Routine Description: =20 Arguments: =20 - Data - The buffer contaning the data to be processed + Data - The buffer containing the data to be processed DataSize - The size of data to be processed CrcOut - A pointer to the caller allocated UINT32 that on contains the CRC32 checksum of Data diff --git a/BaseTools/Source/C/Common/Crc32=2Eh b/BaseTools/Source/C/Comm= on/Crc32=2Eh index 766f443908=2E=2E52072ee324 100644 --- a/BaseTools/Source/C/Common/Crc32=2Eh +++ b/BaseTools/Source/C/Common/Crc32=2Eh @@ -1,5 +1,5 @@ /** @file -Header file for CalcuateCrc32 routine +Header file for CalculateCrc32 routine =20 Copyright (c) 2004 - 2018, Intel Corporation=2E All rights reserved=2E This program and the accompanying materials @@ -31,7 +31,7 @@ Routine Description: =20 Arguments: =20 - Data - The buffer contaning the data to be processed + Data - The buffer containing the data to be processed DataSize - The size of data to be processed CrcOut - A pointer to the caller allocated UINT32 that on contains the CRC32 checksum of Data diff --git a/BaseTools/Source/C/Common/Decompress=2Ec b/BaseTools/Source/C= /Common/Decompress=2Ec index 33e0f0d160=2E=2E0e9ba0a982 100644 --- a/BaseTools/Source/C/Common/Decompress=2Ec +++ b/BaseTools/Source/C/Common/Decompress=2Ec @@ -747,7 +747,7 @@ Arguments: =20 Returns: =20 - EFI_SUCCESS - Decompression is successfull + EFI_SUCCESS - Decompression is successful EFI_INVALID_PARAMETER - The source data is corrupted =20 --*/ @@ -902,7 +902,7 @@ Arguments: =20 Returns: =20 - EFI_SUCCESS - Decompression is successfull + EFI_SUCCESS - Decompression is successful EFI_INVALID_PARAMETER - The source data is corrupted =20 --*/ @@ -937,7 +937,7 @@ Arguments: =20 Returns: =20 - EFI_SUCCESS - Decompression is successfull + EFI_SUCCESS - Decompression is successful EFI_INVALID_PARAMETER - The source data is corrupted =20 --*/ diff --git a/BaseTools/Source/C/Common/Decompress=2Eh b/BaseTools/Source/C= /Common/Decompress=2Eh index 22ac1df1f9=2E=2Ea44e0ae76a 100644 --- a/BaseTools/Source/C/Common/Decompress=2Eh +++ b/BaseTools/Source/C/Common/Decompress=2Eh @@ -70,7 +70,7 @@ Arguments: =20 Returns: =20 - EFI_SUCCESS - Decompression is successfull + EFI_SUCCESS - Decompression is successful EFI_INVALID_PARAMETER - The source data is corrupted =20 **/ @@ -128,7 +128,7 @@ Arguments: =20 Returns: =20 - EFI_SUCCESS - Decompression is successfull + EFI_SUCCESS - Decompression is successful EFI_INVALID_PARAMETER - The source data is corrupted =20 **/ diff --git a/BaseTools/Source/C/Common/EfiCompress=2Ec b/BaseTools/Source/= C/Common/EfiCompress=2Ec index 33d4c5eec1=2E=2E0f6b286c7e 100644 --- a/BaseTools/Source/C/Common/EfiCompress=2Ec +++ b/BaseTools/Source/C/Common/EfiCompress=2Ec @@ -396,7 +396,7 @@ Routine Description: =20 Allocate memory spaces for data structures used in compression process =20 -Argements: (VOID) +Arguments: (VOID) =20 Returns: =20 @@ -652,7 +652,7 @@ Returns: (VOID) =20 // // We have just got a long match, the target tree - // can be located by MatchPos + 1=2E Travese the tree + // can be located by MatchPos + 1=2E Traverse the tree // from bottom up to get to a proper starting point=2E // The usage of PERC_FLAG ensures proper node deletion // in DeleteNode() later=2E @@ -1281,7 +1281,7 @@ Routine Description: =20 Outputs rightmost n bits of x =20 -Argments: +Arguments: =20 n - the rightmost n bits of the data is used x - the data diff --git a/BaseTools/Source/C/Common/EfiUtilityMsgs=2Ec b/BaseTools/Sour= ce/C/Common/EfiUtilityMsgs=2Ec index 44925c642b=2E=2Eb32afd38a6 100644 --- a/BaseTools/Source/C/Common/EfiUtilityMsgs=2Ec +++ b/BaseTools/Source/C/Common/EfiUtilityMsgs=2Ec @@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHE= R EXPRESS OR IMPLIED=2E #include "EfiUtilityMsgs=2Eh" =20 // -// Declare module globals for keeping track of the the utility's +// Declare module globals for keeping track of the utility's // name and other settings=2E // STATIC STATUS mStatus =3D STATUS_SUCCESS; @@ -61,7 +61,7 @@ Arguments: at least something valid is not specified=2E =20 FileName - name of the file or application=2E If not specified, then th= e - utilty name (as set by the utility calling SetUtilityName() + utility name (as set by the utility calling SetUtilityName() earlier) is used=2E Otherwise "Unknown utility" is used=2E =20 LineNumber - the line number of error, typically used by parsers=2E If = the @@ -384,7 +384,7 @@ Routine Description: Arguments: Type - "warning" or "error" string to insert into the message to= be printed=2E The first character of this string (converted = to uppercase) - is used to preceed the MessageCode value in the output st= ring=2E + is used to precede the MessageCode value in the output st= ring=2E =20 FileName - name of the file where the warning was detected, or the n= ame of the application that detected the warning @@ -597,7 +597,7 @@ Routine Description: =20 Arguments: UtilityName - name of the utility, which will be printed with all - error/warning/debug messags=2E + error/warning/debug messages=2E =20 Returns: NA diff --git a/BaseTools/Source/C/Common/FvLib=2Ec b/BaseTools/Source/C/Comm= on/FvLib=2Ec index b5ae45de09=2E=2Ed53a743178 100644 --- a/BaseTools/Source/C/Common/FvLib=2Ec +++ b/BaseTools/Source/C/Common/FvLib=2Ec @@ -318,7 +318,7 @@ Routine Description: Arguments: =20 FileType Type of file to search for=2E - Instance Instace of the file type to return=2E + Instance Instance of the file type to return=2E File Return pointer=2E In the case of an error, contents are un= defined=2E =20 Returns: @@ -505,7 +505,7 @@ Arguments: =20 File The file to search=2E SectionType Type of file to search for=2E - Instance Instace of the section to return=2E + Instance Instance of the section to return=2E Section Return pointer=2E In the case of an error, contents are un= defined=2E =20 Returns: diff --git a/BaseTools/Source/C/Common/OsPath=2Ec b/BaseTools/Source/C/Com= mon/OsPath=2Ec index b46516d292=2E=2Eb4504a39ef 100644 --- a/BaseTools/Source/C/Common/OsPath=2Ec +++ b/BaseTools/Source/C/Common/OsPath=2Ec @@ -228,7 +228,7 @@ Routine Description: Arguments: =20 OldPath Path name of replace the final segment - Peer The new path name to concatinate to become the peer path + Peer The new path name to concatenate to become the peer path =20 Returns: =20 diff --git a/BaseTools/Source/C/Common/OsPath=2Eh b/BaseTools/Source/C/Com= mon/OsPath=2Eh index d3d75ea5dc=2E=2E3b04cfecbe 100644 --- a/BaseTools/Source/C/Common/OsPath=2Eh +++ b/BaseTools/Source/C/Common/OsPath=2Eh @@ -104,7 +104,7 @@ Routine Description: Arguments: =20 OldPath Path name of replace the final segment - Peer The new path name to concatinate to become the peer path + Peer The new path name to concatenate to become the peer path =20 Returns: =20 diff --git a/BaseTools/Source/C/Common/ParseGuidedSectionTools=2Ec b/BaseT= ools/Source/C/Common/ParseGuidedSectionTools=2Ec index 5afe963841=2E=2E4cc3fcae96 100644 --- a/BaseTools/Source/C/Common/ParseGuidedSectionTools=2Ec +++ b/BaseTools/Source/C/Common/ParseGuidedSectionTools=2Ec @@ -36,7 +36,7 @@ typedef struct _GUID_SEC_TOOL_ENTRY { } GUID_SEC_TOOL_ENTRY; =20 // -// Functin Implementation +// Function Implementation // =20 EFI_HANDLE diff --git a/BaseTools/Source/C/Common/ParseInf=2Ec b/BaseTools/Source/C/C= ommon/ParseInf=2Ec index 4d10ff8b0c=2E=2E3907f44331 100644 --- a/BaseTools/Source/C/Common/ParseInf=2Ec +++ b/BaseTools/Source/C/Common/ParseInf=2Ec @@ -233,7 +233,7 @@ Returns: CHAR8 *Delimiter; BOOLEAN ParseError; BOOLEAN ReadError; - UINTN Occurrance; + UINTN Occurrence; =20 // // Check input parameters @@ -258,7 +258,7 @@ Returns: // // Initialize our instance counter for the search token // - Occurrance =3D 0; + Occurrence =3D 0; =20 if (FindSection (InputFile, Section)) { // @@ -307,7 +307,7 @@ Returns: // // Check if it is the correct instance // - if (Instance =3D=3D Occurrance) { + if (Instance =3D=3D Occurrence) { // // Copy the contents following the =3D // @@ -338,9 +338,9 @@ Returns: } } else { // - // Increment the occurrance found + // Increment the occurrence found // - Occurrance++; + Occurrence++; } } } while ( @@ -348,7 +348,7 @@ Returns: !ReadError && InputFile->CurrentFilePointer < InputFile->Eof && CurrentToken[0] !=3D '[' && - Occurrance <=3D Instance + Occurrence <=3D Instance ); } // @@ -478,7 +478,7 @@ AsciiStringToUint64 ( Routine Description: =20 Converts a null terminated ascii string that represents a number into a - UINT64 value=2E A hex number may be preceeded by a 0x, but may not be + UINT64 value=2E A hex number may be preceded by a 0x, but may not be succeeded by an h=2E A number without 0x or 0X is considered to be bas= e 10 unless the IsHex input is true=2E =20 diff --git a/BaseTools/Source/C/Common/ParseInf=2Eh b/BaseTools/Source/C/C= ommon/ParseInf=2Eh index 903ce71a04=2E=2Ea8fde749cd 100644 --- a/BaseTools/Source/C/Common/ParseInf=2Eh +++ b/BaseTools/Source/C/Common/ParseInf=2Eh @@ -153,7 +153,7 @@ AsciiStringToUint64 ( Routine Description: =20 Converts a null terminated ascii string that represents a number into a - UINT64 value=2E A hex number may be preceeded by a 0x, but may not be + UINT64 value=2E A hex number may be preceded by a 0x, but may not be succeeded by an h=2E A number without 0x or 0X is considered to be bas= e 10 unless the IsHex input is true=2E =20 diff --git a/BaseTools/Source/C/Common/PcdValueCommon=2Ec b/BaseTools/Sour= ce/C/Common/PcdValueCommon=2Ec index fa12869eda=2E=2Eb95a7a859f 100644 --- a/BaseTools/Source/C/Common/PcdValueCommon=2Ec +++ b/BaseTools/Source/C/Common/PcdValueCommon=2Ec @@ -715,7 +715,7 @@ Returns: } =20 // - // Check Input paramters + // Check Input parameters // if (*InputFileName =3D=3D NULL) { fprintf (stderr, "Missing option=2E Input files is not specified\n")= ; diff --git a/BaseTools/Source/C/Common/PeCoffLib=2Eh b/BaseTools/Source/C/= Common/PeCoffLib=2Eh index 80c8c33c76=2E=2Ec250471192 100644 --- a/BaseTools/Source/C/Common/PeCoffLib=2Eh +++ b/BaseTools/Source/C/Common/PeCoffLib=2Eh @@ -148,7 +148,7 @@ PeCoffLoaderGetEntryPoint ( // =20 /** - Pass in a pointer to an ARM MOVT or MOVW immediate instruciton and + Pass in a pointer to an ARM MOVT or MOVW immediate instruction and return the immediate data encoded in the instruction =20 @param Instruction Pointer to ARM MOVT or MOVW immediate instruction @@ -166,7 +166,7 @@ ThumbMovtImmediateAddress ( Update an ARM MOVT or MOVW immediate instruction immediate data=2E =20 @param Instruction Pointer to ARM MOVT or MOVW immediate instruction - @param Address New addres to patch into the instruction + @param Address New address to patch into the instruction =20 **/ VOID @@ -178,10 +178,10 @@ ThumbMovtImmediatePatch ( =20 =20 /** - Pass in a pointer to an ARM MOVW/MOVT instruciton pair and + Pass in a pointer to an ARM MOVW/MOVT instruction pair and return the immediate data encoded in the two` instruction =20 - @param Instructions Pointer to ARM MOVW/MOVT insturction pair + @param Instructions Pointer to ARM MOVW/MOVT instruction pair =20 @return Immediate address encoded in the instructions =20 @@ -196,7 +196,7 @@ ThumbMovwMovtImmediateAddress ( Update an ARM MOVW/MOVT immediate instruction instruction pair=2E =20 @param Instructions Pointer to ARM MOVW/MOVT instruction pair - @param Address New addres to patch into the instructions + @param Address New address to patch into the instructions **/ VOID EFIAPI diff --git a/BaseTools/Source/C/Common/PeCoffLoaderEx=2Ec b/BaseTools/Sour= ce/C/Common/PeCoffLoaderEx=2Ec index fa8c7e3d17=2E=2E43e66e7925 100644 --- a/BaseTools/Source/C/Common/PeCoffLoaderEx=2Ec +++ b/BaseTools/Source/C/Common/PeCoffLoaderEx=2Ec @@ -101,7 +101,7 @@ Returns: =20 =20 /** - Pass in a pointer to an ARM MOVT or MOVW immediate instruciton and + Pass in a pointer to an ARM MOVT or MOVW immediate instruction and return the immediate data encoded in the instruction =20 @param Instruction Pointer to ARM MOVT or MOVW immediate instruction @@ -137,7 +137,7 @@ ThumbMovtImmediateAddress ( Update an ARM MOVT or MOVW immediate instruction immediate data=2E =20 @param Instruction Pointer to ARM MOVT or MOVW immediate instruction - @param Address New addres to patch into the instruction + @param Address New address to patch into the instruction **/ VOID ThumbMovtImmediatePatch ( @@ -147,7 +147,7 @@ ThumbMovtImmediatePatch ( { UINT16 Patch; =20 - // First 16-bit chunk of instruciton + // First 16-bit chunk of instruction Patch =3D ((Address >> 12) & 0x000f); // imm4 Patch |=3D (((Address & BIT11) !=3D 0) ? BIT10 : 0); // i *Instruction =3D (*Instruction & ~0x040f) | Patch; @@ -160,10 +160,10 @@ ThumbMovtImmediatePatch ( } =20 /** - Pass in a pointer to an ARM MOVW/MOVT instruciton pair and + Pass in a pointer to an ARM MOVW/MOVT instruction pair and return the immediate data encoded in the two` instruction =20 - @param Instructions Pointer to ARM MOVW/MOVT insturction pair + @param Instructions Pointer to ARM MOVW/MOVT instruction pair =20 @return Immediate address encoded in the instructions =20 @@ -188,7 +188,7 @@ ThumbMovwMovtImmediateAddress ( Update an ARM MOVW/MOVT immediate instruction instruction pair=2E =20 @param Instructions Pointer to ARM MOVW/MOVT instruction pair - @param Address New addres to patch into the instructions + @param Address New address to patch into the instructions **/ VOID EFIAPI diff --git a/BaseTools/Source/C/Common/SimpleFileParsing=2Ec b/BaseTools/S= ource/C/Common/SimpleFileParsing=2Ec index e7da044244=2E=2E23ef9c8ceb 100644 --- a/BaseTools/Source/C/Common/SimpleFileParsing=2Ec +++ b/BaseTools/Source/C/Common/SimpleFileParsing=2Ec @@ -356,7 +356,7 @@ Returns: FALSE - otherwise =20 Notes: - Preceeding white space is ignored=2E + Preceding white space is ignored=2E The parser's buffer pointer is advanced past the end of the token=2E =20 @@ -636,7 +636,7 @@ Returns: // Make sure we didn't exceed our maximum nesting depth // if (NestDepth > MAX_NEST_DEPTH) { - Error (NULL, 0, 3001, "Not Supported", "%s exceeeds max nesting depth= (%u)", SourceFile->FileName, (unsigned) NestDepth); + Error (NULL, 0, 3001, "Not Supported", "%s exceeds max nesting depth = (%u)", SourceFile->FileName, (unsigned) NestDepth); Status =3D STATUS_ERROR; goto Finish; } diff --git a/BaseTools/Source/C/Common/StringFuncs=2Eh b/BaseTools/Source/= C/Common/StringFuncs=2Eh index 0675cb9f1d=2E=2Eeca967085e 100644 --- a/BaseTools/Source/C/Common/StringFuncs=2Eh +++ b/BaseTools/Source/C/Common/StringFuncs=2Eh @@ -70,7 +70,7 @@ Routine Description: =20 Arguments: =20 - Strin The string to 'strip' + String The string to 'strip' =20 Returns: =20 diff --git a/BaseTools/Source/C/Common/TianoCompress=2Ec b/BaseTools/Sourc= e/C/Common/TianoCompress=2Ec index 8b1ea7f761=2E=2E1f70b75174 100644 --- a/BaseTools/Source/C/Common/TianoCompress=2Ec +++ b/BaseTools/Source/C/Common/TianoCompress=2Ec @@ -404,7 +404,7 @@ Routine Description: =20 Allocate memory spaces for data structures used in compression process =20 -Argements: +Arguments: VOID =20 Returns: @@ -680,7 +680,7 @@ Returns: (VOID) if (mMatchLen >=3D 4) { // // We have just got a long match, the target tree - // can be located by MatchPos + 1=2E Travese the tree + // can be located by MatchPos + 1=2E Traverse the tree // from bottom up to get to a proper starting point=2E // The usage of PERC_FLAG ensures proper node deletion // in DeleteNode() later=2E diff --git a/BaseTools/Source/C/Common/WinNtInclude=2Eh b/BaseTools/Source= /C/Common/WinNtInclude=2Eh index 6b6af2e727=2E=2Ef66e03851d 100644 --- a/BaseTools/Source/C/Common/WinNtInclude=2Eh +++ b/BaseTools/Source/C/Common/WinNtInclude=2Eh @@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHE= R EXPRESS OR IMPLIED=2E =20 // // Win32 include files do not compile clean with /W4, so we use the warni= ng -// pragma to suppress the warnings for Win32 only=2E This way our code ca= n stil +// pragma to suppress the warnings for Win32 only=2E This way our code ca= n still // compile at /W4 (highest warning level) with /WX (warnings cause build // errors)=2E // diff --git a/BaseTools/Source/C/DevicePath/DevicePath=2Ec b/BaseTools/Sour= ce/C/DevicePath/DevicePath=2Ec index 356f5f7e24=2E=2E9583a3f3a4 100644 --- a/BaseTools/Source/C/DevicePath/DevicePath=2Ec +++ b/BaseTools/Source/C/DevicePath/DevicePath=2Ec @@ -178,7 +178,7 @@ int main(int argc, CHAR8 *argv[]) } Str16 =3D (CHAR16 *)malloc(1024); if (Str16 =3D=3D NULL) { - fprintf(stderr, "Resource, memory cannot be allcoated"); + fprintf(stderr, "Resource, memory cannot be allocated"); return STATUS_ERROR; } Ascii2UnicodeString(Str, Str16); diff --git a/BaseTools/Source/C/DevicePath/DevicePathUtilities=2Ec b/BaseT= ools/Source/C/DevicePath/DevicePathUtilities=2Ec index 3b3abc67ea=2E=2E59e08e960e 100644 --- a/BaseTools/Source/C/DevicePath/DevicePathUtilities=2Ec +++ b/BaseTools/Source/C/DevicePath/DevicePathUtilities=2Ec @@ -5,7 +5,7 @@ all over this file=2E =20 The only place where multi-instance device paths are supported is in - environment varibles=2E Multi-instance device paths should never be pla= ced + environment variables=2E Multi-instance device paths should never be pl= aced on a Handle=2E =20 Copyright (c) 2017, Intel Corporation=2E All rights reserved=2E
diff --git a/BaseTools/Source/C/DevicePath/UefiDevicePathLib=2Ec b/BaseToo= ls/Source/C/DevicePath/UefiDevicePathLib=2Ec index a2e0322e27=2E=2Ea500148a79 100644 --- a/BaseTools/Source/C/DevicePath/UefiDevicePathLib=2Ec +++ b/BaseTools/Source/C/DevicePath/UefiDevicePathLib=2Ec @@ -5,7 +5,7 @@ all over this file=2E =20 The only place where multi-instance device paths are supported is in - environment varibles=2E Multi-instance device paths should never be pla= ced + environment variables=2E Multi-instance device paths should never be pl= aced on a Handle=2E =20 Copyright (c) 2017, Intel Corporation=2E All rights reserved=2E
diff --git a/BaseTools/Source/C/EfiRom/EfiRom=2Ec b/BaseTools/Source/C/Efi= Rom/EfiRom=2Ec index cb4ecea2c4=2E=2E0c52eb7484 100644 --- a/BaseTools/Source/C/EfiRom/EfiRom=2Ec +++ b/BaseTools/Source/C/EfiRom/EfiRom=2Ec @@ -1432,7 +1432,7 @@ Returns: ImageCount =3D 0; for (;;) { // - // Save our postition in the file, since offsets in the headers + // Save our position in the file, since offsets in the headers // are relative to the particular image=2E // ImageStart =3D ftell (InFptr); diff --git a/BaseTools/Source/C/GenCrc32/GenCrc32=2Ec b/BaseTools/Source/C= /GenCrc32/GenCrc32=2Ec index 369f4affa9=2E=2Ed2e2cc1bf8 100644 --- a/BaseTools/Source/C/GenCrc32/GenCrc32=2Ec +++ b/BaseTools/Source/C/GenCrc32/GenCrc32=2Ec @@ -288,7 +288,7 @@ Returns: =20 FileBuffer =3D (UINT8 *) malloc (FileSize); if (FileBuffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated!"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated!"); fclose (InFile); goto Finish; } diff --git a/BaseTools/Source/C/GenFv/GenFvInternalLib=2Ec b/BaseTools/Sou= rce/C/GenFv/GenFvInternalLib=2Ec index 4d0339e1f9=2E=2E818c46407b 100644 --- a/BaseTools/Source/C/GenFv/GenFvInternalLib=2Ec +++ b/BaseTools/Source/C/GenFv/GenFvInternalLib=2Ec @@ -110,7 +110,7 @@ CHAR8 *mFvbAlignmentName[] =3D { // This data array will be located at the base of the Firmware Volume Hea= der (FVH) // in the boot block=2E It must not exceed 14 bytes of code=2E The last= 2 bytes // will be used to keep the FVH checksum consistent=2E -// This code will be run in response to a starutp IPI for HT-enabled syst= ems=2E +// This code will be run in response to a startup IPI for HT-enabled syst= ems=2E // #define SIZEOF_STARTUP_DATA_ARRAY 0x10 =20 @@ -465,7 +465,7 @@ Returns: case 0: // // 1 byte alignment - //if bit 1 have set, 128K byte alignmnet + //if bit 1 have set, 128K byte alignment // if (FfsFile->Attributes & FFS_ATTRIB_DATA_ALIGNMENT2) { *Alignment =3D 17; @@ -724,7 +724,7 @@ Returns: memcpy ((UINT8 *)PadFile + CurFfsHeaderSize, ExtHeader, ExtHeader->Ex= tHeaderSize); ((EFI_FIRMWARE_VOLUME_HEADER *) FvImage->FileImage)->ExtHeaderOffset = =3D (UINT16) ((UINTN) ((UINT8 *)PadFile + CurFfsHeaderSize) - (UINTN) FvIma= ge->FileImage); // - // Make next file start at QWord Boundry + // Make next file start at QWord Boundary // while (((UINTN) FvImage->CurrentFilePointer & (EFI_FFS_FILE_HEADER_AL= IGNMENT - 1)) !=3D 0) { FvImage->CurrentFilePointer++; @@ -1218,7 +1218,7 @@ Returns: FileBuffer =3D malloc (FileSize); if (FileBuffer =3D=3D NULL) { fclose (NewFile); - Error (NULL, 0, 4001, "Resouce", "memory cannot be allocated!"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated!"); return EFI_OUT_OF_RESOURCES; } =20 @@ -1387,7 +1387,7 @@ Returns: return EFI_ABORTED; } // - // Make next file start at QWord Boundry + // Make next file start at QWord Boundary // while (((UINTN) FvImage->CurrentFilePointer & (EFI_FFS_FILE_HEADER_ALIG= NMENT - 1)) !=3D 0) { FvImage->CurrentFilePointer++; @@ -2196,14 +2196,14 @@ Returns: return EFI_ABORTED; } =20 - // Add opcode for an uncondional branch with no link=2E i=2Ee=2E: "= B SecEntryPoint" + // Add opcode for an unconditional branch with no link=2E i=2Ee=2E:= " B SecEntryPoint" ResetVector[0] |=3D ARMT_UNCONDITIONAL_JUMP_INSTRUCTION; =20 // SWI handler movs pc,lr=2E Just in case a debugger uses SWI ResetVector[2] =3D 0xE1B0F07E; =20 // Place holder to support a common interrupt handler from ROM=2E - // Currently not suppprted=2E For this to be used the reset vector = would not be in this FV + // Currently not supported=2E For this to be used the reset vector = would not be in this FV // and the exception vectors would be hard coded in the ROM and jus= t through this address // to find a common handler in the a module in the FV=2E ResetVector[3] =3D 0; @@ -2235,7 +2235,7 @@ Returns: ARMT above has an entry in ResetVector[2] for SWI=2E The way we are u= sing the ResetVector array at the moment, for AArch64, does not allow us space for this as= the header only allows for a fixed amount of bytes at the start=2E If we are sure tha= t UEFI will live - within the first 4GB of addressable RAM we could potensioally adopt t= he same ResetVector + within the first 4GB of addressable RAM we could potentially adopt th= e same ResetVector layout as above=2E But for the moment we replace the four 32bit vecto= rs with two 64bit vectors in the same area of the Image heasder=2E This allows UEFI to = start from a 64bit base=2E @@ -2253,7 +2253,7 @@ Returns: Error(NULL, 0, 3000, "Invalid", "SEC Entry point must be within 1= 28MB of the start of the FV"); return EFI_ABORTED; } - // Add opcode for an uncondional branch with no link=2E i=2Ee=2E: "= B SecEntryPoint" + // Add opcode for an unconditional branch with no link=2E i=2Ee=2E:= " B SecEntryPoint" ResetVector[0] |=3D ARM64_UNCONDITIONAL_JUMP_INSTRUCTION; } =20 @@ -3068,7 +3068,7 @@ Returns: } =20 // - // Accumlate every FFS file size=2E + // Accumulate every FFS file size=2E // for (Index =3D 0; FvInfoPtr->FvFiles[Index][0] !=3D 0; Index++) { // @@ -3143,7 +3143,7 @@ Returns: } =20 // - // Make next ffs file start at QWord Boundry + // Make next ffs file start at QWord Boundary // if (FvInfoPtr->IsPiFvImage) { CurrentOffset =3D (CurrentOffset + EFI_FFS_FILE_HEADER_ALIGNMENT - = 1) & ~(EFI_FFS_FILE_HEADER_ALIGNMENT - 1); @@ -3234,7 +3234,7 @@ Routine Description: their base address to the parent image=2E =20 Arguments: - FvInfo A pointer to FV_INFO struture=2E + FvInfo A pointer to FV_INFO structure=2E FfsFile A pointer to Ffs file image that may contain FvImage= =2E XipOffset The offset address to the parent FvImage base=2E =20 @@ -3277,7 +3277,7 @@ Returns: return EFI_ABORTED; } =20 - // machine type is ARM, set a flag so ARM reset vector procesing oc= curs + // machine type is ARM, set a flag so ARM reset vector processing o= ccurs if ((MachineType =3D=3D EFI_IMAGE_MACHINE_ARMT) || (MachineType =3D= =3D EFI_IMAGE_MACHINE_AARCH64)) { VerboseMsg("Located ARM/AArch64 SEC/PEI core in child FV"); mArm =3D TRUE; @@ -3311,7 +3311,7 @@ Routine Description: =20 Arguments: =20 - FvInfo A pointer to FV_INFO struture=2E + FvInfo A pointer to FV_INFO structure=2E FileName Ffs File PathName FfsFile A pointer to Ffs file image=2E XipOffset The offset address to use for rebasing the XIP file i= mage=2E diff --git a/BaseTools/Source/C/GenFv/GenFvInternalLib=2Eh b/BaseTools/Sou= rce/C/GenFv/GenFvInternalLib=2Eh index 4476b06a23=2E=2Ecc71840bac 100644 --- a/BaseTools/Source/C/GenFv/GenFvInternalLib=2Eh +++ b/BaseTools/Source/C/GenFv/GenFvInternalLib=2Eh @@ -34,7 +34,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHE= R EXPRESS OR IMPLIED=2E #include "EfiUtilityMsgs=2Eh" =20 // -// Different file separater for Linux and Windows +// Different file separator for Linux and Windows // #define FILE_SEP_CHAR '/' =20 diff --git a/BaseTools/Source/C/GenFw/Elf32Convert=2Ec b/BaseTools/Source/= C/GenFw/Elf32Convert=2Ec index 23e8065756=2E=2E62cdb30cf5 100644 --- a/BaseTools/Source/C/GenFw/Elf32Convert=2Ec +++ b/BaseTools/Source/C/GenFw/Elf32Convert=2Ec @@ -74,7 +74,7 @@ CleanUp32 ( ); =20 // -// Rename ELF32 strucutres to common names to help when porting to ELF64= =2E +// Rename ELF32 structures to common names to help when porting to ELF64= =2E // typedef Elf32_Shdr Elf_Shdr; typedef Elf32_Ehdr Elf_Ehdr; @@ -450,7 +450,7 @@ ScanSections32 ( mCoffOffset =3D CoffAlign(mCoffOffset); =20 if (SectionCount > 1 && mOutImageType =3D=3D FW_EFI_IMAGE) { - Warning (NULL, 0, 0, NULL, "Mulitple sections in %s are merged into 1= text section=2E Source level debug might not work correctly=2E", mInImageN= ame); + Warning (NULL, 0, 0, NULL, "Multiple sections in %s are merged into 1= text section=2E Source level debug might not work correctly=2E", mInImageN= ame); } =20 // @@ -487,7 +487,7 @@ ScanSections32 ( } =20 if (SectionCount > 1 && mOutImageType =3D=3D FW_EFI_IMAGE) { - Warning (NULL, 0, 0, NULL, "Mulitple sections in %s are merged into 1= data section=2E Source level debug might not work correctly=2E", mInImageN= ame); + Warning (NULL, 0, 0, NULL, "Multiple sections in %s are merged into 1= data section=2E Source level debug might not work correctly=2E", mInImageN= ame); } =20 // @@ -688,7 +688,7 @@ WriteSections32 ( =20 default: // - // Ignore for unkown section type=2E + // Ignore for unknown section type=2E // VerboseMsg ("%s unknown section type %x=2E We ignore this unknown= section type=2E", mInImageName, (unsigned)Shdr->sh_type); break; @@ -1090,7 +1090,7 @@ WriteRelocations32 ( break; =20 default: - Error (NULL, 0, 3000, "Invalid", "%s bad ARM dynamic relocati= ons, unkown type %d=2E", mInImageName, ELF32_R_TYPE (Rel->r_info)); + Error (NULL, 0, 3000, "Invalid", "%s bad ARM dynamic relocati= ons, unknown type %d=2E", mInImageName, ELF32_R_TYPE (Rel->r_info)); break; } } diff --git a/BaseTools/Source/C/GenFw/Elf64Convert=2Ec b/BaseTools/Source/= C/GenFw/Elf64Convert=2Ec index 0a5237dd14=2E=2E28f27ab97b 100644 --- a/BaseTools/Source/C/GenFw/Elf64Convert=2Ec +++ b/BaseTools/Source/C/GenFw/Elf64Convert=2Ec @@ -74,7 +74,7 @@ CleanUp64 ( ); =20 // -// Rename ELF32 strucutres to common names to help when porting to ELF64= =2E +// Rename ELF32 structures to common names to help when porting to ELF64= =2E // typedef Elf64_Shdr Elf_Shdr; typedef Elf64_Ehdr Elf_Ehdr; @@ -580,7 +580,7 @@ ScanSections64 ( mCoffOffset =3D CoffAlign(mCoffOffset); =20 if (SectionCount > 1 && mOutImageType =3D=3D FW_EFI_IMAGE) { - Warning (NULL, 0, 0, NULL, "Mulitple sections in %s are merged into 1= text section=2E Source level debug might not work correctly=2E", mInImageN= ame); + Warning (NULL, 0, 0, NULL, "Multiple sections in %s are merged into 1= text section=2E Source level debug might not work correctly=2E", mInImageN= ame); } =20 // @@ -634,7 +634,7 @@ ScanSections64 ( } =20 if (SectionCount > 1 && mOutImageType =3D=3D FW_EFI_IMAGE) { - Warning (NULL, 0, 0, NULL, "Mulitple sections in %s are merged into 1= data section=2E Source level debug might not work correctly=2E", mInImageN= ame); + Warning (NULL, 0, 0, NULL, "Multiple sections in %s are merged into 1= data section=2E Source level debug might not work correctly=2E", mInImageN= ame); } =20 // @@ -817,7 +817,7 @@ WriteSections64 ( =20 default: // - // Ignore for unkown section type=2E + // Ignore for unknown section type=2E // VerboseMsg ("%s unknown section type %x=2E We ignore this unknown= section type=2E", mInImageName, (unsigned)Shdr->sh_type); break; diff --git a/BaseTools/Source/C/GenFw/ElfConvert=2Eh b/BaseTools/Source/C/= GenFw/ElfConvert=2Eh index 1c0f24e6c2=2E=2Ee0f9e29333 100644 --- a/BaseTools/Source/C/GenFw/ElfConvert=2Eh +++ b/BaseTools/Source/C/GenFw/ElfConvert=2Eh @@ -49,7 +49,7 @@ typedef enum { } SECTION_FILTER_TYPES; =20 // -// FunctionTalbe +// FunctionTable // typedef struct { VOID (*ScanSections) (); diff --git a/BaseTools/Source/C/GenFw/GenFw=2Ec b/BaseTools/Source/C/GenFw= /GenFw=2Ec index af2c909866=2E=2Efea7d5b4de 100644 --- a/BaseTools/Source/C/GenFw/GenFw=2Ec +++ b/BaseTools/Source/C/GenFw/GenFw=2Ec @@ -176,7 +176,7 @@ Returns: // fprintf (stdout, "Options:\n"); fprintf (stdout, " -o FileName, --outputfile FileName\n\ - File will be created to store the ouput content= =2E\n"); + File will be created to store the output content= =2E\n"); fprintf (stdout, " -e EFI_FILETYPE, --efiImage EFI_FILETYPE\n\ Create Efi Image=2E EFI_FILETYPE is one of BASE,S= MM_CORE,\n\ PEI_CORE, PEIM, DXE_CORE, DXE_DRIVER, UEFI_APPLIC= ATION,\n\ @@ -261,13 +261,13 @@ Returns: Guid is used to specify hii package list guid=2E\= n\ Its format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx= x\n\ If not specified, the first Form FormSet guid is = used=2E\n"); - fprintf (stdout, " --hiipackage Combine all input binary hii = pacakges into \n\ + fprintf (stdout, " --hiipackage Combine all input binary hii = packages into \n\ a single package list as the text resource data(R= C)=2E\n\ It can't be combined with other action options\n\ except for -o option=2E It is a action option=2E\= n\ If it is combined with other action options, the = later\n\ input action option will override the previous on= e=2E\n"); - fprintf (stdout, " --hiibinpackage Combine all input binary hii = pacakges into \n\ + fprintf (stdout, " --hiibinpackage Combine all input binary hii = packages into \n\ a single package list as the binary resource sect= ion=2E\n\ It can't be combined with other action options\n\ except for -o option=2E It is a action option=2E\= n\ @@ -559,7 +559,7 @@ PeCoffConvertImageToXip ( if (PeHdr->Pe32=2EOptionalHeader=2ESectionAlignment !=3D PeHdr->Pe32=2E= OptionalHeader=2EFileAlignment) { // // The only reason to expand zero fill sections is to make them compa= tible with XIP images=2E - // If SectionAlignment is not equal to FileAlginment then it is not a= n XIP type image=2E + // If SectionAlignment is not equal to FileAlignment then it is not a= n XIP type image=2E // return; } @@ -1390,7 +1390,7 @@ Returns: goto Finish; } if (LogLevel > 9) { - Error (NULL, 0, 1003, "Invalid option value", "Debug Level range = is 0-9, currnt input level is %d", (int) LogLevel); + Error (NULL, 0, 1003, "Invalid option value", "Debug Level range = is 0-9, current input level is %d", (int) LogLevel); goto Finish; } SetPrintLevel (LogLevel); @@ -1536,16 +1536,16 @@ Returns: VerboseMsg ("Dump the TE header information of the input TE image=2E"= ); break; case FW_MCI_IMAGE: - VerboseMsg ("Conver input MicroCode=2Etxt file to MicroCode=2Ebin fil= e=2E"); + VerboseMsg ("Convert input MicroCode=2Etxt file to MicroCode=2Ebin fi= le=2E"); break; case FW_MERGE_IMAGE: VerboseMsg ("Combine the input multi microcode bin files to one bin f= ile=2E"); break; case FW_HII_PACKAGE_LIST_RCIMAGE: - VerboseMsg ("Combine the input multi hii bin packages to one text pac= akge list RC file=2E"); + VerboseMsg ("Combine the input multi hii bin packages to one text pac= kage list RC file=2E"); break; case FW_HII_PACKAGE_LIST_BINIMAGE: - VerboseMsg ("Combine the input multi hii bin packages to one binary p= acakge list file=2E"); + VerboseMsg ("Combine the input multi hii bin packages to one binary p= ackage list file=2E"); break; case FW_REBASE_IMAGE: VerboseMsg ("Rebase the input image to new base address=2E"); @@ -1633,7 +1633,7 @@ Returns: goto Finish; } // - // Get hii package list lenght + // Get hii package list length // HiiPackageListHeader=2EPackageLength =3D sizeof (EFI_HII_PACKAGE_LIST= _HEADER); for (Index =3D 0; Index < InputFileNum; Index ++) { @@ -1668,7 +1668,7 @@ Returns: goto Finish; } if (memcmp (&HiiPackageListGuid, &mZeroGuid, sizeof (EFI_GUID)) =3D= =3D 0) { - Error (NULL, 0, 3000, "Invalid", "HII pacakge list guid is not spec= ified!"); + Error (NULL, 0, 3000, "Invalid", "HII package list guid is not spec= ified!"); goto Finish; } memcpy (&HiiPackageListHeader=2EPackageListGuid, &HiiPackageListGuid,= sizeof (EFI_GUID)); @@ -2172,7 +2172,7 @@ Returns: =20 if (PeHdr->Pe32=2EFileHeader=2EMachine =3D=3D IMAGE_FILE_MACHINE_ARM) { // Some tools kick out IMAGE_FILE_MACHINE_ARM (0x1c0) vs IMAGE_FILE_M= ACHINE_ARMT (0x1c2) - // so patch back to the offical UEFI value=2E + // so patch back to the official UEFI value=2E PeHdr->Pe32=2EFileHeader=2EMachine =3D IMAGE_FILE_MACHINE_ARMT; } =20 @@ -2372,7 +2372,7 @@ Returns: // memset (SectionHeader->Name, 0, sizeof (SectionHeader->Name))= ; // - // Zero Execption Table + // Zero Exception Table // Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION= ]=2EVirtualAddress =3D 0; Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION= ]=2ESize =3D 0; @@ -2479,7 +2479,7 @@ Returns: memset (RuntimeFunction, 0, sizeof (RUNTIME_FUNCTION)); } // - // Zero Execption Table + // Zero Exception Table // Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTI= ON]=2ESize =3D 0; Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTI= ON]=2EVirtualAddress =3D 0; diff --git a/BaseTools/Source/C/GenSec/GenSec=2Ec b/BaseTools/Source/C/Gen= Sec/GenSec=2Ec index f3dfaf63ba=2E=2Ee9064de439 100644 --- a/BaseTools/Source/C/GenSec/GenSec=2Ec +++ b/BaseTools/Source/C/GenSec/GenSec=2Ec @@ -323,7 +323,7 @@ Returns: // Buffer =3D (UINT8 *) malloc ((size_t) TotalLength); if (Buffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Done; } CommonSect =3D (EFI_COMMON_SECTION_HEADER *) Buffer; @@ -658,7 +658,7 @@ Returns: if (Status =3D=3D EFI_BUFFER_TOO_SMALL) { FileBuffer =3D (UINT8 *) malloc (InputLength); if (FileBuffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); return EFI_OUT_OF_RESOURCES; } // @@ -887,7 +887,7 @@ Returns: =20 FileBuffer =3D (UINT8 *) malloc (InputLength + Offset); if (FileBuffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); return EFI_OUT_OF_RESOURCES; } // @@ -922,7 +922,7 @@ Returns: // InputLength !=3D 0, but FileBuffer =3D=3D NULL means out of resource= s=2E // if (FileBuffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); return EFI_OUT_OF_RESOURCES; } =20 @@ -1342,7 +1342,7 @@ Returns: goto Finish; } if (LogLevel > 9) { - Error (NULL, 0, 1003, "Invalid option value", "Debug Level range = is 0~9, currnt input level is %d", (int) LogLevel); + Error (NULL, 0, 1003, "Invalid option value", "Debug Level range = is 0~9, current input level is %d", (int) LogLevel); goto Finish; } SetPrintLevel (LogLevel); @@ -1396,7 +1396,7 @@ Returns: if ((InputFileNum =3D=3D 0) && (InputFileName =3D=3D NULL)) { InputFileName =3D (CHAR8 **) malloc (MAXIMUM_INPUT_FILE_NUM * sizeo= f (CHAR8 *)); if (InputFileName =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } memset (InputFileName, 0, (MAXIMUM_INPUT_FILE_NUM * sizeof (CHAR8 *= ))); @@ -1410,7 +1410,7 @@ Returns: ); =20 if (InputFileName =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } memset (&(InputFileName[InputFileNum]), 0, (MAXIMUM_INPUT_FILE_NUM = * sizeof (CHAR8 *))); @@ -1454,7 +1454,7 @@ Returns: DummyFileBuffer =3D (UINT8 *) malloc (DummyFileSize); if (DummyFileBuffer =3D=3D NULL) { fclose(DummyFile); - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } =20 @@ -1463,7 +1463,7 @@ Returns: DebugMsg (NULL, 0, 9, "Dummy files", "the dummy file name is %s and= the size is %u bytes", DummyFileName, (unsigned) DummyFileSize); =20 if (InputFileName =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } InFile =3D fopen(LongFilePath(InputFileName[0]), "rb"); @@ -1478,7 +1478,7 @@ Returns: InFileBuffer =3D (UINT8 *) malloc (InFileSize); if (InFileBuffer =3D=3D NULL) { fclose(InFile); - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } =20 @@ -1685,7 +1685,7 @@ Returns: Index +=3D (strlen (StringBuffer) * 2) + 2; OutFileBuffer =3D (UINT8 *) malloc (Index); if (OutFileBuffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } VersionSect =3D (EFI_VERSION_SECTION *) OutFileBuffer; @@ -1706,7 +1706,7 @@ Returns: Index +=3D (strlen (StringBuffer) * 2) + 2; OutFileBuffer =3D (UINT8 *) malloc (Index); if (OutFileBuffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } UiSect =3D (EFI_USER_INTERFACE_SECTION *) OutFileBuffer; @@ -1734,7 +1734,7 @@ Returns: if (Status =3D=3D EFI_BUFFER_TOO_SMALL) { OutFileBuffer =3D (UINT8 *) malloc (InputLength); if (OutFileBuffer =3D=3D NULL) { - Error (NULL, 0, 4001, "Resource", "memory cannot be allcoated"); + Error (NULL, 0, 4001, "Resource", "memory cannot be allocated"); goto Finish; } // diff --git a/BaseTools/Source/C/Include/AArch64/ProcessorBind=2Eh b/BaseTo= ols/Source/C/Include/AArch64/ProcessorBind=2Eh index f956cab453=2E=2Eb21fb894e6 100644 --- a/BaseTools/Source/C/Include/AArch64/ProcessorBind=2Eh +++ b/BaseTools/Source/C/Include/AArch64/ProcessorBind=2Eh @@ -32,7 +32,7 @@ =20 #if _MSC_EXTENSIONS // - // use Microsoft* C complier dependent integer width types + // use Microsoft* C compiler dependent integer width types // typedef unsigned __int64 UINT64; typedef __int64 INT64; diff --git a/BaseTools/Source/C/Include/Arm/ProcessorBind=2Eh b/BaseTools/= Source/C/Include/Arm/ProcessorBind=2Eh index 856d2bd9ef=2E=2E58d889014b 100644 --- a/BaseTools/Source/C/Include/Arm/ProcessorBind=2Eh +++ b/BaseTools/Source/C/Include/Arm/ProcessorBind=2Eh @@ -30,7 +30,7 @@ =20 #if _MSC_EXTENSIONS // - // use Microsoft* C complier dependent integer width types + // use Microsoft* C compiler dependent integer width types // typedef unsigned __int64 UINT64; typedef __int64 INT64; diff --git a/BaseTools/Source/C/Include/Common/BaseTypes=2Eh b/BaseTools/S= ource/C/Include/Common/BaseTypes=2Eh index 751b6f1b3b=2E=2Eb877e002c8 100644 --- a/BaseTools/Source/C/Include/Common/BaseTypes=2Eh +++ b/BaseTools/Source/C/Include/Common/BaseTypes=2Eh @@ -50,7 +50,7 @@ #ifndef TRUE // // BugBug: UEFI specification claims 1 and 0=2E We are concerned about th= e -// complier portability so we did it this way=2E +// compiler portability so we did it this way=2E // #define TRUE ((BOOLEAN)(1=3D=3D1)) #endif diff --git a/BaseTools/Source/C/Include/Common/MdeModuleHii=2Eh b/BaseTool= s/Source/C/Include/Common/MdeModuleHii=2Eh index e6538e2fdd=2E=2E18a790156f 100644 --- a/BaseTools/Source/C/Include/Common/MdeModuleHii=2Eh +++ b/BaseTools/Source/C/Include/Common/MdeModuleHii=2Eh @@ -207,19 +207,19 @@ typedef struct _EFI_IFR_GUID_VAREQNAME { /// For vareqval (0x100), NameId is 0x100=2E /// This value will convert to a Unicode String following this rule; /// sprintf(StringBuffer, "%d", NameId) =2E - /// The the Unicode String will be used as a EFI Variable Name=2E + /// The Unicode String will be used as a EFI Variable Name=2E /// UINT16 NameId; } EFI_IFR_GUID_VAREQNAME; =20 /// -/// EDKII implementation extension GUID, used to indaicate there are bit = fields in the varstore=2E +/// EDKII implementation extension GUID, used to indicate there are bit f= ields in the varstore=2E /// #define EDKII_IFR_BIT_VARSTORE_GUID \ { 0x82DDD68B, 0x9163, 0x4187, {0x9B, 0x27, 0x20, 0xA8, 0xFD, 0x60 ,0xA7= , 0x1D}} =20 /// -/// EDKII implementation extension flags, used to indaicate the disply st= yle and bit width for bit filed storage=2E +/// EDKII implementation extension flags, used to indicate the display st= yle and bit width for bit filed storage=2E /// Two high bits for display style and the low six bits for bit width=2E /// #define EDKII_IFR_DISPLAY_BIT 0xC0 diff --git a/BaseTools/Source/C/Include/Common/PiFirmwareVolume=2Eh b/Base= Tools/Source/C/Include/Common/PiFirmwareVolume=2Eh index dcc52cd5e4=2E=2Ec495c1b2ff 100644 --- a/BaseTools/Source/C/Include/Common/PiFirmwareVolume=2Eh +++ b/BaseTools/Source/C/Include/Common/PiFirmwareVolume=2Eh @@ -148,7 +148,7 @@ typedef struct { EFI_GUID FormatType; =20 // - // An arry of bytes of length Length=2E + // An array of bytes of length Length=2E // // UINT8 Data[1]; // diff --git a/BaseTools/Source/C/Include/Common/UefiMultiPhase=2Eh b/BaseTo= ols/Source/C/Include/Common/UefiMultiPhase=2Eh index 0982da4998=2E=2E0753dd2e9d 100644 --- a/BaseTools/Source/C/Include/Common/UefiMultiPhase=2Eh +++ b/BaseTools/Source/C/Include/Common/UefiMultiPhase=2Eh @@ -201,7 +201,7 @@ typedef struct _WIN_CERTIFICATE_EFI_PKCS1_15 { EFI_CERT_TYPE_RSA2048_SHA256=2E If the attribute specifies authenticated access, then the Data buffer should begin with an authentication descriptor prior to the data payload and DataSize - should reflect the the data=2Eand descriptor size=2E The caller + should reflect the data=2Eand descriptor size=2E The caller shall digest the Monotonic Count value and the associated data for the variable update using the SHA-256 1-way hash algorithm=2E The ensuing the 32-byte digest will be signed using the private diff --git a/BaseTools/Source/C/Include/Ia32/ProcessorBind=2Eh b/BaseTools= /Source/C/Include/Ia32/ProcessorBind=2Eh index 96ac691df0=2E=2E72a22f765c 100644 --- a/BaseTools/Source/C/Include/Ia32/ProcessorBind=2Eh +++ b/BaseTools/Source/C/Include/Ia32/ProcessorBind=2Eh @@ -68,7 +68,7 @@ #if _MSC_EXTENSIONS =20 // - // use Microsoft* C complier dependent integer width types + // use Microsoft* C compiler dependent integer width types // typedef unsigned __int64 UINT64; typedef __int64 INT64; @@ -138,7 +138,7 @@ typedef INT32 INTN; // #if _MSC_EXTENSIONS // - // Microsoft* compiler requires _EFIAPI useage, __cdecl is Microsoft* s= pecific C=2E + // Microsoft* compiler requires _EFIAPI usage, __cdecl is Microsoft* sp= ecific C=2E // #define EFIAPI __cdecl #endif diff --git a/BaseTools/Source/C/Include/IndustryStandard/Acpi2_0=2Eh b/Bas= eTools/Source/C/Include/IndustryStandard/Acpi2_0=2Eh index 3a109ffa08=2E=2E39691e1d55 100644 --- a/BaseTools/Source/C/Include/IndustryStandard/Acpi2_0=2Eh +++ b/BaseTools/Source/C/Include/IndustryStandard/Acpi2_0=2Eh @@ -497,7 +497,7 @@ typedef struct { #define EFI_ACPI_2_0_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE 0x54494= C53 =20 // -// "SPCR" Serial Port Concole Redirection Table +// "SPCR" Serial Port Console Redirection Table // #define EFI_ACPI_2_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE 0x5= 2435053 =20 diff --git a/BaseTools/Source/C/Include/IndustryStandard/Acpi3_0=2Eh b/Bas= eTools/Source/C/Include/IndustryStandard/Acpi3_0=2Eh index ad635efc74=2E=2Eac6dbc5905 100644 --- a/BaseTools/Source/C/Include/IndustryStandard/Acpi3_0=2Eh +++ b/BaseTools/Source/C/Include/IndustryStandard/Acpi3_0=2Eh @@ -650,7 +650,7 @@ typedef struct { #define EFI_ACPI_3_0_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_A= DDRESS_DESCRIPTION_TABLE_SIGNATURE 0x4746434D =20 // -// "SPCR" Serial Port Concole Redirection Table +// "SPCR" Serial Port Console Redirection Table // #define EFI_ACPI_3_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE 0x5= 2435053 =20 diff --git a/BaseTools/Source/C/Include/IndustryStandard/pci22=2Eh b/BaseT= ools/Source/C/Include/IndustryStandard/pci22=2Eh index d7c5f0c858=2E=2E5218d24ce7 100644 --- a/BaseTools/Source/C/Include/IndustryStandard/pci22=2Eh +++ b/BaseTools/Source/C/Include/IndustryStandard/pci22=2Eh @@ -98,7 +98,7 @@ typedef union { } PCI_TYPE_GENERIC; =20 typedef struct { - UINT32 CardBusSocketReg; // Cardus Socket/ExCA Base + UINT32 CardBusSocketReg; // Cardbus Socket/ExCA Base // Address Register // UINT16 Reserved; @@ -197,7 +197,7 @@ typedef struct { #define PCI_IF_8259_PIC 0x00 #define PCI_IF_ISA_PIC 0x01 #define PCI_IF_EISA_PIC 0x02 -#define PCI_IF_APIC_CONTROLLER 0x10 // I/O APIC interrupt controll= er , 32 bye none-prefectable memory=2E +#define PCI_IF_APIC_CONTROLLER 0x10 // I/O APIC interrupt controll= er , 32 byte none-prefetchable memory=2E #define PCI_IF_APIC_CONTROLLER2 0x20 #define PCI_SUBCLASS_TIMER 0x02 #define PCI_IF_8254_TIMER 0x00 diff --git a/BaseTools/Source/C/Include/Protocol/DevicePathUtilities=2Eh b= /BaseTools/Source/C/Include/Protocol/DevicePathUtilities=2Eh index d046c86453=2E=2Ef27fb110be 100644 --- a/BaseTools/Source/C/Include/Protocol/DevicePathUtilities=2Eh +++ b/BaseTools/Source/C/Include/Protocol/DevicePathUtilities=2Eh @@ -125,7 +125,7 @@ EFI_DEVICE_PATH_PROTOCOL* If NULL, then the instance size is not o= utput=2E =20 @retval Pointer A pointer to the copy of the current dev= ice path instance=2E - @retval NULL DevicePathInstace was NULL on entry or t= here was insufficient memory=2E + @retval NULL DevicePathInstance was NULL on entry or = there was insufficient memory=2E =20 **/ typedef diff --git a/BaseTools/Source/C/Include/Protocol/GraphicsOutput=2Eh b/Base= Tools/Source/C/Include/Protocol/GraphicsOutput=2Eh index e03bda80c8=2E=2E0bd60c0b65 100644 --- a/BaseTools/Source/C/Include/Protocol/GraphicsOutput=2Eh +++ b/BaseTools/Source/C/Include/Protocol/GraphicsOutput=2Eh @@ -149,12 +149,12 @@ typedef enum { @param DestinationX X coordinate of destination for the BltBuffer=2E @param DestinationY Y coordinate of destination for the BltBuffer=2E @param Width Width of rectangle in BltBuffer in pixels=2E - @param Height Hight of rectangle in BltBuffer in pixels=2E + @param Height Height of rectangle in BltBuffer in pixels=2E @param Delta OPTIONAL =20 @retval EFI_SUCCESS The Blt operation completed=2E @retval EFI_INVALID_PARAMETER BltOperation is not valid=2E - @retval EFI_DEVICE_ERROR A hardware error occured writting to the = video buffer=2E + @retval EFI_DEVICE_ERROR A hardware error occurred writing to the = video buffer=2E =20 **/ typedef diff --git a/BaseTools/Source/C/Include/Protocol/GuidedSectionExtraction= =2Eh b/BaseTools/Source/C/Include/Protocol/GuidedSectionExtraction=2Eh index 83d7466586=2E=2Ecb9ea124b9 100644 --- a/BaseTools/Source/C/Include/Protocol/GuidedSectionExtraction=2Eh +++ b/BaseTools/Source/C/Include/Protocol/GuidedSectionExtraction=2Eh @@ -25,7 +25,7 @@ #define __EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL_H__ =20 // -// Forward reference for pure ANSI compatability +// Forward reference for pure ANSI compatibility =20 typedef struct _EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL EFI_GUIDED_SECTION= _EXTRACTION_PROTOCOL; =20 diff --git a/BaseTools/Source/C/Include/Protocol/UgaDraw=2Eh b/BaseTools/S= ource/C/Include/Protocol/UgaDraw=2Eh index a89a867ac3=2E=2E0e33baa4f7 100644 --- a/BaseTools/Source/C/Include/Protocol/UgaDraw=2Eh +++ b/BaseTools/Source/C/Include/Protocol/UgaDraw=2Eh @@ -133,12 +133,12 @@ typedef enum { @param[in] DestinationX - X coordinate of destination for the BltBuf= fer=2E @param[in] DestinationY - Y coordinate of destination for the BltBuf= fer=2E @param[in] Width - Width of rectangle in BltBuffer in pixels= =2E - @param[in] Height - Hight of rectangle in BltBuffer in pixels= =2E + @param[in] Height - Height of rectangle in BltBuffer in pixels= =2E @param[in] Delta - OPTIONAL =20 @retval EFI_SUCCESS - The Blt operation completed=2E @retval EFI_INVALID_PARAMETER - BltOperation is not valid=2E - @retval EFI_DEVICE_ERROR - A hardware error occured writting to = the video buffer=2E + @retval EFI_DEVICE_ERROR - A hardware error occurred writing to = the video buffer=2E =20 --*/ typedef diff --git a/BaseTools/Source/C/Include/X64/ProcessorBind=2Eh b/BaseTools/= Source/C/Include/X64/ProcessorBind=2Eh index 9877385083=2E=2Eda5cd9acd4 100644 --- a/BaseTools/Source/C/Include/X64/ProcessorBind=2Eh +++ b/BaseTools/Source/C/Include/X64/ProcessorBind=2Eh @@ -71,7 +71,7 @@ =20 =20 // - // use Microsoft C complier dependent integer width types + // use Microsoft C compiler dependent integer width types // typedef unsigned __int64 UINT64; typedef __int64 INT64; @@ -153,17 +153,17 @@ typedef INT64 INTN; // // Modifier to ensure that all protocol member functions and EFI intrinsi= cs // use the correct C calling convention=2E All protocol member functions = and -// EFI intrinsics are required to modify thier member functions with EFIA= PI=2E +// EFI intrinsics are required to modify their member functions with EFIA= PI=2E // #if _MSC_EXTENSIONS /// - /// Define the standard calling convention reguardless of optimization = level=2E + /// Define the standard calling convention regardless of optimization l= evel=2E /// __cdecl is Microsoft* specific C extension=2E /// #define EFIAPI __cdecl #elif __GNUC__ /// - /// Define the standard calling convention reguardless of optimization = level=2E + /// Define the standard calling convention regardless of optimization l= evel=2E /// efidecl is an extension to GCC that supports the differnece between= x64 /// GCC ABI and x64 Microsoft* ABI=2E EFI is closer to the Microsoft* A= BI and /// EFIAPI makes sure the right ABI is used for public interfaces=2E diff --git a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc=2Eh b/BaseTools= /Source/C/LzmaCompress/Sdk/C/LzmaEnc=2Eh index c9938f04bc=2E=2E0ec95b50c3 100644 --- a/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc=2Eh +++ b/BaseTools/Source/C/LzmaCompress/Sdk/C/LzmaEnc=2Eh @@ -42,7 +42,7 @@ UInt32 LzmaEncProps_GetDictSize(const CLzmaEncProps *pro= ps2); SRes: SZ_OK - OK SZ_ERROR_MEM - Memory allocation error - SZ_ERROR_PARAM - Incorrect paramater in props + SZ_ERROR_PARAM - Incorrect parameter in props SZ_ERROR_WRITE - ISeqOutStream write callback error SZ_ERROR_OUTPUT_EOF - output buffer overflow - version with (Byte *) ou= tput SZ_ERROR_PROGRESS - some break from progress callback diff --git a/BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-history=2Etxt b/= BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-history=2Etxt index f4793264a5=2E=2Ed7426d38a4 100644 --- a/BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-history=2Etxt +++ b/BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-history=2Etxt @@ -142,7 +142,7 @@ HISTORY of the LZMA SDK 9=2E35 beta 2014-12-07 -------------------------=09 - 7zr=2Eexe now support AES encryption=2E -- SFX mudules were added to LZMA SDK +- SFX modules were added to LZMA SDK - Some bugs were fixed=2E =20 =20 diff --git a/BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-sdk=2Etxt b/Base= Tools/Source/C/LzmaCompress/Sdk/DOC/lzma-sdk=2Etxt index 01521e9398=2E=2Ea3deb20943 100644 --- a/BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-sdk=2Etxt +++ b/BaseTools/Source/C/LzmaCompress/Sdk/DOC/lzma-sdk=2Etxt @@ -54,7 +54,7 @@ LZMA SDK Contents - C - small SFXs for installers (7z decompression= ) - C++ - SFXs and SFXs for installers (7z decompress= ion) =20 - Precomiled binaries: + Precompiled binaries: =20 - console programs for lzma / 7z / xz compression and decompression - SFX modules for installers=2E diff --git a/BaseTools/Source/C/Split/Split=2Ec b/BaseTools/Source/C/Split= /Split=2Ec index 6b0a32376d=2E=2Eff4a433541 100644 --- a/BaseTools/Source/C/Split/Split=2Ec +++ b/BaseTools/Source/C/Split/Split=2Ec @@ -328,7 +328,7 @@ Returns: if (strlen(argv[0]) > 2) { Status =3D CountVerboseLevel (&argv[0][2], strlen(argv[0]) - 2, &= VerboseLevel); if (EFI_ERROR (Status)) { - Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!", argv[= 0]); + Error (NULL, 0, 0x1003, NULL, "%s is invalid parameter!", argv[= 0]); return STATUS_ERROR; } } @@ -351,7 +351,7 @@ Returns: // // Don't recognize the parameter=2E // - Error (NULL, 0, 0x1003, NULL, "%s is invaild parameter!", argv[0]); + Error (NULL, 0, 0x1003, NULL, "%s is invalid parameter!", argv[0]); return STATUS_ERROR; } =20 diff --git a/BaseTools/Source/C/TianoCompress/TianoCompress=2Ec b/BaseTool= s/Source/C/TianoCompress/TianoCompress=2Ec index a77f6798ec=2E=2E29b11c597f 100644 --- a/BaseTools/Source/C/TianoCompress/TianoCompress=2Ec +++ b/BaseTools/Source/C/TianoCompress/TianoCompress=2Ec @@ -229,7 +229,7 @@ Routine Description: =20 Allocate memory spaces for data structures used in compression process =20 -Argements: +Arguments: VOID =20 Returns: @@ -507,7 +507,7 @@ Returns: (VOID) if (mMatchLen >=3D 4) { // // We have just got a long match, the target tree - // can be located by MatchPos + 1=2E Travese the tree + // can be located by MatchPos + 1=2E Traverse the tree // from bottom up to get to a proper starting point=2E // The usage of PERC_FLAG ensures proper node deletion // in DeleteNode() later=2E @@ -1708,7 +1708,7 @@ Returns: fprintf (stdout, " --uefi\n\ Enable UefiCompress, use TianoCompress when without this opti= on\n"); fprintf (stdout, " -o FileName, --output FileName\n\ - File will be created to store the ouput content=2E\n"); + File will be created to store the output content=2E\n"); fprintf (stdout, " -v, --verbose\n\ Turn on verbose output with informational messages=2E\n"); fprintf (stdout, " -q, --quiet\n\ @@ -2714,11 +2714,11 @@ Arguments: Source - The source buffer containing the compressed data=2E Destination - The destination buffer to store the decompressed data Scratch - The buffer used internally by the decompress routine= =2E This buffer is needed to store intermediate data=2E - Version - 1 for EFI1=2E1 Decompress algoruthm, 2 for Tiano Deco= mpress algorithm + Version - 1 for EFI1=2E1 Decompress algorithm, 2 for Tiano Deco= mpress algorithm =20 Returns: =20 - RETURN_SUCCESS - Decompression is successfull + RETURN_SUCCESS - Decompression is successful RETURN_INVALID_PARAMETER - The source data is corrupted =20 --*/ diff --git a/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133=2Etxt b/= BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133=2Etxt index 2128c4ff25=2E=2E086af5097f 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133=2Etxt +++ b/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133=2Etxt @@ -40,7 +40,7 @@ List of Implemented Fixes and Changes for Maintenance Re= leases of PCCTS #309=2E (Changed in MR32) Renamed baseName because of VMS name conflict =20 Renamed baseName to pcctsBaseName to avoid library name conflict with - VMS library routine=2E Reported by Jean-Fran=C3=81ois PI=E2=80=A6RON= NE=2E + VMS library routine=2E Reported by Jean-Fran=C3=94=C3=B8=CE=A9ois PI= =C3=94=C3=B8=CE=A9RONNE=2E =20 #308=2E (Changed in MR32) Used "template" as name of formal in C routine =20 @@ -210,7 +210,7 @@ List of Implemented Fixes and Changes for Maintenance = Releases of PCCTS =20 Sorcerer generated code may contain many calls to _t->type() in a single statement=2E This change introduces a temporary variable - to eliminate unnnecesary function calls=2E + to eliminate unnecesary function calls=2E =20 Change implemented by Tom Molteno (tim videoscript=2Ecom)=2E =20 @@ -525,11 +525,11 @@ List of Implemented Fixes and Changes for Maintenanc= e Releases of PCCTS #275=2E (Changed in MR23) Addition of -nopurify option to antlr =20 A long time ago the PURIFY macro was introduced to initialize - return value arguments and get rid of annying messages from program - that checked for unitialized variables=2E + return value arguments and get rid of annoying messages from program + that checked for uninitialized variables=2E =20 This has caused significant annoyance for C++ users that had - classes with virtual functions or non-trivial contructors because + classes with virtual functions or non-trivial constructors because it would zero the object, including the pointer to the virtual function table=2E This could be defeated by redefining the PURIFY macro to be empty, but it was a constant surprise to @@ -656,12 +656,12 @@ List of Implemented Fixes and Changes for Maintenanc= e Releases of PCCTS #266=2E (Changed in MR23) virtual function printMessage() =20 Bill Menees (bill=2Emenees gogallagher=2Ecom) has completed the - tedious taks of replacing all calls to fprintf() with calls + tedious tasks of replacing all calls to fprintf() with calls to the virtual function printMessage()=2E For classes which have a pointer to the parser it forwards the printMessage() call to the parser's printMessage() routine=2E =20 - This should make it significanly easier to redirect pccts + This should make it significantly easier to redirect pccts error and warning messages=2E =20 #265=2E (Changed in MR23) Remove "labase++" in C++ mode @@ -975,7 +975,7 @@ List of Implemented Fixes and Changes for Maintenance = Releases of PCCTS =20 #249=2E (MR21) Changes for DEC/VMS systems =20 - Jean-Fran=C3=81ois Pi=C3=88ronne (jfp altavista=2Enet) has updated so= me + Jean-Fran=C3=94=C3=B8=CE=A9ois Pi=C3=94=C3=B8=CE=A9ronne (jfp altavis= ta=2Enet) has updated some VMS related command files and fixed some minor problems related to building pccts under the DEC/VMS operating system=2E For DEC/VMS users the most important differences are: @@ -1253,7 +1253,7 @@ List of Implemented Fixes and Changes for Maintenanc= e Releases of PCCTS =20 #228=2E (Changed in MR20) dlg crashes on "()" =20 - The following token defintion will cause DLG to crash=2E + The following token definition will cause DLG to crash=2E =20 #token "()" =20 @@ -1747,10 +1747,10 @@ List of Implemented Fixes and Changes for Maintena= nce Releases of PCCTS =20 #195=2E (Changed in MR14) #line directive not at column 1 =20 - Under certain circunstances a predicate test could generate + Under certain circumstances a predicate test could generate a #line directive which was not at column 1=2E =20 - Reported with fix by David K=C3=82gedal (davidk lysator=2Eliu=2Ese= ) + Reported with fix by David K=C3=94=C3=B8=CE=A9gedal (davidk lysato= r=2Eliu=2Ese) (http://www=2Elysator=2Eliu=2Ese/~davidk/)=2E =20 #194=2E (Changed in MR14) (C Mode only) Demand lookahead with #tokclass @@ -2319,7 +2319,7 @@ List of Implemented Fixes and Changes for Maintenanc= e Releases of PCCTS #164=2E (Changed in MR13) Unused variable _astp =20 For many compilations, we have lived with warnings about - the unused variable _astp=2E It turns out that this varible + the unused variable _astp=2E It turns out that this variable can *never* be used because the code which references it was commented out=2E =20 diff --git a/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133_BEFORE_M= R13=2Etxt b/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133_BEFORE_MR1= 3=2Etxt index bba5ecdd64=2E=2E33d7d20a6a 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133_BEFORE_MR13=2Et= xt +++ b/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_FROM_133_BEFORE_MR13=2Et= xt @@ -690,7 +690,7 @@ =20 The first line of the makefiles require a definition of PCCTS_HOME= =2E =20 - These are in additiion to the AntlrMSVC50=2E* and DlgMSVC50=2E* + These are in addition to the AntlrMSVC50=2E* and DlgMSVC50=2E* supplied by Jeff Vincent (JVincent@novell=2Ecom)=2E =20 #137=2E (Changed in MR11) Token getType(), getText(), getLine() const mem= bers @@ -1681,7 +1681,7 @@ the variable [zz]traceOptionValueDefault is set to 0 or 1=2E When the parser is initialized or [zz]traceReset() is called the value of [zz]traceOptionValueDefault is copied to [zz]traceOptionVa= lue=2E - The value of [zz]traceGuessOptionValue is always initialzed to 1, + The value of [zz]traceGuessOptionValue is always initialized to 1, but, as noted earlier, nothing will be reported unless [zz]traceOptionValue is also positive=2E =20 @@ -2028,7 +2028,7 @@ =20 The syntax of the class statement ("class parser-name {") has been extended to allow for the specification of base - classes=2E An arbirtrary number of tokens may now appear + classes=2E An arbitrary number of tokens may now appear between the class name and the "{"=2E They are output again when the class declaration is generated=2E For example: @@ -2225,7 +2225,7 @@ This is especially important for predicates formed by rules like the following: =20 - uppperCaseVowel : <>? vowel; + upperCaseVowel : <>? vowel; vowel: : <>? LETTERS; =20 These predicates are combined using AND since both must be @@ -2492,7 +2492,7 @@ a predicate expression tree=2E Prior to 1=2E33MR10 this link was n= ever cleared and the next time the guard was used to construct a new tree the link could contain a spurious reference to another element - which had previosly been joined to it in the semantic predicate tre= e=2E + which had previously been joined to it in the semantic predicate tr= ee=2E =20 For example: =20 @@ -2565,7 +2565,7 @@ tokens=2E They may not contain references to (=2E=2E=2E)+ and (=2E=2E=2E)* blocks=2E This is now checked=2E This replaces the fatal error message in item #78 with an appropriate - (non-fatal) error messge=2E + (non-fatal) error message=2E =20 In theory, context guards should be allowed to reference rules=2E However, I have not had time to fix this=2E @@ -2581,7 +2581,7 @@ correctly when the sets were of unequal sizes=2E Rewrote set_equ to make it simpler and remove unnecessary and expensive calls to set_deg()=2E This routine was not used - in 1=2E33 vanila=2E + in 1=2E33 vanilla=2E =20 #85=2E (Changed in 1=2E33MR10) Allow redefinition of MaxNumFiles =20 @@ -2617,7 +2617,7 @@ =20 There were no changes in antlr or dlg output from the revised versi= on=2E =20 - The following fragment demonstates the problem by giving different + The following fragment demonstrates the problem by giving different follow sets (option -pa) for var_access when built with k=3D1 and c= k=3D2 on 1=2E33 vanilla and 1=2E33MR10: =20 @@ -2658,7 +2658,7 @@ =20 1=2E start : r:rule t:Token <<$start=3D$r;>> =20 - The $r refrence will not work when combined with + The $r reference will not work when combined with the -gt option=2E =20 2=2E start : t:Token <<$start=3D$t;>> @@ -3010,7 +3010,7 @@ parse by "falling through"=2E The parse can still be easily resumed in other ways, but not in the most natural fashion=2E =20 - This results in an inconsistentcy between named exception + This results in an inconsistency between named exception handlers and exception handlers for alternatives=2E When an exception handler for an alternative "falls through" it goes to the nextmost outer handler - not the "normal @@ -3062,7 +3062,7 @@ zzconsumeUntil() zzconsumeUntilToken() =20 -#58=2E (Changed in 1=2E33MR7) Added defintion of zzbufsize to dlgauto=2E= h +#58=2E (Changed in 1=2E33MR7) Added definition of zzbufsize to dlgauto= =2Eh =20 #57=2E (Changed in 1=2E33MR7) Format of #line directive =20 @@ -3073,9 +3073,9 @@ =20 #56=2E (Added in 1=2E33MR7) Jan Mikkelsen =20 - Move PURIFY macro invocaton to after rule's init action=2E + Move PURIFY macro invocation to after rule's init action=2E =20 -#55=2E (Fixed in 1=2E33MR7) Unitialized variables in ANTLRParser +#55=2E (Fixed in 1=2E33MR7) Uninitialized variables in ANTLRParser =20 Member variables inf_labase and inf_last were not initialized=2E (See item #50=2E) @@ -3115,7 +3115,7 @@ The reason for "Normal Action" is that the normal flow of the program after a user-written exception handler is to "drop throug= h"=2E In the case of an exception handler for a rule this results in - the exection of a "return" statement=2E In the case of an + the execution of a "return" statement=2E In the case of an exception handler attached to an alternative, rule, or token this is the code that would have executed had there been no exception=2E @@ -3332,7 +3332,7 @@ =20 Repair bug introduced by 1=2E33MR1 for #tokdefs=2E The original = fix placed "DLGmaxToken=3D9999" and "DLGminToken=3D0" in the TokenTyp= e enum - in order to fix a problem with an aggresive compiler assigning an= 8 + in order to fix a problem with an aggressive compiler assigning a= n 8 bit enum which might be too narrow=2E This caused #tokdefs to as= sume that there were 9999 real tokens=2E The repair to the fix causes= antlr to ignore TokenTypes "DLGmaxToken" and "DLGminToken" in a #tokdefs f= ile=2E diff --git a/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_SUMMARY=2Etxt b/B= aseTools/Source/C/VfrCompile/Pccts/CHANGES_SUMMARY=2Etxt index 91defae169=2E=2E7134500e2f 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_SUMMARY=2Etxt +++ b/BaseTools/Source/C/VfrCompile/Pccts/CHANGES_SUMMARY=2Etxt @@ -1350,7 +1350,7 @@ the variable [zz]traceOptionValueDefault is set to 0 or 1=2E When the parser is initialized or [zz]traceReset() is called the value of [zz]traceOptionValueDefault is copied to [zz]traceOptionVa= lue=2E - The value of [zz]traceGuessOptionValue is always initialzed to 1, + The value of [zz]traceGuessOptionValue is always initialized to 1, but, as noted earlier, nothing will be reported unless [zz]traceOptionValue is also positive=2E =20 @@ -1766,7 +1766,7 @@ This is especially important for predicates formed by rules like the following: =20 - uppperCaseVowel : <>? vowel; + upperCaseVowel : <>? vowel; vowel: : <>? LETTERS; =20 These predicates are combined using AND since both must be @@ -1928,7 +1928,7 @@ parse by "falling through"=2E The parse can still be easily resumed in other ways, but not in the most natural fashion=2E =20 - This results in an inconsistentcy between named exception + This results in an inconsistency between named exception handlers and exception handlers for alternatives=2E When an exception handler for an alternative "falls through" it goes to the nextmost outer handler - not the "normal @@ -1990,7 +1990,7 @@ The reason for "Normal Action" is that the normal flow of the program after a user-written exception handler is to "drop throug= h"=2E In the case of an exception handler for a rule this results in - the exection of a "return" statement=2E In the case of an + the execution of a "return" statement=2E In the case of an exception handler attached to an alternative, rule, or token this is the code that would have executed had there been no exception=2E diff --git a/BaseTools/Source/C/VfrCompile/Pccts/KNOWN_PROBLEMS=2Etxt b/Ba= seTools/Source/C/VfrCompile/Pccts/KNOWN_PROBLEMS=2Etxt index 5a9b22e1bd=2E=2E539cf77525 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/KNOWN_PROBLEMS=2Etxt +++ b/BaseTools/Source/C/VfrCompile/Pccts/KNOWN_PROBLEMS=2Etxt @@ -22,7 +22,7 @@ If the context guard g is not a subset of the lookahead context for r= 1 (in other words g is neither A nor B) then the code may execute r1=20 even when the lookahead context is not satisfied=2E This is an error - by the person coding the grammer, and the error should be reported to + by the person coding the grammar, and the error should be reported to the user, but it isn't=2E expect=2E Some examples I've run seem to indicate that such an error actually results in the rule becoming unreachable=2E @@ -184,7 +184,7 @@ =20 THM: In MR20 have fixed the most common cases=2E =20 - The following token defintion will cause DLG to crash=2E + The following token definition will cause DLG to crash=2E =20 #token "()" =20 diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Ec b/BaseToo= ls/Source/C/VfrCompile/Pccts/antlr/antlr=2Ec index 8088b3c257=2E=2E58d0b134b9 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Ec @@ -1394,7 +1394,7 @@ tclass() /* MR23 */ if (p!=3D NULL && akaString !=3D NULL) { /* MR23 */ if (p->akaString !=3D NULL) { /* MR23 */ if (strcmp(p->akaString,akaString) !=3D 0) { - /* MR23 */ warnFL(eMsg2("this #tokclass statment c= onflicts with a previous #tokclass %s(\"%s\") statement", + /* MR23 */ warnFL(eMsg2("this #tokclass statement = conflicts with a previous #tokclass %s(\"%s\") statement", /* MR23 */ t,p->akaString), /* MR23 */ FileStr[save_file],save_line); /* MR23 */ }; @@ -1635,7 +1635,7 @@ token() if (te !=3D NULL && akaString !=3D NULL) { if (te->akaString !=3D NULL) { if (strcmp(te->akaString,akaString) !=3D 0) { - warnFL(eMsg2("this #token statment conflicts with a previous #t= oken %s(\"%s\") statement", + warnFL(eMsg2("this #token statement conflicts with a previous #= token %s(\"%s\") statement", t,te->akaString), FileStr[save_file],save_line); }; diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Eg b/BaseToo= ls/Source/C/VfrCompile/Pccts/antlr/antlr=2Eg index e01728a102=2E=2Ec44b036c6f 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Eg +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Eg @@ -1331,7 +1331,7 @@ tclass : <akaString !=3D NULL) { /* MR23 */ if (strcmp(p->akaString,akaString) !=3D 0) { -/* MR23 */ warnFL(eMsg2("this #tokclass statment conflicts= with a previous #tokclass %s(\"%s\") statement", +/* MR23 */ warnFL(eMsg2("this #tokclass statement conflict= s with a previous #tokclass %s(\"%s\") statement", /* MR23 */ t,p->akaString), /* MR23 */ FileStr[save_file],save_line); /* MR23 */ }; @@ -1439,7 +1439,7 @@ token : <> if (te !=3D NULL && akaString !=3D NULL) { if (te->akaString !=3D NULL) { if (strcmp(te->akaString,akaString) !=3D 0) { - warnFL(eMsg2("this #token statment conflicts with a= previous #token %s(\"%s\") statement", + warnFL(eMsg2("this #token statement conflicts with = a previous #token %s(\"%s\") statement", t,te->akaString), FileStr[save_file],save_line); }; diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Er b/BaseToo= ls/Source/C/VfrCompile/Pccts/antlr/antlr=2Er index e3de38759f=2E=2Ea8d183c4eb 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Er +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr=2Er @@ -286,7 +286,7 @@ resource 'cmdo' (128, "Antlr") { "If this option is checked, ANTLR will ge" "nerate a cross reference for all rules=2E " "For each rule it will print a list of al" - "l other rules that refrence it=2E" + "l other rules that reference it=2E" }, /* [10] */ NotDependent { diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/egman=2Ec b/BaseToo= ls/Source/C/VfrCompile/Pccts/antlr/egman=2Ec index c8a633fc06=2E=2Eba1384dabe 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/egman=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/egman=2Ec @@ -166,7 +166,7 @@ ExceptionGroup *eg; }; }; =20 - /* ocurs at a later pass then for the exception_label */ + /* occurs at a later pass then for the exception_label */ /* if an outerEG has been found then fill in the outer EG */ /* remove if from the list when the BlkLevel gets smaller */ =20 diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/fset=2Ec b/BaseTool= s/Source/C/VfrCompile/Pccts/antlr/fset=2Ec index e1a76ec620=2E=2Ee3fac09f2a 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/fset=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/fset=2Ec @@ -353,7 +353,7 @@ set *rk_out; set_orin(&a, b); set_free(b); } - set_free(rk); /* this has no members, but free it's memory */ + set_free(rk); /* this has no members, but free its memory */ set_orin(rk_out, rk2); /* remember what we couldn't do */ set_free(rk2); if (MR_MaintainBackTrace) MR_pointerStackPop(&MR_BackTraceStack); @@ -937,7 +937,7 @@ int jtype; long n; int thisOverflow=3D0; /* MR9 */ long set_deg_value; /* MR10 */ - long threshhold; /* MR10 */ + long threshold; /* MR10 */ =20 require(block!=3DNULL, "NULL block"); require(block->ntype=3D=3DnJunction, "invalid block"); @@ -954,8 +954,8 @@ int jtype; b =3D set_and(alt1->fset[i], alt2->fset[i]); /* MR9 */ set_deg_value =3D set_deg(b); /* MR10 */ if (n > 0) { -/* MR10 */ threshhold =3D LONG_MAX / n; -/* MR10 */ if (set_deg_value <=3D threshhold) { +/* MR10 */ threshold =3D LONG_MAX / n; +/* MR10 */ if (set_deg_value <=3D threshold) { /* MR10 */ n *=3D set_deg_value; /* MR10 */ } else { /* MR10 */ n=3DLONG_MAX; diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/fset2=2Ec b/BaseToo= ls/Source/C/VfrCompile/Pccts/antlr/fset2=2Ec index fe1b4d6242=2E=2E8a4823a054 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/fset2=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/fset2=2Ec @@ -739,7 +739,7 @@ set *rk_out; t =3D tlink(t, u, k2); /* any alts missing k2 toks, add u onto end */ Tfree(u); /* MR10 */ } - set_free(rk); /* rk is empty, but free it's memory */ + set_free(rk); /* rk is empty, but free its memory */ set_orin(rk_out, rk2); /* remember what we couldn't do */ set_free(rk2); return t; diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/gen=2Ec b/BaseTools= /Source/C/VfrCompile/Pccts/antlr/gen=2Ec index 975558f0dd=2E=2E8e41239f47 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/gen=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/gen=2Ec @@ -1590,7 +1590,7 @@ int *lastAltEmpty; /* MR23 */ with input "C" =20 Before MR21 the error message would be "expecting B - found C"=2E Aft= er MR21 - the error message would be "expcect A, B - found C"=2E This was good,= but it + the error message would be "expect A, B - found C"=2E This was good, = but it caused problems for those using parser exceptions because the referenc= e to B was generated inside the {=2E=2E=2E} where B really wasn't part of t= he block=2E =20 @@ -1781,7 +1781,7 @@ Junction *q; followed by a loopBlock whereas the start of a (=2E=2E=2E)+ block is represented as a single node: a plusBlock=2E So if first_item_is_guess= _block is called when the current node is a loopBegin it starts with the - loop block rather than the the sub block which follows the loop block= =2E + loop block rather than the sub block which follows the loop block=2E However, we can't just skip past the loop block because some routines depend on the old implementation=2E So, we provide a new implementatio= n which does skip the loopBlock=2E However, which should be called when = ? @@ -3496,7 +3496,7 @@ do { /* MR10 Change recursion into iteration = */ /* MR23 If there were only one return value operand and it had an initializer then it would have been - initiailized in the declaration=2E + initialized in the declaration=2E */ =20 returnValueInitializer =3D getInitializer(q->ret); /* MR23 */ @@ -3740,7 +3740,7 @@ RuleEntry *r; /* NOTICE: this is done only here, for the method definition, but= */ /* not for the method declaration inside the class = */ /* definition=2E This is exactly the behaviour defined in= */ - /* C++ standard for default paramters=2E = */ + /* C++ standard for default parameters=2E = */ =20 DumpANSIFunctionArgDef(output,q, 0 /* emit initializers ? */); _gen("\n"); @@ -4726,7 +4726,7 @@ int bInitializer; blocks to look like (=2E=2E=2E|=2E=2E=2E| epsilon) since there were intervening generics=2E This fixes the problem for this particular case=2E Things like actions or empty blocks of - various kinds will still cause problems, but I wasnt't + various kinds will still cause problems, but I wasn't prepared to handle pathological cases like (A|()*)=2E It does handle (A | ()), which is a recommended idiom for epsilon=2E diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/generic=2Eh b/BaseT= ools/Source/C/VfrCompile/Pccts/antlr/generic=2Eh index 8d736d5200=2E=2E30cc8b6031 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/generic=2Eh +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/generic=2Eh @@ -215,7 +215,7 @@ typedef Graph Attrib; =20 /* M a x i m u m s */ =20 -/* MR20 Note G=2E Hobbelt These values are superceded by values in hash= =2Eh */ +/* MR20 Note G=2E Hobbelt These values are superseded by values in hash= =2Eh */ =20 #ifndef HashTableSize #define HashTableSize 253 diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex=2Ec b/BaseTools= /Source/C/VfrCompile/Pccts/antlr/lex=2Ec index a4e7f69b36=2E=2E357b8ace01 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex=2Ec @@ -640,7 +640,7 @@ Junction *q; * */ =20 -/* MR5 Jan Mikkelsen 26-May-97 - added initalComma parameter = */ +/* MR5 Jan Mikkelsen 26-May-97 - added initialComma parameter = */ =20 void #ifdef __USE_PROTOS @@ -696,7 +696,7 @@ FILE *output; &pSeparator, &nest); =20 - /* MR26 Handle rule arguments such as: IIR_Bool (IIR_Decl::*contstrai= nt)() + /* MR26 Handle rule arguments such as: IIR_Bool (IIR_Decl::*constrain= t)() For this we need to strip off anything which follows the symbol=2E */ =20 diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist=2Ec b/BaseT= ools/Source/C/VfrCompile/Pccts/antlr/mrhoist=2Ec index 110bf5996f=2E=2Eb57f5ded84 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist=2Ec @@ -2357,7 +2357,7 @@ NEXT_P: * expression, such as "#pred NotA !A" or "#pred NotXY ! (X && Y) or * "#pred XbarY !(X && Y)"=2E In particular, it cannot be set by an= y * predicate expression occurring under any other circumstances=2E - * The #pred predicate expresssions are stored with in predEntry->pr= ed + * The #pred predicate expressions are stored with in predEntry->pre= d * and do not normally appear anywhere else until the predicates are * "unfolded" in order to recognize redundancies, conflicts, and * tautologies=2E diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/automata=2Ec b/BaseTo= ols/Source/C/VfrCompile/Pccts/dlg/automata=2Ec index d6d5d7809d=2E=2E2d473ec8b6 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/automata=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/automata=2Ec @@ -90,7 +90,7 @@ set nfa_states; if (dfa_size<=3Ddfa_allocated){ /* need to redo array */ if (!dfa_array){ - /* need some to do inital allocation */ + /* need some to do initial allocation */ dfa_size=3Ddfa_allocated+DFA_MIN; dfa_array=3D(dfa_node **) malloc(sizeof(dfa_node*)* dfa_size); @@ -113,7 +113,7 @@ set nfa_states; } =20 =20 -/* past a pointer to the start start of the nfa graph +/* past a pointer to the start of the nfa graph * nfa_to_dfa convers this graph to dfa=2E The function returns * a pointer to the first dfa state=2E * NOTE: The function that prints out the table will have to figure out = how @@ -219,7 +219,7 @@ FILE *f; #endif =20 /* Returns a pointer to a dfa node that has the same nfa nodes in it=2E - * This may or maynot be a newly created node=2E + * This may or may not be a newly created node=2E */ dfa_node * #ifdef __USE_PROTOS diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Eh b/BaseTools/S= ource/C/VfrCompile/Pccts/dlg/dlg=2Eh index 9f387c0a1c=2E=2E97d1718c70 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Eh +++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Eh @@ -117,7 +117,7 @@ typedef struct { extern char program[]; /* tells what program this is */ extern char version[]; /* tells what version this is */ extern char *file_str[]; /* file names being used */ -extern int err_found; /* flag to indicate error occured */ +extern int err_found; /* flag to indicate error occurred */ extern int action_no; /* last action function printed */ extern int func_action; /* should actions be turned into functions?*/ extern set used_chars; /* used to label trans=2E arcs */ @@ -129,7 +129,7 @@ extern int comp_level; /* what compression level to us= e */ extern int interactive; /* interactive scanner (avoid lookahead)*/ extern int mode_counter; /* keeps track of the number of %%name */ extern int dfa_basep[]; /* start of each group of dfa */ -extern int dfa_class_nop[];/* number of transistion arcs in */ +extern int dfa_class_nop[];/* number of transition arcs in */ /* each dfa in each mode */ extern int nfa_allocated; extern int dfa_allocated; diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Er b/BaseTools/S= ource/C/VfrCompile/Pccts/dlg/dlg=2Er index c5311fa1b8=2E=2Ec88c151318 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Er +++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg=2Er @@ -23,9 +23,9 @@ resource 'cmdo' (128, "Dlg") { {35, 175, 50, 225}, "On", "-CC", - "When this control is checked, DLG genera" - "tes a scanner using C++ classes rather t" - "han C functions=2E" + "When this control is checked, DLG generates " + "a scanner using C++ classes rather than " + "C functions=2E" }, /* [2] */ Or { @@ -41,8 +41,7 @@ resource 'cmdo' (128, "Dlg") { "DLGLexer", keepCase, "-cl", - "This entry specifies the name DLG uses f" - "or the C++ lexer class=2E" + "This entry specifies the name DLG uses for the C++ lexer class=2E" }, /* [3] */ NotDependent { @@ -90,8 +89,7 @@ resource 'cmdo' (128, "Dlg") { {66, 25, 85, 135}, "Output File", "", - "Choose the name of the file that will ho" - "ld the DLG-produced scanner=2E" + "Choose the name of the file that will hold the DLG-produced scanner= =2E" }, NoMore { =20 @@ -161,8 +159,7 @@ resource 'cmdo' (128, "Dlg") { "mode=2Eh", keepCase, "-m", - "This entry specifies the name DLG uses f" - "or its lexical mode output file=2E" + "This entry specifies the name DLG uses for its lexical mode output f= ile=2E" }, /* [11] */ NotDependent { @@ -171,15 +168,14 @@ resource 'cmdo' (128, "Dlg") { RadioButtons { { /* array radioArray: 3 elements */ /* [1] */ - {134, 175, 149, 255}, "None", "", Set, "When this option is selected= , DLG will n" - "ot compress its tables=2E", + {134, 175, 149, 255}, "None", "", Set, "When this option is selected= , DLG will not " + "compress its tables=2E", /* [2] */ - {134, 265, 149, 345}, "Level 1", "-C1", NotSet, "When this option is= selected, DLG will r" - "emove all unused characters from the tra" - "nsition-from table=2E", + {134, 265, 149, 345}, "Level 1", "-C1", NotSet, "When this option is= selected, DLG will " + "remove all unused characters from the transition-from table=2E", /* [3] */ - {134, 360, 149, 450}, "Level 2", "-C2", NotSet, "When this option is= selected, DLG will p" - "erform level 1 compression plus it will " + {134, 360, 149, 450}, "Level 2", "-C2", NotSet, "When this option is= selected, DLG will " + "perform level 1 compression plus it will " "map equivalent characters into the same " "character classes=2E" } @@ -202,8 +198,8 @@ resource 'cmdo' (128, "Dlg") { {165, 20, 180, 145}, "Case Sensitive", "-ci", - "When this control is checked, the DLG au" - "tomaton will treat upper and lower case " + "When this control is checked, the DLG automaton " + "will treat upper and lower case " "characters identically=2E" }, /* [14] */ @@ -215,9 +211,8 @@ resource 'cmdo' (128, "Dlg") { {165, 150, 180, 300}, "Interactive Scanner", "-i", - "When this control is checked, DLG will g" - "enerate as interactive a scanner as poss" - "ible=2E" + "When this control is checked, DLG will generate " + "as interactive a scanner as possible=2E" }, /* [15] */ NotDependent { @@ -229,8 +224,8 @@ resource 'cmdo' (128, "Dlg") { "Ambiguity Warnings", "-Wambiguity", "When this control is checked, DLG warns " - "if more than one regular expression coul" - "d match the same character sequence=2E" + "if more than one regular expression could " + "match the same character sequence=2E" }, /* [16] */ NotDependent { @@ -240,9 +235,9 @@ resource 'cmdo' (128, "Dlg") { VersionString { "1=2E33MR" }, - "PCCTS was written by Terence Parr, Russe" - "ll Quong, Will Cohen, and Hank Dietz: 19" - "89-1998=2E MPW port by Scott Haney=2E", + "PCCTS was written by Terence Parr, Russell " + "Quong, Will Cohen, and Hank Dietz: 1989-1998=2E " + "MPW port by Scott Haney=2E", noDialog }, /* [17] */ @@ -266,8 +261,8 @@ resource 'cmdo' (128, "Dlg") { {142, 20, 157, 148}, "Generate ANSI C", "-ga", - "When this control is checked, DLG genera" - "tes ANSI C compatible code=2E" + "When this control is checked, DLG generates " + "ANSI C compatible code=2E" } } } diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Ec b/BaseTools= /Source/C/VfrCompile/Pccts/dlg/dlg_p=2Ec index 51f79759fb=2E=2Efbaf93afc6 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Ec @@ -813,7 +813,7 @@ new_nfa_node() if (nfa_size<=3Dnfa_allocated){ /* need to redo array */ if (!nfa_array){ - /* need some to do inital allocation */ + /* need some to do initial allocation */ nfa_size=3Dnfa_allocated+NFA_MIN; nfa_array=3D(nfa_node **) malloc(sizeof(nfa_node*)* nfa_size); diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Eg b/BaseTools= /Source/C/VfrCompile/Pccts/dlg/dlg_p=2Eg index 0e3fe6d9d7=2E=2E657f3251a6 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Eg +++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg_p=2Eg @@ -463,7 +463,7 @@ new_nfa_node() if (nfa_size<=3Dnfa_allocated){ /* need to redo array */ if (!nfa_array){ - /* need some to do inital allocation */ + /* need some to do initial allocation */ nfa_size=3Dnfa_allocated+NFA_MIN; nfa_array=3D(nfa_node **) malloc(sizeof(nfa_node*)* nfa_size); diff --git a/BaseTools/Source/C/VfrCompile/Pccts/dlg/relabel=2Ec b/BaseToo= ls/Source/C/VfrCompile/Pccts/dlg/relabel=2Ec index 0b8bc163d1=2E=2Ef2dce30f5f 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/dlg/relabel=2Ec +++ b/BaseTools/Source/C/VfrCompile/Pccts/dlg/relabel=2Ec @@ -134,7 +134,7 @@ int level; /* compression level to uses */ =20 =20 /* given pointer to beginning of graph and recursively walks it trying - * to find a maximal partition=2E This partion in returned in maximal_cl= ass + * to find a maximal partition=2E This partition in returned in maximal_= class */ #ifdef __USE_PROTOS void intersect_nfa_labels(nfa_node* start,set* maximal_class) diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/ATokPtrImpl=2Eh b/BaseT= ools/Source/C/VfrCompile/Pccts/h/ATokPtrImpl=2Eh index a1efc3b3b9=2E=2E4d682a5ef7 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/ATokPtrImpl=2Eh +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/ATokPtrImpl=2Eh @@ -69,7 +69,7 @@ ANTLRTokenPtr::~ANTLRTokenPtr() =20 // // 8-Apr-97 MR1 Make operator -> a const member function -// as weall as some other member functions +// as well as some other member functions // ANTLRTokenPtr& ANTLRTokenPtr::operator =3D (const ANTLRTokenPtr & lhs) = // MR1 { diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/DLG_stream_input=2Eh b/= BaseTools/Source/C/VfrCompile/Pccts/h/DLG_stream_input=2Eh index d2147f5217=2E=2Ef3b4b79e8a 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/DLG_stream_input=2Eh +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/DLG_stream_input=2Eh @@ -6,7 +6,7 @@ /* By Hubert Holin (Hubert=2EHolin@Bigfoot=2Ecom), 1998=2E */ /* */ /* This is completely free stuff, do whatever you want with */ -/* it (but then, I will take no responsability for whatever */ +/* it (but then, I will take no responsibility for whatever */ /* may happen if you do either=2E=2E=2E caveat emptor!)=2E */ /* */ /************************************************************/ @@ -24,12 +24,12 @@ PCCTS_NAMESPACE_STD =20 =20 // NOTES: The semantics of the copy constructor -// and the affectation operator may be unwaranted=2E=2E=2E +// and the affectation operator may be unwarranted=2E=2E=2E // and the stream may not be reset=2E // // It would have been so much nicer for nextChar() // to throw (of for the DLGInputStream to change status) -// upon hiting EOF than to return an "int"=2E=2E=2E +// upon hitting EOF than to return an "int"=2E=2E=2E =20 template < class E, diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/antlr=2Eh b/BaseTools/S= ource/C/VfrCompile/Pccts/h/antlr=2Eh index 80664535d3=2E=2E27a3242742 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/antlr=2Eh +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/antlr=2Eh @@ -797,7 +797,7 @@ extern int zzguessing; extern zzjmp_buf zzguess_start; #endif =20 -/* Define global veriables that refer to values exported by the scanner= =2E +/* Define global variables that refer to values exported by the scanner= =2E * These declarations duplicate those in dlgdef=2Eh, but are needed * if ANTLR is not to generate a =2Edlg file (-gx); PS, this is a hack=2E */ diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler=2Eh b/BaseTools/Sou= rce/C/VfrCompile/VfrCompiler=2Eh index 35339d01c5=2E=2Ef96707debf 100644 --- a/BaseTools/Source/C/VfrCompile/VfrCompiler=2Eh +++ b/BaseTools/Source/C/VfrCompile/VfrCompiler=2Eh @@ -1,6 +1,6 @@ /** @file =20 - VfrCompiler internal defintions=2E + VfrCompiler internal definitions=2E =20 Copyright (c) 2004 - 2018, Intel Corporation=2E All rights reserved=2E This program and the accompanying materials diff --git a/BaseTools/Source/C/VfrCompile/VfrError=2Ecpp b/BaseTools/Sour= ce/C/VfrCompile/VfrError=2Ecpp index c105d73bea=2E=2E7dfea3afda 100644 --- a/BaseTools/Source/C/VfrCompile/VfrError=2Ecpp +++ b/BaseTools/Source/C/VfrCompile/VfrError=2Ecpp @@ -45,7 +45,7 @@ static SVFR_ERROR_HANDLE VFR_ERROR_HANDLE_TABLE [] =3D { { VFR_RETURN_DATA_STRING_ERROR, ": data field string error or not suppo= rt"}, { VFR_RETURN_DEFAULT_VALUE_REDEFINED, ": default value re-defined with = different value"}, { VFR_RETURN_CONSTANT_ONLY, ": only constant is allowed in the expressi= on"}, - { VFR_RETURN_VARSTORE_NAME_REDEFINED_ERROR, ": Varstore name is defined= by more than one varstores, it can't be referred as varstore, only varstor= e strucure name could be used=2E"}, + { VFR_RETURN_VARSTORE_NAME_REDEFINED_ERROR, ": Varstore name is defined= by more than one varstores, it can't be referred as varstore, only varstor= e structure name could be used=2E"}, { VFR_RETURN_BIT_WIDTH_ERROR, ": bit width must be <=3D sizeof (type) *= 8 and the max width can not > 32" }, { VFR_RETURN_STRING_TO_UINT_OVERFLOW, ": String to UINT* Overflow"}, { VFR_RETURN_CODEUNDEFINED, ": undefined Error Code" } diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg=2Ecpp b/BaseTools/So= urce/C/VfrCompile/VfrFormPkg=2Ecpp index 2944ffc76b=2E=2E6e63b69824 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg=2Ecpp +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg=2Ecpp @@ -945,7 +945,7 @@ CFormPkg::DeclarePendingQuestion ( } CNObj=2ESetFlags (0, Info=2EmVarType); // - // Use maximum value not to limit the vaild value for the undefin= ed question=2E + // Use maximum value not to limit the valid value for the undefin= ed question=2E // switch (Info=2EmVarType) { case EFI_IFR_TYPE_NUM_SIZE_64: @@ -1515,7 +1515,7 @@ CIfrRecordInfoDB::IfrRecordAdjust ( } // // extract inconsistent opcode list - // pNode is Incosistent opcode, tNode is End Opcode + // pNode is Inconsistent opcode, tNode is End Opcode // =20 // diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax=2Eg b/BaseTools/Sourc= e/C/VfrCompile/VfrSyntax=2Eg index c72a62ae91=2E=2Ef8465d47d4 100644 --- a/BaseTools/Source/C/VfrCompile/VfrSyntax=2Eg +++ b/BaseTools/Source/C/VfrCompile/VfrSyntax=2Eg @@ -64,7 +64,7 @@ VfrParserStart ( // // Define a lexical class for parsing quoted strings=2E Basically // starts with a double quote, and ends with a double quote that -// is not preceeded with a backslash=2E +// is not preceded with a backslash=2E // #lexclass QUOTED_STRING #token TheString "~[\"]*\"" << mode (START); >> @@ -1214,7 +1214,7 @@ vfrStatementVarStoreNameValue : ; =20 // -// keep classDeinition and validClassNames for compatibility but not gene= rate +// keep classDefinition and validClassNames for compatibility but not gen= erate // any IFR object // classDefinition[UINT16 & Class] : @@ -4121,7 +4121,7 @@ vfrStatementExpression [UINT32 RootLevel, UINT32 Exp= OpCount =3D 0] : =20 // // Add new sub function for the sub expression extension to remember the = ExpOpCount -// This funciton is only called by sub expression=2E +// This function is only called by sub expression=2E // vfrStatementExpressionSub [UINT32 RootLevel, UINT32 & ExpOpCount] : andTerm[$RootLevel, $ExpOpCount] @@ -5615,7 +5615,7 @@ EfiVfrParser::_DeclareDefaultFrameworkVarStore ( VSEObj=2ESetAttributes (0x00000002); //hardcode EFI_VARIABLE_BOOTSE= RVICE_ACCESS attribute VSEObj=2ESetGuid (&pNode->mGuid); VSEObj=2ESetVarStoreId (pNode->mVarStoreId); - // Generate old efi varstore storage structure for compatiable with= old "VarEqVal" opcode, + // Generate old efi varstore storage structure for compatible with = old "VarEqVal" opcode, // which is 3 bytes less than new structure define in UEFI Spec 2= =2E3=2E1=2E VSEObj=2ESetBinaryLength (sizeof (EFI_IFR_VARSTORE_EFI) - 3); #ifdef VFREXP_DEBUG diff --git a/BaseTools/Source/C/VfrCompile/VfrUtilityLib=2Ecpp b/BaseTools= /Source/C/VfrCompile/VfrUtilityLib=2Ecpp index 2ebaf58f17=2E=2E0d0f926f82 100644 --- a/BaseTools/Source/C/VfrCompile/VfrUtilityLib=2Ecpp +++ b/BaseTools/Source/C/VfrCompile/VfrUtilityLib=2Ecpp @@ -1177,7 +1177,7 @@ CVfrVarDataTypeDB::DataTypeAddBitField ( } } else { // - // Check whether the bit fileds can be contained within one FieldType= =2E + // Check whether the bit fields can be contained within one FieldType= =2E // if (pTmp !=3D NULL && pTmp->mIsBitField && strcmp (pTmp->mFieldType->= mTypeName, pNewField->mFieldType->mTypeName) =3D=3D 0 && (pTmp->mBitOffset - pTmp->mOffset * 8) + pTmp->mBitWidth + pNewFie= ld->mBitWidth <=3D pNewField->mFieldType->mTotalSize * 8) { @@ -2058,7 +2058,7 @@ CVfrDataStorage::GetVarStoreId ( *VarStoreId =3D EFI_VARSTORE_ID_INVALID; =20 // - // Assume that Data strucutre name is used as StoreName, and check agai= n=2E + // Assume that Data structure name is used as StoreName, and check agai= n=2E // ReturnCode =3D GetVarStoreByDataType (StoreName, &pNode, StoreGuid); if (pNode !=3D NULL) { @@ -2843,7 +2843,7 @@ CVfrQuestionDB::PrintAllQuestion ( SVfrQuestionNode *pNode =3D NULL; =20 for (pNode =3D mQuestionList; pNode !=3D NULL; pNode =3D pNode->mNext) = { - printf ("Question VarId is %s and QuesitonId is 0x%x\n", pNode->mVarI= dStr, pNode->mQuestionId); + printf ("Question VarId is %s and QuestionId is 0x%x\n", pNode->mVarI= dStr, pNode->mQuestionId); } } =20 diff --git a/BaseTools/Source/Python/AutoGen/AutoGen=2Epy b/BaseTools/Sour= ce/Python/AutoGen/AutoGen=2Epy index a95d2c710e=2E=2E620f49adf8 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen=2Epy +++ b/BaseTools/Source/Python/AutoGen/AutoGen=2Epy @@ -1187,7 +1187,7 @@ class PlatformAutoGen(AutoGen): # @cached_class_function def CreateCodeFile(self, CreateModuleCodeFile=3DFalse): - # only module has code to be greated, so do nothing if CreateModu= leCodeFile is False + # only module has code to be created, so do nothing if CreateModu= leCodeFile is False if not CreateModuleCodeFile: return =20 @@ -1849,7 +1849,7 @@ class PlatformAutoGen(AutoGen): =20 ## Get tool chain definition # - # Get each tool defition for given tool chain from tools_def=2Etxt a= nd platform + # Get each tool definition for given tool chain from tools_def=2Etxt= and platform # @cached_property def ToolDefinition(self): @@ -2130,8 +2130,8 @@ class PlatformAutoGen(AutoGen): =20 ## Override PCD setting (type, value, =2E=2E=2E) # - # @param ToPcd The PCD to be overrided - # @param FromPcd The PCD overrideing from + # @param ToPcd The PCD to be overridden + # @param FromPcd The PCD overriding from # def _OverridePcd(self, ToPcd, FromPcd, Module=3D"", Msg=3D"", Library= =3D""): # @@ -2218,7 +2218,7 @@ class PlatformAutoGen(AutoGen): =20 ## Apply PCD setting defined platform to a module # - # @param Module The module from which the PCD setting will be ove= rrided + # @param Module The module from which the PCD setting will be ove= rridden # # @retval PCD_list The list PCDs with settings from platform # @@ -2450,7 +2450,7 @@ class PlatformAutoGen(AutoGen): =20 ## Append build options in platform to a module # - # @param Module The module to which the build options will be app= ened + # @param Module The module to which the build options will be app= ended # # @retval options The options appended with build options in pl= atform # @@ -2560,7 +2560,7 @@ class ModuleAutoGen(AutoGen): self=2ESourceDir =3D mws=2Erelpath(self=2ESourceDir, self=2EWorks= paceDir) =20 self=2ESourceOverrideDir =3D None - # use overrided path defined in DSC file + # use overridden path defined in DSC file if self=2EMetaFile=2EKey in GlobalData=2EgOverrideDir: self=2ESourceOverrideDir =3D GlobalData=2EgOverrideDir[self= =2EMetaFile=2EKey] =20 @@ -2685,7 +2685,7 @@ class ModuleAutoGen(AutoGen): def Guid(self): # # To build same module more than once, the module path with FILE_= GUID overridden has - # the file name FILE_GUIDmodule=2Einf, but the relative path (sel= f=2EMetaFile=2EFile) is the realy path + # the file name FILE_GUIDmodule=2Einf, but the relative path (sel= f=2EMetaFile=2EFile) is the real path # in DSC=2E The overridden GUID can be retrieved from file name # if os=2Epath=2Ebasename(self=2EMetaFile=2EFile) !=3D os=2Epath=2E= basename(self=2EMetaFile=2EPath): @@ -2745,7 +2745,7 @@ class ModuleAutoGen(AutoGen): self=2EMetaFile=2EBaseName )) =20 - ## Return the directory to store the intermediate object files of the= mdoule + ## Return the directory to store the intermediate object files of the= module @cached_property def OutputDir(self): return _MakeDir((self=2EBuildDir, "OUTPUT")) @@ -2757,7 +2757,7 @@ class ModuleAutoGen(AutoGen): return path=2Ejoin(self=2EPlatformInfo=2EBuildDir, TAB_FV_DIR= ECTORY, "Ffs", self=2EGuid + self=2EName) return '' =20 - ## Return the directory to store auto-gened source files of the mdoul= e + ## Return the directory to store auto-gened source files of the modul= e @cached_property def DebugDir(self): return _MakeDir((self=2EBuildDir, "DEBUG")) @@ -2809,7 +2809,7 @@ class ModuleAutoGen(AutoGen): =20 ## Get the depex string # - # @return : a string contain all depex expresion=2E + # @return : a string contain all depex expression=2E def _GetDepexExpresionString(self): DepexStr =3D '' DepexList =3D [] @@ -2819,11 +2819,11 @@ class ModuleAutoGen(AutoGen): for M in [self=2EModule] + self=2EDependentLibraryList: Filename =3D M=2EMetaFile=2EPath InfObj =3D InfSectionParser=2EInfSectionParser(Filename) - DepexExpresionList =3D InfObj=2EGetDepexExpresionList() - for DepexExpresion in DepexExpresionList: - for key in DepexExpresion: + DepexExpressionList =3D InfObj=2EGetDepexExpresionList() + for DepexExpression in DepexExpressionList: + for key in DepexExpression: Arch, ModuleType =3D key - DepexExpr =3D [x for x in DepexExpresion[key] if not = str(x)=2Estartswith('#')] + DepexExpr =3D [x for x in DepexExpression[key] if not= str(x)=2Estartswith('#')] # the type of build module is USER_DEFINED=2E # All different DEPEX section tags would be copied in= to the As Built INF file # and there would be separate DEPEX section tags @@ -2878,7 +2878,7 @@ class ModuleAutoGen(AutoGen): =20 DepexList =3D [] # - # Append depex from dependent libraries, if not "BEFORE", "AFTER"= expresion + # Append depex from dependent libraries, if not "BEFORE", "AFTER"= expression # for M in [self=2EModule] + self=2EDependentLibraryList: Inherited =3D False @@ -3323,7 +3323,7 @@ class ModuleAutoGen(AutoGen): IdfGenBinBuffer=2Eclose() return RetVal =20 - ## Return the list of library modules explicitly or implicityly used = by this module + ## Return the list of library modules explicitly or implicitly used b= y this module @cached_property def DependentLibraryList(self): # only merge library classes and PCD for non-library module @@ -3894,8 +3894,8 @@ class ModuleAutoGen(AutoGen): AsBuiltInfDict['userextension_tianocore_item'] =3D UserExtStr =20 # Generated depex expression section in comments=2E - DepexExpresion =3D self=2E_GetDepexExpresionString() - AsBuiltInfDict['depexsection_item'] =3D DepexExpresion if DepexEx= presion else '' + DepexExpression =3D self=2E_GetDepexExpresionString() + AsBuiltInfDict['depexsection_item'] =3D DepexExpression if DepexE= xpression else '' =20 AsBuiltInf =3D TemplateString() AsBuiltInf=2EAppend(gAsBuiltInfHeaderString=2EReplace(AsBuiltInfD= ict)) diff --git a/BaseTools/Source/Python/AutoGen/BuildEngine=2Epy b/BaseTools/= Source/Python/AutoGen/BuildEngine=2Epy index f9e3ac3a1d=2E=2E2cea97ae10 100644 --- a/BaseTools/Source/Python/AutoGen/BuildEngine=2Epy +++ b/BaseTools/Source/Python/AutoGen/BuildEngine=2Epy @@ -92,8 +92,8 @@ class FileBuildRule: =20 ## constructor # - # @param Input The dictionary represeting input file(s) for = a rule - # @param Output The list represeting output file(s) for a rul= e + # @param Input The dictionary representing input file(s) for= a rule + # @param Output The list representing output file(s) for a ru= le # @param Command The list containing commands to generate the = output from input # def __init__(self, Type, Input, Output, Command, ExtraDependency=3DNo= ne): @@ -193,7 +193,7 @@ class FileBuildRule: # @param RelativeToDir The relative path of the source file # @param PathSeparator Path separator # - # @retval tuple (Source file in full path, List of indivi= dual sourcefiles, Destionation file, List of build commands) + # @retval tuple (Source file in full path, List of indivi= dual sourcefiles, Destination file, List of build commands) # def Apply(self, SourceFile, BuildRuleOrder=3DNone): if not self=2ECommandList or not self=2EDestFileList: @@ -396,7 +396,7 @@ class BuildRule: # @param LineIndex The line index of build rule text # def ParseSubSection(self, LineIndex): - # currenly nothing here + # currently nothing here pass =20 ## Placeholder for not supported sections @@ -409,7 +409,7 @@ class BuildRule: ## Merge section information just got into rule database def EndOfSection(self): Database =3D self=2ERuleDatabase - # if there's specific toochain family, 'COMMON' doesn't make sens= e any more + # if there's specific toolchain family, 'COMMON' doesn't make sen= se any more if len(self=2E_TotalToolChainFamilySet) > 1 and TAB_COMMON in sel= f=2E_TotalToolChainFamilySet: self=2E_TotalToolChainFamilySet=2Eremove(TAB_COMMON) for Family in self=2E_TotalToolChainFamilySet: @@ -554,7 +554,7 @@ class BuildRule: # @param FileExt The extension of a file # @param ToolChainFamily The tool chain family name # @param BuildVersion The build version number=2E TAB_STAR = means any rule - # is applicalbe=2E + # is applicable=2E # # @retval FileType The file type string # @retval FileBuildRule The object of FileBuildRule diff --git a/BaseTools/Source/Python/AutoGen/GenMake=2Epy b/BaseTools/Sour= ce/Python/AutoGen/GenMake=2Epy index dc4cd688f4=2E=2E53c5b8577d 100644 --- a/BaseTools/Source/Python/AutoGen/GenMake=2Epy +++ b/BaseTools/Source/Python/AutoGen/GenMake=2Epy @@ -959,7 +959,7 @@ cleanlib: NewFile =3D self=2EPlaceMacro(str(F), self=2EMacros) # In order to use file list macro as dependency if T=2EGenListFile: - # gnu tools need forward slash path separater, ev= en on Windows + # gnu tools need forward slash path separator, ev= en on Windows self=2EListFileMacros[T=2EListFileMacro]=2Eappend= (str(F)=2Ereplace ('\\', '/')) self=2EFileListMacros[T=2EFileListMacro]=2Eappend= (NewFile) elif T=2EGenFileListMacro: @@ -1003,7 +1003,7 @@ cleanlib: ## Find dependencies for one source file # # By searching recursively "#include" directive in file, find out al= l the - # files needed by given source file=2E The dependecies will be only = searched + # files needed by given source file=2E The dependencies will be only= searched # in given search path list=2E # # @param File The source file diff --git a/BaseTools/Source/Python/AutoGen/GenPcdDb=2Epy b/BaseTools/Sou= rce/Python/AutoGen/GenPcdDb=2Epy index cbf7a39dd5=2E=2Eb3f4ccf4f4 100644 --- a/BaseTools/Source/Python/AutoGen/GenPcdDb=2Epy +++ b/BaseTools/Source/Python/AutoGen/GenPcdDb=2Epy @@ -342,7 +342,7 @@ class DbComItemList (DbItemList): Offset =3D 0 if self=2EItemSize =3D=3D 0: # - # Variable length, need to calculte one by one + # Variable length, need to calculate one by one # The only variable table is stringtable, it is not Composite= item, should not reach here # assert(False) @@ -631,7 +631,7 @@ def BuildExDataBase(Dict): Dict['STRING_TABLE_DB_VALUE'] =3D [StringArrayToList(x) for x in Dict= ['STRING_TABLE_VALUE']] =20 StringTableValue =3D Dict['STRING_TABLE_DB_VALUE'] - # when calcute the offset, should use StringTableLen instead of Strin= gTableValue, as string maxium len may be different with actual len + # when calcute the offset, should use StringTableLen instead of Strin= gTableValue, as string maximum len may be different with actual len StringTableLen =3D Dict['STRING_TABLE_LENGTH'] DbStringTableLen =3D DbStringItemList(0, RawDataList =3D StringTableV= alue, LenList =3D StringTableLen) =20 @@ -1011,7 +1011,7 @@ def CreatePcdDatabasePhaseSpecificAutoGen (Platform,= DynamicPcdList, Phase): 'SKUID_TABLE_EMPTY' : 'TRUE', 'DATABASE_EMPTY' : 'TRUE', 'EXMAP_TABLE_EMPTY' : 'TRUE', - 'PCD_DATABASE_UNINIT_EMPTY' : ' UINT8 dummy; /* PCD_DATABAS= E_UNINIT is emptry */', + 'PCD_DATABASE_UNINIT_EMPTY' : ' UINT8 dummy; /* PCD_DATABAS= E_UNINIT is empty */', 'SYSTEM_SKU_ID' : ' SKU_ID SystemSku= Id;', 'SYSTEM_SKU_ID_VALUE' : '0U' } diff --git a/BaseTools/Source/Python/AutoGen/InfSectionParser=2Epy b/BaseT= ools/Source/Python/AutoGen/InfSectionParser=2Epy index 09e9af3fb4=2E=2E388b6780df 100644 --- a/BaseTools/Source/Python/AutoGen/InfSectionParser=2Epy +++ b/BaseTools/Source/Python/AutoGen/InfSectionParser=2Epy @@ -80,13 +80,13 @@ class InfSectionParser(): UserExtensionTianoCore=2Eappend({SubSection: = SectionDataDict[key]}) return UserExtensionTianoCore =20 - # Get depex expresion + # Get depex expression # # @return: a list include some dictionary that key is section and val= ue is a list contain all data=2E def GetDepexExpresionList(self): - DepexExpresionList =3D [] + DepexExpressionList =3D [] if not self=2E_FileSectionDataList: - return DepexExpresionList + return DepexExpressionList for SectionDataDict in self=2E_FileSectionDataList: for key in SectionDataDict: if key=2Elower() =3D=3D "[depex]" or key=2Elower()=2Estar= tswith("[depex=2E"): @@ -105,8 +105,8 @@ class InfSectionParser(): SubKey =3D (SectionList[1], SectionList[2]) else: EdkLogger=2Eerror("build", AUTOGEN_ERROR, 'Se= ction %s is invalid=2E' % key) - DepexExpresionList=2Eappend({SubKey: SectionDataD= ict[key]}) - return DepexExpresionList + DepexExpressionList=2Eappend({SubKey: SectionData= Dict[key]}) + return DepexExpressionList =20 =20 =20 diff --git a/BaseTools/Source/Python/AutoGen/UniClassObject=2Epy b/BaseToo= ls/Source/Python/AutoGen/UniClassObject=2Epy index d162387cc5=2E=2E5674adf3b8 100644 --- a/BaseTools/Source/Python/AutoGen/UniClassObject=2Epy +++ b/BaseTools/Source/Python/AutoGen/UniClassObject=2Epy @@ -99,12 +99,12 @@ LangConvTable =3D {'eng':'en', 'fra':'fr', \ ## GetLanguageCode # # Check the language code read from =2EUNI file and convert ISO 639-2 cod= es to RFC 4646 codes if appropriate -# ISO 639-2 language codes supported in compatiblity mode +# ISO 639-2 language codes supported in compatibility mode # RFC 4646 language codes supported in native mode # # @param LangName: Language codes read from =2EUNI file # -# @retval LangName: Valid lanugage code in RFC 4646 format or None +# @retval LangName: Valid language code in RFC 4646 format or None # def GetLanguageCode(LangName, IsCompatibleMode, File): length =3D len(LangName) diff --git a/BaseTools/Source/Python/Common/BuildToolError=2Epy b/BaseTool= s/Source/Python/Common/BuildToolError=2Epy index fc2503ea80=2E=2E09582b932a 100644 --- a/BaseTools/Source/Python/Common/BuildToolError=2Epy +++ b/BaseTools/Source/Python/Common/BuildToolError=2Epy @@ -1,5 +1,5 @@ ## @file -# Standardized Error Hanlding infrastructures=2E +# Standardized Error Handling infrastructures=2E # # Copyright (c) 2007 - 2016, Intel Corporation=2E All rights reserved=2E<= BR> # This program and the accompanying materials diff --git a/BaseTools/Source/Python/Common/EdkLogger=2Epy b/BaseTools/Sou= rce/Python/Common/EdkLogger=2Epy index af7707482c=2E=2E77c0d2a28e 100644 --- a/BaseTools/Source/Python/Common/EdkLogger=2Epy +++ b/BaseTools/Source/Python/Common/EdkLogger=2Epy @@ -145,7 +145,7 @@ def warn(ToolName, Message, File=3DNone, Line=3DNone, = ExtraData=3DNone): =20 _InfoLogger=2Elog(WARN, LogText) =20 - # Raise an execption if indicated + # Raise an exception if indicated if _WarningAsError =3D=3D True: raise FatalError(WARNING_AS_ERROR) =20 @@ -155,7 +155,7 @@ info =3D _InfoLogger=2Einfo ## Log ERROR message # # Once an error messages is logged, the tool's execution will be broken= by raising -# an execption=2E If you don't want to break the execution later, you can= give +# an exception=2E If you don't want to break the execution later, you can= give # "RaiseError" with "False" value=2E # # @param ToolName The name of the tool=2E If not given, the name of= caller @@ -165,7 +165,7 @@ info =3D _InfoLogger=2Einfo # @param File The name of file which caused the error=2E # @param Line The line number in the "File" which caused the wa= rning=2E # @param ExtraData More information associated with "Message" -# @param RaiseError Raise an exception to break the tool's executuion= if +# @param RaiseError Raise an exception to break the tool's execution = if # it's True=2E This is the default behavior=2E # def error(ToolName, ErrorCode, Message=3DNone, File=3DNone, Line=3DNone, = ExtraData=3DNone, RaiseError=3DIsRaiseError): diff --git a/BaseTools/Source/Python/Common/Misc=2Epy b/BaseTools/Source/P= ython/Common/Misc=2Epy index 6b3c4f7937=2E=2E565a5ad40b 100644 --- a/BaseTools/Source/Python/Common/Misc=2Epy +++ b/BaseTools/Source/Python/Common/Misc=2Epy @@ -775,10 +775,10 @@ class Progressor: =20 ## Constructor # - # @param OpenMessage The string printed before progress ch= araters - # @param CloseMessage The string printed after progress cha= raters - # @param ProgressChar The charater used to indicate the pro= gress - # @param Interval The interval in seconds between two p= rogress charaters + # @param OpenMessage The string printed before progress ch= aracters + # @param CloseMessage The string printed after progress cha= racters + # @param ProgressChar The character used to indicate the pr= ogress + # @param Interval The interval in seconds between two p= rogress characters # def __init__(self, OpenMessage=3D"", CloseMessage=3D"", ProgressChar= =3D'=2E', Interval=3D1=2E0): self=2EPromptMessage =3D OpenMessage @@ -788,9 +788,9 @@ class Progressor: if Progressor=2E_StopFlag is None: Progressor=2E_StopFlag =3D threading=2EEvent() =20 - ## Start to print progress charater + ## Start to print progress character # - # @param OpenMessage The string printed before progress ch= araters + # @param OpenMessage The string printed before progress ch= aracters # def Start(self, OpenMessage=3DNone): if OpenMessage is not None: @@ -801,9 +801,9 @@ class Progressor: Progressor=2E_ProgressThread=2EsetDaemon(False) Progressor=2E_ProgressThread=2Estart() =20 - ## Stop printing progress charater + ## Stop printing progress character # - # @param CloseMessage The string printed after progress cha= raters + # @param CloseMessage The string printed after progress cha= racters # def Stop(self, CloseMessage=3DNone): OriginalCodaMessage =3D self=2ECodaMessage @@ -1422,7 +1422,7 @@ class PathClass(object): =20 ## Override __cmp__ function # - # Customize the comparsion operation of two PathClass + # Customize the comparison operation of two PathClass # # @retval 0 The two PathClass are different # @retval -1 The first PathClass is less than the second PathClass @@ -1517,7 +1517,7 @@ class PathClass(object): self=2EPath =3D os=2Epath=2Ejoin(RealRoot, RealFile) return ErrorCode, ErrorInfo =20 -## Parse PE image to get the required PE informaion=2E +## Parse PE image to get the required PE information=2E # class PeImageClass(): ## Constructor diff --git a/BaseTools/Source/Python/Common/MultipleWorkspace=2Epy b/BaseT= ools/Source/Python/Common/MultipleWorkspace=2Epy index 81594e22cd=2E=2E8ad90aefaf 100644 --- a/BaseTools/Source/Python/Common/MultipleWorkspace=2Epy +++ b/BaseTools/Source/Python/Common/MultipleWorkspace=2Epy @@ -24,7 +24,7 @@ from Common=2EDataType import TAB_WORKSPACE # @param class: # # @var WORKSPACE: defined the current WORKSPACE -# @var PACKAGES_PATH: defined the other WORKSAPCE, if current WORKSPACE = is invalid, search valid WORKSPACE from PACKAGES_PATH +# @var PACKAGES_PATH: defined the other WORKSPACE, if current WORKSPACE = is invalid, search valid WORKSPACE from PACKAGES_PATH # class MultipleWorkspace(object): WORKSPACE =3D '' @@ -146,7 +146,7 @@ class MultipleWorkspace(object): =20 ## getPkgPath() # - # get all package pathes=2E + # get all package paths=2E # # @param cls The class pointer # diff --git a/BaseTools/Source/Python/Common/Parsing=2Epy b/BaseTools/Sourc= e/Python/Common/Parsing=2Epy index 889251b699=2E=2Ed858501af6 100644 --- a/BaseTools/Source/Python/Common/Parsing=2Epy +++ b/BaseTools/Source/Python/Common/Parsing=2Epy @@ -36,7 +36,7 @@ def ParseDefineMacro2(Table, RecordSets, GlobalMacro): Macros[Record[0]] =3D Record[1] =20 # - # Overrided by Global Macros + # Overridden by Global Macros # Macros=2Eupdate(GlobalMacro) =20 @@ -76,7 +76,7 @@ def ParseDefineMacro(Table, GlobalMacro): Macros[Record[0]] =3D Record[1] =20 # - # Overrided by Global Macros + # Overridden by Global Macros # Macros=2Eupdate(GlobalMacro) =20 @@ -830,7 +830,7 @@ def InsertSectionItems(Model, CurrentSection, SectionI= temList, ArchList, ThirdLi # @param Table: The Table to be inserted # @param FileID: The ID of belonging file # @param Filename: The name of belonging file -# @param CurrentSection: The name of currect section +# @param CurrentSection: The name of current section # @param SectionItemList: A list of items of the section # @param ArchList: A list of arches # @param ThirdList: A list of third parameters, ModuleType for Lib= raryClass and SkuId for Dynamic Pcds diff --git a/BaseTools/Source/Python/Common/RangeExpression=2Epy b/BaseToo= ls/Source/Python/Common/RangeExpression=2Epy index 40958451d2=2E=2E1c52e83792 100644 --- a/BaseTools/Source/Python/Common/RangeExpression=2Epy +++ b/BaseTools/Source/Python/Common/RangeExpression=2Epy @@ -290,7 +290,7 @@ class RangeExpression(BaseExpression): return rangeid =20 =20 - def NegtiveRange(self, Oprand1): + def NegativeRange(self, Oprand1): rangeContainer1 =3D self=2Eoperanddict[Oprand1] =20 =20 @@ -332,7 +332,7 @@ class RangeExpression(BaseExpression): if Operator in ["!", "NOT", "not"]: if not gGuidPattern=2Ematch(Oprand1=2Estrip()): raise BadExpression(ERR_STRING_EXPR % Operator) - return self=2ENegtiveRange(Oprand1) + return self=2ENegativeRange(Oprand1) else: if Operator in ["=3D=3D", ">=3D", "<=3D", ">", "<", '^']: return self=2EEvalRange(Operator, Oprand1) diff --git a/BaseTools/Source/Python/Common/StringUtils=2Epy b/BaseTools/S= ource/Python/Common/StringUtils=2Epy index c6227271a4=2E=2Ea2e8f0f9e7 100644 --- a/BaseTools/Source/Python/Common/StringUtils=2Epy +++ b/BaseTools/Source/Python/Common/StringUtils=2Epy @@ -32,7 +32,7 @@ gHumanReadableVerPatt =3D re=2Ecompile(r'([1-9][0-9]*|0)= \=2E[0-9]{1,2}$') =20 ## GetSplitValueList # -# Get a value list from a string with multiple values splited with SplitT= ag +# Get a value list from a string with multiple values split with SplitTag # The default SplitTag is DataType=2ETAB_VALUE_SPLIT # 'AAA|BBB|CCC' -> ['AAA', 'BBB', 'CCC'] # @@ -88,7 +88,7 @@ def GetSplitValueList(String, SplitTag=3DDataType=2ETAB_= VALUE_SPLIT, MaxSplit=3D -1): =20 ## GetSplitList # -# Get a value list from a string with multiple values splited with SplitS= tring +# Get a value list from a string with multiple values split with SplitStr= ing # The default SplitTag is DataType=2ETAB_VALUE_SPLIT # 'AAA|BBB|CCC' -> ['AAA', 'BBB', 'CCC'] # @@ -123,7 +123,7 @@ def MergeArches(Dict, Key, Arch): # Return False if invalid format # # @param String: String with DEFINE statement -# @param Arch: Supportted Arch +# @param Arch: Supported Arch # @param Defines: DEFINE statement to be parsed # # @retval 0 DEFINE statement found, and valid @@ -149,7 +149,7 @@ def GenDefines(String, Arch, Defines): # # @param String: String with INCLUDE statement # @param IncludeFiles: INCLUDE statement to be parsed -# @param Arch: Supportted Arch +# @param Arch: Supported Arch # # @retval True # @retval False @@ -297,7 +297,7 @@ def ReplaceMacro(String, MacroDefinitions=3D{}, SelfRe= placement=3DFalse, RaiseError=3D ## NormPath # # Create a normal path -# And replace DFEINE in the path +# And replace DEFINE in the path # # @param Path: The input value for Path to be converted # @param Defines: A set for DEFINE statement @@ -730,9 +730,9 @@ def WorkspaceFile(WorkspaceDir, Filename): =20 ## Split string # -# Revmove '"' which startswith and endswith string +# Remove '"' which startswith and endswith string # -# @param String: The string need to be splited +# @param String: The string need to be split # # @retval String: The string after removed '""' # diff --git a/BaseTools/Source/Python/CommonDataClass/CommonClass=2Epy b/Ba= seTools/Source/Python/CommonDataClass/CommonClass=2Epy index 336bb11671=2E=2E33f306c842 100644 --- a/BaseTools/Source/Python/CommonDataClass/CommonClass=2Epy +++ b/BaseTools/Source/Python/CommonDataClass/CommonClass=2Epy @@ -66,7 +66,7 @@ class SkuInfoClass(object): ## Convert the class to a string # # Convert each member of the class to string - # Organize to a signle line format string + # Organize to a single line format string # # @retval Rtn Formatted String # diff --git a/BaseTools/Source/Python/CommonDataClass/DataClass=2Epy b/Base= Tools/Source/Python/CommonDataClass/DataClass=2Epy index 31ed46c7ec=2E=2E2d93f79b09 100644 --- a/BaseTools/Source/Python/CommonDataClass/DataClass=2Epy +++ b/BaseTools/Source/Python/CommonDataClass/DataClass=2Epy @@ -194,7 +194,7 @@ MODEL_LIST =3D [('MODEL_UNKNOWN', MODEL_UNKNOWN), # @param Header: Header of a Function # @param Modifier: Modifier of a Function # @param Name: Name of a Function -# @param ReturnStatement: ReturnStatement of a Funciont +# @param ReturnStatement: ReturnStatement of a Function # @param StartLine: StartLine of a Function # @param StartColumn: StartColumn of a Function # @param EndLine: EndLine of a Function @@ -209,7 +209,7 @@ MODEL_LIST =3D [('MODEL_UNKNOWN', MODEL_UNKNOWN), # @var Header: Header of a Function # @var Modifier: Modifier of a Function # @var Name: Name of a Function -# @var ReturnStatement: ReturnStatement of a Funciont +# @var ReturnStatement: ReturnStatement of a Function # @var StartLine: StartLine of a Function # @var StartColumn: StartColumn of a Function # @var EndLine: EndLine of a Function diff --git a/BaseTools/Source/Python/Ecc/C=2Eg b/BaseTools/Source/Python/E= cc/C=2Eg index e344088f36=2E=2E4affd61ecc 100644 --- a/BaseTools/Source/Python/Ecc/C=2Eg +++ b/BaseTools/Source/Python/Ecc/C=2Eg @@ -23,7 +23,7 @@ options { ## @file # The file defines the Lexer for C source files=2E # -# THIS FILE IS AUTO-GENENERATED=2E PLEASE DON NOT MODIFY THIS FILE=2E +# THIS FILE IS AUTO-GENERATED=2E PLEASE DO NOT MODIFY THIS FILE=2E # This file is generated by running: # java org=2Eantlr=2ETool C=2Eg # @@ -44,7 +44,7 @@ options { ## @file # The file defines the parser for C source files=2E # -# THIS FILE IS AUTO-GENENERATED=2E PLEASE DON NOT MODIFY THIS FILE=2E +# THIS FILE IS AUTO-GENERATED=2E PLEASE DO NOT MODIFY THIS FILE=2E # This file is generated by running: # java org=2Eantlr=2ETool C=2Eg # @@ -653,11 +653,11 @@ UnicodeEscape WS : (' '|'\r'|'\t'|'\u000C'|'\n') {$channel=3DHIDDEN;} ; =20 -// ingore '\' of line concatenation +// ignore '\' of line concatenation BS : ('\\') {$channel=3DHIDDEN;} ; =20 -// ingore function modifiers +// ignore function modifiers //FUNC_MODIFIERS : 'EFIAPI' {$channel=3DHIDDEN;} // ; =09 diff --git a/BaseTools/Source/Python/Ecc/CParser3/CLexer=2Epy b/BaseTools/= Source/Python/Ecc/CParser3/CLexer=2Epy index b9e57c1b55=2E=2E17c1af6113 100644 --- a/BaseTools/Source/Python/Ecc/CParser3/CLexer=2Epy +++ b/BaseTools/Source/Python/Ecc/CParser3/CLexer=2Epy @@ -6,7 +6,7 @@ from antlr3=2Ecompat import set, frozenset ## @file # The file defines the Lexer for C source files=2E # -# THIS FILE IS AUTO-GENENERATED=2E PLEASE DON NOT MODIFY THIS FILE=2E +# THIS FILE IS AUTO-GENERATED=2E PLEASE DO NOT MODIFY THIS FILE=2E # This file is generated by running: # java org=2Eantlr=2ETool C=2Eg # diff --git a/BaseTools/Source/Python/Ecc/CParser3/CParser=2Epy b/BaseTools= /Source/Python/Ecc/CParser3/CParser=2Epy index a3ab8e7bf4=2E=2Ec63b0a556f 100644 --- a/BaseTools/Source/Python/Ecc/CParser3/CParser=2Epy +++ b/BaseTools/Source/Python/Ecc/CParser3/CParser=2Epy @@ -8,7 +8,7 @@ from antlr3=2Ecompat import set, frozenset ## @file # The file defines the parser for C source files=2E # -# THIS FILE IS AUTO-GENENERATED=2E PLEASE DON NOT MODIFY THIS FILE=2E +# THIS FILE IS AUTO-GENERATED=2E PLEASE DO NOT MODIFY THIS FILE=2E # This file is generated by running: # java org=2Eantlr=2ETool C=2Eg # diff --git a/BaseTools/Source/Python/Ecc/Check=2Epy b/BaseTools/Source/Pyt= hon/Ecc/Check=2Epy index a6c62359d0=2E=2E6e5bcee846 100644 --- a/BaseTools/Source/Python/Ecc/Check=2Epy +++ b/BaseTools/Source/Python/Ecc/Check=2Epy @@ -1403,7 +1403,7 @@ class Check(object): # Check whether only capital letters are used for #define declaration= s def NamingConventionCheckDefineStatement(self, FileTable): if EccGlobalData=2EgConfig=2ENamingConventionCheckDefineStatement= =3D=3D '1' or EccGlobalData=2EgConfig=2ENamingConventionCheckAll =3D=3D '1= ' or EccGlobalData=2EgConfig=2ECheckAll =3D=3D '1': - EdkLogger=2Equiet("Checking naming covention of #define state= ment =2E=2E=2E") + EdkLogger=2Equiet("Checking naming convention of #define stat= ement =2E=2E=2E") =20 SqlCommand =3D """select ID, Value from %s where Model =3D %s= """ % (FileTable, MODEL_IDENTIFIER_MACRO_DEFINE) RecordSet =3D EccGlobalData=2EgDb=2ETblFile=2EExec(SqlCommand= ) @@ -1418,7 +1418,7 @@ class Check(object): # Check whether only capital letters are used for typedef declaration= s def NamingConventionCheckTypedefStatement(self, FileTable): if EccGlobalData=2EgConfig=2ENamingConventionCheckTypedefStatemen= t =3D=3D '1' or EccGlobalData=2EgConfig=2ENamingConventionCheckAll =3D=3D '= 1' or EccGlobalData=2EgConfig=2ECheckAll =3D=3D '1': - EdkLogger=2Equiet("Checking naming covention of #typedef stat= ement =2E=2E=2E") + EdkLogger=2Equiet("Checking naming convention of #typedef sta= tement =2E=2E=2E") =20 SqlCommand =3D """select ID, Name from %s where Model =3D %s"= "" % (FileTable, MODEL_IDENTIFIER_TYPEDEF) RecordSet =3D EccGlobalData=2EgDb=2ETblFile=2EExec(SqlCommand= ) @@ -1438,7 +1438,7 @@ class Check(object): # Check whether the #ifndef at the start of an include file uses both= prefix and postfix underscore characters, '_'=2E def NamingConventionCheckIfndefStatement(self, FileTable): if EccGlobalData=2EgConfig=2ENamingConventionCheckIfndefStatement= =3D=3D '1' or EccGlobalData=2EgConfig=2ENamingConventionCheckAll =3D=3D '1= ' or EccGlobalData=2EgConfig=2ECheckAll =3D=3D '1': - EdkLogger=2Equiet("Checking naming covention of #ifndef state= ment =2E=2E=2E") + EdkLogger=2Equiet("Checking naming convention of #ifndef stat= ement =2E=2E=2E") =20 SqlCommand =3D """select ID, Value from %s where Model =3D %s= """ % (FileTable, MODEL_IDENTIFIER_MACRO_IFNDEF) RecordSet =3D EccGlobalData=2EgDb=2ETblFile=2EExec(SqlCommand= ) @@ -1455,7 +1455,7 @@ class Check(object): # Check whether the path name followed the rule def NamingConventionCheckPathName(self): if EccGlobalData=2EgConfig=2ENamingConventionCheckPathName =3D=3D= '1' or EccGlobalData=2EgConfig=2ENamingConventionCheckAll =3D=3D '1' or Ec= cGlobalData=2EgConfig=2ECheckAll =3D=3D '1': - EdkLogger=2Equiet("Checking naming covention of file path nam= e =2E=2E=2E") + EdkLogger=2Equiet("Checking naming convention of file path na= me =2E=2E=2E") Pattern =3D re=2Ecompile(r'^[A-Z]+\S*[a-z]\S*$') SqlCommand =3D """select ID, Name from File""" RecordSet =3D EccGlobalData=2EgDb=2ETblFile=2EExec(SqlCommand= ) @@ -1472,7 +1472,7 @@ class Check(object): # Check whether the variable name followed the rule def NamingConventionCheckVariableName(self, FileTable): if EccGlobalData=2EgConfig=2ENamingConventionCheckVariableName = =3D=3D '1' or EccGlobalData=2EgConfig=2ENamingConventionCheckAll =3D=3D '1'= or EccGlobalData=2EgConfig=2ECheckAll =3D=3D '1': - EdkLogger=2Equiet("Checking naming covention of variable name= =2E=2E=2E") + EdkLogger=2Equiet("Checking naming convention of variable nam= e =2E=2E=2E") Pattern =3D re=2Ecompile(r'^[A-Zgm]+\S*[a-z]\S*$') =20 SqlCommand =3D """select ID, Name from %s where Model =3D %s"= "" % (FileTable, MODEL_IDENTIFIER_VARIABLE) @@ -1492,7 +1492,7 @@ class Check(object): # Check whether the function name followed the rule def NamingConventionCheckFunctionName(self): if EccGlobalData=2EgConfig=2ENamingConventionCheckFunctionName = =3D=3D '1' or EccGlobalData=2EgConfig=2ENamingConventionCheckAll =3D=3D '1'= or EccGlobalData=2EgConfig=2ECheckAll =3D=3D '1': - EdkLogger=2Equiet("Checking naming covention of function name= =2E=2E=2E") + EdkLogger=2Equiet("Checking naming convention of function nam= e =2E=2E=2E") Pattern =3D re=2Ecompile(r'^[A-Z]+\S*[a-z]\S*$') SqlCommand =3D """select ID, Name from Function""" RecordSet =3D EccGlobalData=2EgDb=2ETblFile=2EExec(SqlCommand= ) @@ -1504,7 +1504,7 @@ class Check(object): # Check whether NO use short variable name with single character def NamingConventionCheckSingleCharacterVariable(self, FileTable): if EccGlobalData=2EgConfig=2ENamingConventionCheckSingleCharacter= Variable =3D=3D '1' or EccGlobalData=2EgConfig=2ENamingConventionCheckAll = =3D=3D '1' or EccGlobalData=2EgConfig=2ECheckAll =3D=3D '1': - EdkLogger=2Equiet("Checking naming covention of single charac= ter variable name =2E=2E=2E") + EdkLogger=2Equiet("Checking naming convention of single chara= cter variable name =2E=2E=2E") =20 SqlCommand =3D """select ID, Name from %s where Model =3D %s"= "" % (FileTable, MODEL_IDENTIFIER_VARIABLE) RecordSet =3D EccGlobalData=2EgDb=2ETblFile=2EExec(SqlCommand= ) diff --git a/BaseTools/Source/Python/Ecc/Database=2Epy b/BaseTools/Source/= Python/Ecc/Database=2Epy index 9d4acac7b7=2E=2E2a6b1198d8 100644 --- a/BaseTools/Source/Python/Ecc/Database=2Epy +++ b/BaseTools/Source/Python/Ecc/Database=2Epy @@ -39,7 +39,7 @@ DATABASE_PATH =3D "Ecc=2Edb" =20 ## Database # -# This class defined the ECC databse +# This class defined the ECC database # During the phase of initialization, the database will create all tables= and # insert all records of table DataModel # @@ -83,7 +83,7 @@ class Database(object): self=2EConn =3D sqlite3=2Econnect(self=2EDbPath, isolation_level = =3D 'DEFERRED') self=2EConn=2Eexecute("PRAGMA page_size=3D4096") self=2EConn=2Eexecute("PRAGMA synchronous=3DOFF") - # to avoid non-ascii charater conversion error + # to avoid non-ascii character conversion error self=2EConn=2Etext_factory =3D str self=2ECur =3D self=2EConn=2Ecursor() =20 @@ -214,7 +214,7 @@ class Database(object): =20 ## UpdateIdentifierBelongsToFunction # - # Update the field "BelongsToFunction" for each Indentifier + # Update the field "BelongsToFunction" for each Identifier # # def UpdateIdentifierBelongsToFunction_disabled(self): @@ -267,7 +267,7 @@ class Database(object): =20 ## UpdateIdentifierBelongsToFunction # - # Update the field "BelongsToFunction" for each Indentifier + # Update the field "BelongsToFunction" for each Identifier # # def UpdateIdentifierBelongsToFunction(self): diff --git a/BaseTools/Source/Python/Ecc/EccMain=2Epy b/BaseTools/Source/P= ython/Ecc/EccMain=2Epy index edb6c6d7d4=2E=2Ef06183d646 100644 --- a/BaseTools/Source/Python/Ecc/EccMain=2Epy +++ b/BaseTools/Source/Python/Ecc/EccMain=2Epy @@ -209,7 +209,7 @@ class Ecc(object): Op=2Ewrite("%s\r" % Filename) #Dsc(Filename, True, True, EccGlobalData=2EgWorks= pace, EccGlobalData=2EgDb) self=2EMetaFile =3D DscParser(PathClass(Filename,= Root), MODEL_FILE_DSC, MetaFileStorage(EccGlobalData=2EgDb=2ETblDsc=2ECur,= Filename, MODEL_FILE_DSC, True)) - # alwasy do post-process, in case of macros chang= e + # always do post-process, in case of macros chang= e self=2EMetaFile=2EDoPostProcess() self=2EMetaFile=2EStart() self=2EMetaFile=2E_PostProcess() @@ -307,7 +307,7 @@ class Ecc(object): if Options=2EWorkspace: os=2Eenviron["WORKSPACE"] =3D Options=2EWorkspace =20 - # Check workspace envirnoment + # Check workspace environment if "WORKSPACE" not in os=2Eenviron: EdkLogger=2Eerror("ECC", BuildToolError=2EATTRIBUTE_NOT_AVAIL= ABLE, "Environment variable not found", ExtraData=3D"WORKSPACE") diff --git a/BaseTools/Source/Python/Ecc/EccToolError=2Epy b/BaseTools/Sou= rce/Python/Ecc/EccToolError=2Epy index ae0a31af8a=2E=2E3f1a44c1f7 100644 --- a/BaseTools/Source/Python/Ecc/EccToolError=2Epy +++ b/BaseTools/Source/Python/Ecc/EccToolError=2Epy @@ -1,5 +1,5 @@ ## @file -# Standardized Error Hanlding infrastructures=2E +# Standardized Error Handling infrastructures=2E # # Copyright (c) 2008 - 2018, Intel Corporation=2E All rights reserved=2E<= BR> # This program and the accompanying materials @@ -152,7 +152,7 @@ gEccErrorMessage =3D { ERROR_INCLUDE_FILE_CHECK_IFNDEF_STATEMENT_2 : "The #ifndef must be th= e first line of code following the file header comment", ERROR_INCLUDE_FILE_CHECK_IFNDEF_STATEMENT_3 : "The #endif must appear= on the last line in the file", ERROR_INCLUDE_FILE_CHECK_DATA : "Include files should contain only pu= blic or only private data and cannot contain code or define data variables"= , - ERROR_INCLUDE_FILE_CHECK_NAME : "No permission for the inlcude file w= ith same names", + ERROR_INCLUDE_FILE_CHECK_NAME : "No permission for the include file w= ith same names", =20 ERROR_DECLARATION_DATA_TYPE_CHECK_ALL : "", ERROR_DECLARATION_DATA_TYPE_CHECK_NO_USE_C_TYPE : "There should be no= use of int, unsigned, char, void, static, long in any =2Ec, =2Eh or =2Easl= files", diff --git a/BaseTools/Source/Python/Ecc/MetaDataParser=2Epy b/BaseTools/S= ource/Python/Ecc/MetaDataParser=2Epy index 4594716886=2E=2Eaab2e92ea7 100644 --- a/BaseTools/Source/Python/Ecc/MetaDataParser=2Epy +++ b/BaseTools/Source/Python/Ecc/MetaDataParser=2Epy @@ -18,7 +18,7 @@ from Ecc=2EEccToolError import * from Common=2EMultipleWorkspace import MultipleWorkspace as mws from Ecc import EccGlobalData import re -## Get the inlcude path list for a source file +## Get the include path list for a source file # # 1=2E Find the source file belongs to which inf file # 2=2E Find the inf's package diff --git a/BaseTools/Source/Python/Ecc/c=2Epy b/BaseTools/Source/Python/= Ecc/c=2Epy index 0c377c6c4a=2E=2E7b645ff053 100644 --- a/BaseTools/Source/Python/Ecc/c=2Epy +++ b/BaseTools/Source/Python/Ecc/c=2Epy @@ -733,7 +733,7 @@ def SplitPredicateByOp(Str, Op, IsFuncCalling=3DFalse)= : =20 while not LBFound and (Str[Index]=2Eisalnum() or Str[Index] = =3D=3D '_'): Index +=3D 1 - # maybe type-cast at the begining, skip it=2E + # maybe type-cast at the beginning, skip it=2E RemainingStr =3D Str[Index:]=2Elstrip() if RemainingStr=2Estartswith(')') and not LBFound: Index +=3D 1 @@ -834,7 +834,7 @@ def GetDataTypeFromModifier(ModifierStr): for M in MList: if M in EccGlobalData=2EgConfig=2EModifierSet: continue - # remove array sufix + # remove array suffix if M=2Estartswith('[') or M=2Eendswith(']'): continue ReturnType +=3D M + ' ' @@ -1019,7 +1019,7 @@ def GetFinalTypeValue(Type, FieldName, TypedefDict, = SUDict): Type =3D GetDataTypeFromModifier(Field[0:Index]) return Type=2Estrip() else: - # For the condition that the field in struct is an array with= [] sufixes=2E=2E=2E + # For the condition that the field in struct is an array with= [] suffixes=2E=2E=2E if not Field[Index + len(FieldName)]=2Eisalnum(): Type =3D GetDataTypeFromModifier(Field[0:Index]) return Type=2Estrip() @@ -1629,7 +1629,7 @@ def CheckMemberVariableFormat(Name, Value, FileTable= , TdId, ModelId): Field =3D Field=2Estrip() if Field =3D=3D '': continue - # For the condition that the field in struct is an array with [] = sufixes=2E=2E=2E + # For the condition that the field in struct is an array with [] = suffixes=2E=2E=2E if Field[-1] =3D=3D ']': LBPos =3D Field=2Efind('[') Field =3D Field[0:LBPos] diff --git a/BaseTools/Source/Python/Eot/CParser3/CLexer=2Epy b/BaseTools/= Source/Python/Eot/CParser3/CLexer=2Epy index b9e57c1b55=2E=2E17c1af6113 100644 --- a/BaseTools/Source/Python/Eot/CParser3/CLexer=2Epy +++ b/BaseTools/Source/Python/Eot/CParser3/CLexer=2Epy @@ -6,7 +6,7 @@ from antlr3=2Ecompat import set, frozenset ## @file # The file defines the Lexer for C source files=2E # -# THIS FILE IS AUTO-GENENERATED=2E PLEASE DON NOT MODIFY THIS FILE=2E +# THIS FILE IS AUTO-GENERATED=2E PLEASE DO NOT MODIFY THIS FILE=2E # This file is generated by running: # java org=2Eantlr=2ETool C=2Eg # diff --git a/BaseTools/Source/Python/Eot/CParser3/CParser=2Epy b/BaseTools= /Source/Python/Eot/CParser3/CParser=2Epy index 0b74b53ae7=2E=2E973e7a82b7 100644 --- a/BaseTools/Source/Python/Eot/CParser3/CParser=2Epy +++ b/BaseTools/Source/Python/Eot/CParser3/CParser=2Epy @@ -8,7 +8,7 @@ from antlr3=2Ecompat import set, frozenset ## @file # The file defines the parser for C source files=2E # -# THIS FILE IS AUTO-GENENERATED=2E PLEASE DON NOT MODIFY THIS FILE=2E +# THIS FILE IS AUTO-GENERATED=2E PLEASE DO NOT MODIFY THIS FILE=2E # This file is generated by running: # java org=2Eantlr=2ETool C=2Eg # diff --git a/BaseTools/Source/Python/Eot/CodeFragmentCollector=2Epy b/Base= Tools/Source/Python/Eot/CodeFragmentCollector=2Epy index b1e77a690a=2E=2Eec1faa665e 100644 --- a/BaseTools/Source/Python/Eot/CodeFragmentCollector=2Epy +++ b/BaseTools/Source/Python/Eot/CodeFragmentCollector=2Epy @@ -390,10 +390,10 @@ class CodeFragmentCollector: print('################# ' + self=2EFileName + '#################= ####') =20 print('/****************************************/') - print('/*************** ASSIGNMENTS ***************/') + print('/************** ASSIGNMENTS *************/') print('/****************************************/') - for asign in FileProfile=2EAssignmentExpressionList: - print(str(asign=2EStartPos) + asign=2EName + asign=2EOperator= + asign=2EValue) + for assign in FileProfile=2EAssignmentExpressionList: + print(str(assign=2EStartPos) + assign=2EName + assign=2EOpera= tor + assign=2EValue) =20 print('/****************************************/') print('/********* PREPROCESS DIRECTIVES ********/') diff --git a/BaseTools/Source/Python/Eot/Database=2Epy b/BaseTools/Source/= Python/Eot/Database=2Epy index 65bac9c127=2E=2Ef6191161f2 100644 --- a/BaseTools/Source/Python/Eot/Database=2Epy +++ b/BaseTools/Source/Python/Eot/Database=2Epy @@ -38,7 +38,7 @@ DATABASE_PATH =3D "Eot=2Edb" =20 ## Database class # -# This class defined the EOT databse +# This class defined the EOT database # During the phase of initialization, the database will create all tables= and # insert all records of table DataModel # @@ -83,7 +83,7 @@ class Database(object): self=2EConn =3D sqlite3=2Econnect(self=2EDbPath, isolation_level = =3D 'DEFERRED') self=2EConn=2Eexecute("PRAGMA page_size=3D8192") self=2EConn=2Eexecute("PRAGMA synchronous=3DOFF") - # to avoid non-ascii charater conversion error + # to avoid non-ascii character conversion error self=2EConn=2Etext_factory =3D str self=2ECur =3D self=2EConn=2Ecursor() =20 @@ -198,7 +198,7 @@ class Database(object): =20 ## UpdateIdentifierBelongsToFunction() method # - # Update the field "BelongsToFunction" for each Indentifier + # Update the field "BelongsToFunction" for each Identifier # # @param self: The object pointer # diff --git a/BaseTools/Source/Python/Eot/EotGlobalData=2Epy b/BaseTools/So= urce/Python/Eot/EotGlobalData=2Epy index cb6a940ab8=2E=2E729b9f7c77 100644 --- a/BaseTools/Source/Python/Eot/EotGlobalData=2Epy +++ b/BaseTools/Source/Python/Eot/EotGlobalData=2Epy @@ -92,7 +92,7 @@ gConsumedProtocolLibrary['EfiLocateProtocolHandleBuffers= '] =3D 0 gConsumedProtocolLibrary['EfiLocateProtocolInterface'] =3D 0 gConsumedProtocolLibrary['EfiHandleProtocol'] =3D 1 =20 -# Dict for callback PROTOCOL function callling +# Dict for callback PROTOCOL function calling gCallbackProtocolLibrary =3D OrderedDict() gCallbackProtocolLibrary['EfiRegisterProtocolCallback'] =3D 2 =20 diff --git a/BaseTools/Source/Python/Eot/EotMain=2Epy b/BaseTools/Source/P= ython/Eot/EotMain=2Epy index fd4bee6f90=2E=2Ee4359c5015 100644 --- a/BaseTools/Source/Python/Eot/EotMain=2Epy +++ b/BaseTools/Source/Python/Eot/EotMain=2Epy @@ -1514,7 +1514,7 @@ class Eot(object): % (Identifier, '=2ENotifyPpi', '->NotifyPpi',= MODEL_IDENTIFIER_FUNCTION_CALLING) SearchPpi(SqlCommand, Identifier, SourceFileID, SourceFileFul= lPath, ItemMode) =20 - # Find Procotols + # Find Protocols ItemMode =3D 'Produced' SqlCommand =3D """select Value, Name, BelongsToFile, StartLin= e, EndLine from %s where (Name like '%%%s%%' or Name like '%%%s%= %' or Name like '%%%s%%' or Name like '%%%s%%') and Model =3D %s""" \ diff --git a/BaseTools/Source/Python/Eot/InfParserLite=2Epy b/BaseTools/So= urce/Python/Eot/InfParserLite=2Epy index 0cfe0398f0=2E=2Ecec083330b 100644 --- a/BaseTools/Source/Python/Eot/InfParserLite=2Epy +++ b/BaseTools/Source/Python/Eot/InfParserLite=2Epy @@ -41,8 +41,8 @@ class EdkInfParser(object): # @param Database: Eot database # @param SourceFileList: A list for all source file belonging this = INF file # @param SourceOverridePath: Override path for source file - # @param Edk_Source: Envirnoment variable EDK_SOURCE - # @param Efi_Source: Envirnoment variable EFI_SOURCE + # @param Edk_Source: Environment variable EDK_SOURCE + # @param Efi_Source: Environment variable EFI_SOURCE # def __init__(self, Filename =3D None, Database =3D None, SourceFileLi= st =3D None, SourceOverridePath =3D None, Edk_Source =3D None, Efi_Source = =3D None): self=2EIdentification =3D Identification() diff --git a/BaseTools/Source/Python/Eot/Parser=2Epy b/BaseTools/Source/Py= thon/Eot/Parser=2Epy index 673088d41d=2E=2E6b47409c9d 100644 --- a/BaseTools/Source/Python/Eot/Parser=2Epy +++ b/BaseTools/Source/Python/Eot/Parser=2Epy @@ -62,7 +62,7 @@ def DeCompress(Method, Input): # @param MergeMultipleLines: Switch for if merge multiple lines # @param LineNo: Default line no # -# @return Lines: The file contents after remvoing comments +# @return Lines: The file contents after removing comments # def PreProcess(Filename, MergeMultipleLines =3D True, LineNo =3D -1): Lines =3D [] @@ -770,7 +770,7 @@ def GetParameterName(Parameter): # @param Table: Table to be searched # @param Key: The keyword # -# @return Value: The value of the the keyword +# @return Value: The value of the keyword # def FindKeyValue(Db, Table, Key): SqlCommand =3D """select Value from %s where Name =3D '%s' and (Model= =3D %s or Model =3D %s)""" % (Table, Key, MODEL_IDENTIFIER_VARIABLE, MODEL= _IDENTIFIER_ASSIGNMENT_EXPRESSION) diff --git a/BaseTools/Source/Python/Eot/Report=2Epy b/BaseTools/Source/Py= thon/Eot/Report=2Epy index 01ad86ad3e=2E=2E3e71c12393 100644 --- a/BaseTools/Source/Python/Eot/Report=2Epy +++ b/BaseTools/Source/Python/Eot/Report=2Epy @@ -332,7 +332,7 @@ class Report(object): Content =3D """ """ self=2EWriteLn(Content) - #End of Consumed Ppi/Portocol + #End of Consumed Ppi/Protocol =20 # Find Produced Ppi/Protocol SqlCommand =3D """select ModuleName, ItemType, GuidName, Guid= Value, GuidMacro from Report diff --git a/BaseTools/Source/Python/GenFds/FdfParser=2Epy b/BaseTools/Sou= rce/Python/GenFds/FdfParser=2Epy index 63edf816ec=2E=2E56294ed0d9 100644 --- a/BaseTools/Source/Python/GenFds/FdfParser=2Epy +++ b/BaseTools/Source/Python/GenFds/FdfParser=2Epy @@ -716,13 +716,13 @@ class FdfParser: EndPos =3D CurLine=2Efind(')', StartPos+2) while StartPos !=3D -1 and EndPos !=3D -1 and self=2E= _Token not in {TAB_IF_DEF, TAB_IF_N_DEF, TAB_IF, TAB_ELSE_IF}: MacroName =3D CurLine[StartPos+2: EndPos] - MacorValue =3D self=2E_GetMacroValue(MacroName) - if MacorValue is not None: - CurLine =3D CurLine=2Ereplace('$(' + MacroNam= e + ')', MacorValue, 1) - if MacorValue=2Efind('$(') !=3D -1: + MacroValue =3D self=2E_GetMacroValue(MacroName) + if MacroValue is not None: + CurLine =3D CurLine=2Ereplace('$(' + MacroNam= e + ')', MacroValue, 1) + if MacroValue=2Efind('$(') !=3D -1: PreIndex =3D StartPos else: - PreIndex =3D StartPos + len(MacorValue) + PreIndex =3D StartPos + len(MacroValue) else: PreIndex =3D EndPos + 1 StartPos =3D CurLine=2Efind('$(', PreIndex) @@ -1037,7 +1037,7 @@ class FdfParser: =20 ## _GetNextToken() method # - # Get next token unit before a seperator + # Get next token unit before a separator # If found, the string value is put into self=2E_Token # # @param self The object pointer @@ -1054,12 +1054,12 @@ class FdfParser: StartLine =3D self=2ECurrentLineNumber while StartLine =3D=3D self=2ECurrentLineNumber: TempChar =3D self=2E_CurrentChar() - # Try to find the end char that is not a space and not in sep= erator tuple=2E + # Try to find the end char that is not a space and not in sep= arator tuple=2E # That is, when we got a space or any char in the tuple, we g= ot the end of token=2E if not str(TempChar)=2Eisspace() and TempChar not in SEPARATO= RS: self=2E_GetOneChar() - # if we happen to meet a seperator as the first char, we must= proceed to get it=2E - # That is, we get a token that is a seperator char=2E nomally= it is the boundary of other tokens=2E + # if we happen to meet a separator as the first char, we must= proceed to get it=2E + # That is, we get a token that is a separator char=2E normall= y it is the boundary of other tokens=2E elif StartPos =3D=3D self=2ECurrentOffsetWithinLine and TempC= har in SEPARATORS: self=2E_GetOneChar() break @@ -1081,7 +1081,7 @@ class FdfParser: =20 ## _GetNextGuid() method # - # Get next token unit before a seperator + # Get next token unit before a separator # If found, the GUID string is put into self=2E_Token # # @param self The object pointer @@ -1133,13 +1133,13 @@ class FdfParser: while CurrentLine =3D=3D self=2ECurrentLineNumber: =20 TempChar =3D self=2E_CurrentChar() - # Try to find the end char that is not a space and not in sep= erator tuple=2E + # Try to find the end char that is not a space and not in sep= arator tuple=2E # That is, when we got a space or any char in the tuple, we g= ot the end of token=2E if not str(TempChar)=2Eisspace() and not TempChar in SEPARATO= RS: if not self=2E_UndoOneChar(): return - # if we happen to meet a seperator as the first char, we must= proceed to get it=2E - # That is, we get a token that is a seperator char=2E nomally= it is the boundary of other tokens=2E + # if we happen to meet a separator as the first char, we must= proceed to get it=2E + # That is, we get a token that is a separator char=2E normall= y it is the boundary of other tokens=2E elif StartPos =3D=3D self=2ECurrentOffsetWithinLine and TempC= har in SEPARATORS: return else: @@ -1149,7 +1149,7 @@ class FdfParser: =20 ## _GetNextHexNumber() method # - # Get next HEX data before a seperator + # Get next HEX data before a separator # If found, the HEX data is put into self=2E_Token # # @param self The object pointer @@ -1167,7 +1167,7 @@ class FdfParser: =20 ## _GetNextDecimalNumber() method # - # Get next decimal data before a seperator + # Get next decimal data before a separator # If found, the decimal data is put into self=2E_Token # # @param self The object pointer diff --git a/BaseTools/Source/Python/GenFds/FfsInfStatement=2Epy b/BaseToo= ls/Source/Python/GenFds/FfsInfStatement=2Epy index 6dcb57deed=2E=2E84506ed70e 100644 --- a/BaseTools/Source/Python/GenFds/FfsInfStatement=2Epy +++ b/BaseTools/Source/Python/GenFds/FfsInfStatement=2Epy @@ -190,7 +190,7 @@ class FfsInfStatement(FfsInfStatementClassObject): =20 Inf =3D GenFdsGlobalVariable=2EWorkSpace=2EBuildObject[PathCl= assObj, self=2ECurrentArch, GenFdsGlobalVariable=2ETargetName, GenFdsGlobal= Variable=2EToolChainTag] # - # Set Ffs BaseName, MdouleGuid, ModuleType, Version, OutputPa= th + # Set Ffs BaseName, ModuleGuid, ModuleType, Version, OutputPa= th # self=2EBaseName =3D Inf=2EBaseName self=2EModuleGuid =3D Inf=2EGuid @@ -352,7 +352,7 @@ class FfsInfStatement(FfsInfStatementClassObject): GenFdsGlobalVariable=2EVerboseLogger("InfFileName :%s" % self=2EI= nfFileName) =20 # - # Set OutputPath =3D ${WorkSpace}\Build\Fv\Ffs\${ModuleGuid}+ ${M= douleName}\ + # Set OutputPath =3D ${WorkSpace}\Build\Fv\Ffs\${ModuleGuid}+ ${M= oduleName}\ # =20 self=2EOutputPath =3D os=2Epath=2Ejoin(GenFdsGlobalVariable=2EFfs= Dir, \ diff --git a/BaseTools/Source/Python/GenFds/Fv=2Epy b/BaseTools/Source/Pyt= hon/GenFds/Fv=2Epy index 2ae991128a=2E=2E06d853b607 100644 --- a/BaseTools/Source/Python/GenFds/Fv=2Epy +++ b/BaseTools/Source/Python/GenFds/Fv=2Epy @@ -262,7 +262,7 @@ class FV (object): =20 ## _InitializeInf() # - # Initilize the inf file to create FV + # Initialize the inf file to create FV # # @param self The object pointer # @param BaseAddress base address of FV diff --git a/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign= =2Epy b/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign=2Epy index 6cea885853=2E=2E37c7e91e83 100644 --- a/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign=2Epy +++ b/BaseTools/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign=2Epy @@ -42,7 +42,7 @@ __usage__ =3D '%s -e|-d [options] ' % (_= _prog__) EFI_HASH_ALGORITHM_SHA256_GUID =3D uuid=2EUUID('{51aa59de-fdf2-4ea3-bc63-= 875fb7842ee9}') =20 # -# Structure defintion to unpack EFI_CERT_BLOCK_RSA_2048_SHA256 from UEFI = 2=2E4 Specification +# Structure definition to unpack EFI_CERT_BLOCK_RSA_2048_SHA256 from UEFI= 2=2E4 Specification # # typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 { # EFI_GUID HashType; diff --git a/BaseTools/Source/Python/Table/Table=2Epy b/BaseTools/Source/P= ython/Table/Table=2Epy index e89b99320d=2E=2Ed8ffc72dab 100644 --- a/BaseTools/Source/Python/Table/Table=2Epy +++ b/BaseTools/Source/Python/Table/Table=2Epy @@ -52,7 +52,7 @@ class Table(object): # Query all records of the table # def Query(self): - EdkLogger=2Everbose("\nQuery tabel %s started =2E=2E=2E" % self= =2ETable) + EdkLogger=2Everbose("\nQuery table %s started =2E=2E=2E" % self= =2ETable) SqlCommand =3D """select * from %s""" % self=2ETable self=2ECur=2Eexecute(SqlCommand) for Rs in self=2ECur: diff --git a/BaseTools/Source/Python/Table/TableFunction=2Epy b/BaseTools/= Source/Python/Table/TableFunction=2Epy index ee677cf107=2E=2E9d43ff0947 100644 --- a/BaseTools/Source/Python/Table/TableFunction=2Epy +++ b/BaseTools/Source/Python/Table/TableFunction=2Epy @@ -38,7 +38,7 @@ class TableFunction(Table): # @param Header: Header of a Function # @param Modifier: Modifier of a Function # @param Name: Name of a Function - # @param ReturnStatement: ReturnStatement of a Funciont + # @param ReturnStatement: ReturnStatement of a Function # @param StartLine: StartLine of a Function # @param StartColumn: StartColumn of a Function # @param EndLine: EndLine of a Function @@ -75,7 +75,7 @@ class TableFunction(Table): # @param Header: Header of a Function # @param Modifier: Modifier of a Function # @param Name: Name of a Function - # @param ReturnStatement: ReturnStatement of a Funciont + # @param ReturnStatement: ReturnStatement of a Function # @param StartLine: StartLine of a Function # @param StartColumn: StartColumn of a Function # @param EndLine: EndLine of a Function diff --git a/BaseTools/Source/Python/Table/TableQuery=2Epy b/BaseTools/Sou= rce/Python/Table/TableQuery=2Epy index 8e7d313c71=2E=2Eb203bf88e8 100644 --- a/BaseTools/Source/Python/Table/TableQuery=2Epy +++ b/BaseTools/Source/Python/Table/TableQuery=2Epy @@ -37,7 +37,7 @@ class TableQuery(Table): # # @param ID: ID of a Query # @param Name: Name of a Query - # @param Modifer: Modifier of a Query + # @param Modifier: Modifier of a Query # @param Value: Type of a Query # @param Model: Model of a Query # diff --git a/BaseTools/Source/Python/TargetTool/TargetTool=2Epy b/BaseTool= s/Source/Python/TargetTool/TargetTool=2Epy index a49a01f9e3=2E=2E5ff54160aa 100644 --- a/BaseTools/Source/Python/TargetTool/TargetTool=2Epy +++ b/BaseTools/Source/Python/TargetTool/TargetTool=2Epy @@ -143,14 +143,14 @@ def GetConfigureKeyValue(self, Key): if os=2Epath=2Eexists(dscFullPath): Line =3D "%-30s =3D %s\n" % (Key, self=2EOpt=2EDSCFILE) else: - EdkLogger=2Eerror("TagetTool", BuildToolError=2EFILE_NOT_FOUN= D, + EdkLogger=2Eerror("TargetTool", BuildToolError=2EFILE_NOT_FOU= ND, "DSC file %s does not exist!" % self=2EOpt=2E= DSCFILE, RaiseError=3DFalse) elif Key =3D=3D TAB_TAT_DEFINES_TOOL_CHAIN_CONF and self=2EOpt=2ETOOL= _DEFINITION_FILE is not None: tooldefFullPath =3D os=2Epath=2Ejoin(self=2EWorkSpace, self=2EOpt= =2ETOOL_DEFINITION_FILE) if os=2Epath=2Eexists(tooldefFullPath): Line =3D "%-30s =3D %s\n" % (Key, self=2EOpt=2ETOOL_DEFINITIO= N_FILE) else: - EdkLogger=2Eerror("TagetTool", BuildToolError=2EFILE_NOT_FOUN= D, + EdkLogger=2Eerror("TargetTool", BuildToolError=2EFILE_NOT_FOU= ND, "Tooldef file %s does not exist!" % self=2EOp= t=2ETOOL_DEFINITION_FILE, RaiseError=3DFalse) =20 elif self=2EOpt=2ENUM >=3D 2: diff --git a/BaseTools/Source/Python/Trim/Trim=2Epy b/BaseTools/Source/Pyt= hon/Trim/Trim=2Epy index 428bf0d681=2E=2E825ed3e5d5 100644 --- a/BaseTools/Source/Python/Trim/Trim=2Epy +++ b/BaseTools/Source/Python/Trim/Trim=2Epy @@ -168,7 +168,7 @@ def TrimPreprocessedFile(Source, Target, ConvertHex, T= rimLong): InjectedFile =3D MatchList[1] InjectedFile =3D os=2Epath=2Enormpath(InjectedFile) InjectedFile =3D os=2Epath=2Enormcase(InjectedFile) - # The first injetcted file must be the preprocessed file = itself + # The first injected file must be the preprocessed file i= tself if PreprocessedFile =3D=3D "": PreprocessedFile =3D InjectedFile LineControlDirectiveFound =3D True diff --git a/BaseTools/Source/Python/UPT/Core/DependencyRules=2Epy b/BaseT= ools/Source/Python/UPT/Core/DependencyRules=2Epy index 9c3baa1b12=2E=2E89b81f8b1f 100644 --- a/BaseTools/Source/Python/UPT/Core/DependencyRules=2Epy +++ b/BaseTools/Source/Python/UPT/Core/DependencyRules=2Epy @@ -159,7 +159,7 @@ class DependencyRules(object): # # @param PkgObj: A package object # @param DpObj: A distribution object - # @return: True if package depex satisified + # @return: True if package depex satisfied # False else # def CheckPackageDepexSatisfied(self, PkgObj, DpObj=3DNone): diff --git a/BaseTools/Source/Python/UPT/Core/IpiDb=2Epy b/BaseTools/Sourc= e/Python/UPT/Core/IpiDb=2Epy index 48defeac7e=2E=2Ebedf26321e 100644 --- a/BaseTools/Source/Python/UPT/Core/IpiDb=2Epy +++ b/BaseTools/Source/Python/UPT/Core/IpiDb=2Epy @@ -735,8 +735,8 @@ class IpiDatabase(object): =20 ## Get a list of module information that comes from DP=2E # - # @param DpGuid: A Distrabution Guid - # @param DpVersion: A Distrabution version + # @param DpGuid: A Distribution Guid + # @param DpVersion: A Distribution version # def GetSModInsPathListFromDp(self, DpGuid, DpVersion): =20 @@ -754,8 +754,8 @@ class IpiDatabase(object): =20 ## Get a list of package information=2E # - # @param DpGuid: A Distrabution Guid - # @param DpVersion: A Distrabution version + # @param DpGuid: A Distribution Guid + # @param DpVersion: A Distribution version # def GetPackageListFromDp(self, DpGuid, DpVersion): =20 @@ -774,8 +774,8 @@ class IpiDatabase(object): =20 ## Get a list of modules that depends on package information from a D= P=2E # - # @param DpGuid: A Distrabution Guid - # @param DpVersion: A Distrabution version + # @param DpGuid: A Distribution Guid + # @param DpVersion: A Distribution version # def GetDpDependentModuleList(self, DpGuid, DpVersion): =20 @@ -831,8 +831,8 @@ class IpiDatabase(object): =20 ## Get Dp's list of modules=2E # - # @param DpGuid: A Distrabution Guid - # @param DpVersion: A Distrabution version + # @param DpGuid: A Distribution Guid + # @param DpVersion: A Distribution version # def GetDpModuleList(self, DpGuid, DpVersion): ModList =3D [] diff --git a/BaseTools/Source/Python/UPT/GenMetaFile/GenDecFile=2Epy b/Bas= eTools/Source/Python/UPT/GenMetaFile/GenDecFile=2Epy index e2dd6a02dc=2E=2E63c6da0fec 100644 --- a/BaseTools/Source/Python/UPT/GenMetaFile/GenDecFile=2Epy +++ b/BaseTools/Source/Python/UPT/GenMetaFile/GenDecFile=2Epy @@ -646,8 +646,8 @@ def GenPackageUNIEncodeFile(PackageObject, UniFileHead= er =3D '', Encoding=3DTAB_ENCO File =3D codecs=2Eopen(ContainerFile, 'w', Encoding) File=2Ewrite(u'\uFEFF' + Content) File=2Estream=2Eclose() - Md5Sigature =3D md5(__FileHookOpen__(str(ContainerFile), 'rb')=2Eread= ()) - Md5Sum =3D Md5Sigature=2Ehexdigest() + Md5Signature =3D md5(__FileHookOpen__(str(ContainerFile), 'rb')=2Erea= d()) + Md5Sum =3D Md5Signature=2Ehexdigest() if (ContainerFile, Md5Sum) not in PackageObject=2EFileList: PackageObject=2EFileList=2Eappend((ContainerFile, Md5Sum)) =20 diff --git a/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile=2Epy b/Bas= eTools/Source/Python/UPT/GenMetaFile/GenInfFile=2Epy index 1f8b3f163e=2E=2E40346b0b3a 100644 --- a/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile=2Epy +++ b/BaseTools/Source/Python/UPT/GenMetaFile/GenInfFile=2Epy @@ -255,8 +255,8 @@ def GenModuleUNIEncodeFile(ModuleObject, UniFileHeader= =3D'', Encoding=3DDT=2ETAB_ENCOD File =3D codecs=2Eopen(ContainerFile, 'wb', Encoding) File=2Ewrite(u'\uFEFF' + Content) File=2Estream=2Eclose() - Md5Sigature =3D md5(__FileHookOpen__(str(ContainerFile), 'rb')=2Eread= ()) - Md5Sum =3D Md5Sigature=2Ehexdigest() + Md5Signature =3D md5(__FileHookOpen__(str(ContainerFile), 'rb')=2Erea= d()) + Md5Sum =3D Md5Signature=2Ehexdigest() if (ContainerFile, Md5Sum) not in ModuleObject=2EFileList: ModuleObject=2EFileList=2Eappend((ContainerFile, Md5Sum)) =20 diff --git a/BaseTools/Source/Python/UPT/InstallPkg=2Epy b/BaseTools/Sourc= e/Python/UPT/InstallPkg=2Epy index c553d707fd=2E=2Ecbc54f9407 100644 --- a/BaseTools/Source/Python/UPT/InstallPkg=2Epy +++ b/BaseTools/Source/Python/UPT/InstallPkg=2Epy @@ -176,8 +176,8 @@ def UnZipDp(WorkspaceDir, DpPkgFileName, Index=3D1): # verify MD5 signature when existed # if DistPkg=2EHeader=2ESignature !=3D '': - Md5Sigature =3D md5(__FileHookOpen__(ContentFile, 'rb')=2Eread()) - if DistPkg=2EHeader=2ESignature !=3D Md5Sigature=2Ehexdigest(): + Md5Signature =3D md5(__FileHookOpen__(ContentFile, 'rb')=2Eread()= ) + if DistPkg=2EHeader=2ESignature !=3D Md5Signature=2Ehexdigest(): ContentZipFile=2EClose() Logger=2EError("InstallPkg", FILE_CHECKSUM_FAILURE, ExtraData=3DContentFile) @@ -215,8 +215,8 @@ def GetPackageList(DistPkg, Dep, WorkspaceDir, Options= , ContentZipFile, ModuleLi # for Package in PackageList: FilePath =3D PackageToDec(Package, DistPkg=2EHeader) - Md5Sigature =3D md5(__FileHookOpen__(str(FilePath), 'rb')=2Eread(= )) - Md5Sum =3D Md5Sigature=2Ehexdigest() + Md5Signature =3D md5(__FileHookOpen__(str(FilePath), 'rb')=2Eread= ()) + Md5Sum =3D Md5Signature=2Ehexdigest() if (FilePath, Md5Sum) not in Package=2EFileList: Package=2EFileList=2Eappend((FilePath, Md5Sum)) =20 @@ -275,8 +275,8 @@ def GetModuleList(DistPkg, Dep, WorkspaceDir, ContentZ= ipFile, ModuleList): for (Module, Package) in ModuleList: CheckCNameInModuleRedefined(Module, DistPkg) FilePath =3D ModuleToInf(Module, Package, DistPkg=2EHeader) - Md5Sigature =3D md5(__FileHookOpen__(str(FilePath), 'rb')=2Eread(= )) - Md5Sum =3D Md5Sigature=2Ehexdigest() + Md5Signature =3D md5(__FileHookOpen__(str(FilePath), 'rb')=2Eread= ()) + Md5Sum =3D Md5Signature=2Ehexdigest() if Package: if (FilePath, Md5Sum) not in Package=2EFileList: Package=2EFileList=2Eappend((FilePath, Md5Sum)) @@ -803,8 +803,8 @@ def InstallFile(ContentZipFile, FromFile, ToFile, Read= Only, Executable=3DFalse): else: chmod(ToFile, stat=2ES_IRUSR | stat=2ES_IRGRP | stat=2ES_IROT= H | stat=2ES_IWUSR | stat=2ES_IWGRP | stat=2ES_IWOTH) =20 - Md5Sigature =3D md5(__FileHookOpen__(str(ToFile), 'rb')=2Eread()) - Md5Sum =3D Md5Sigature=2Ehexdigest() + Md5Signature =3D md5(__FileHookOpen__(str(ToFile), 'rb')=2Eread()) + Md5Sum =3D Md5Signature=2Ehexdigest() =20 return Md5Sum =20 @@ -876,8 +876,8 @@ def InstallPackageContent(FromPath, ToPath, Package, C= ontentZipFile, Dep, chmod(ToFile, stat=2ES_IRUSR|stat=2ES_IRGRP|stat=2ES_IROTH) else: chmod(ToFile, stat=2ES_IRUSR|stat=2ES_IRGRP|stat=2ES_IROTH|st= at=2ES_IWUSR|stat=2ES_IWGRP|stat=2ES_IWOTH) - Md5Sigature =3D md5(__FileHookOpen__(str(ToFile), 'rb')=2Eread()) - Md5Sum =3D Md5Sigature=2Ehexdigest() + Md5Signature =3D md5(__FileHookOpen__(str(ToFile), 'rb')=2Eread()= ) + Md5Sum =3D Md5Signature=2Ehexdigest() if (ToFile, Md5Sum) not in Package=2EFileList: Package=2EFileList=2Eappend((ToFile, Md5Sum)) Package=2ESetIncludeArchList(PackageIncludeArchList) diff --git a/BaseTools/Source/Python/UPT/Library/CommentParsing=2Epy b/Bas= eTools/Source/Python/UPT/Library/CommentParsing=2Epy index a09a530ffb=2E=2E250ba2dd5e 100644 --- a/BaseTools/Source/Python/UPT/Library/CommentParsing=2Epy +++ b/BaseTools/Source/Python/UPT/Library/CommentParsing=2Epy @@ -426,7 +426,7 @@ def _CheckListExpression(Expression): =20 return IsValidListExpr(ListExpr) =20 -## _CheckExpreesion +## _CheckExpression # # @param Expression: Pcd value expression # @@ -476,11 +476,11 @@ def _ValidateCopyright(Line): =20 def GenerateTokenList (Comment): # - # Tokenize Comment using '#' and ' ' as token seperators + # Tokenize Comment using '#' and ' ' as token separators # - RelplacedComment =3D None - while Comment !=3D RelplacedComment: - RelplacedComment =3D Comment + ReplacedComment =3D None + while Comment !=3D ReplacedComment: + ReplacedComment =3D Comment Comment =3D Comment=2Ereplace('##', '#')=2Ereplace(' ', ' ')=2Er= eplace(' ', '#')=2Estrip('# ') return Comment=2Esplit('#') =20 @@ -538,13 +538,13 @@ def ParseComment (Comment, UsageTokens, TypeTokens, = RemoveTokens, ParseVariable) NumTokens =3D 1 =20 # - # Initialze HelpText to Comment=2E + # Initialize HelpText to Comment=2E # Content will be remove from HelpText as matching tokens are found # HelpText =3D Comment =20 # - # Tokenize Comment using '#' and ' ' as token seperators + # Tokenize Comment using '#' and ' ' as token separators # List =3D GenerateTokenList (Comment) =20 diff --git a/BaseTools/Source/Python/UPT/Library/DataType=2Epy b/BaseTools= /Source/Python/UPT/Library/DataType=2Epy index 97ca835882=2E=2E07673694b2 100644 --- a/BaseTools/Source/Python/UPT/Library/DataType=2Epy +++ b/BaseTools/Source/Python/UPT/Library/DataType=2Epy @@ -93,7 +93,7 @@ TAB_STR_TOKENHELP =3D 'HELP' TAB_STR_TOKENERR =3D 'ERR' =20 # -# Dictionary of usage tokens and their synonmys +# Dictionary of usage tokens and their synonyms # ALL_USAGE_TOKENS =3D { "PRODUCES" : "PRODUCES", diff --git a/BaseTools/Source/Python/UPT/Library/GlobalData=2Epy b/BaseToo= ls/Source/Python/UPT/Library/GlobalData=2Epy index 40b17cf083=2E=2E6b093873dd 100644 --- a/BaseTools/Source/Python/UPT/Library/GlobalData=2Epy +++ b/BaseTools/Source/Python/UPT/Library/GlobalData=2Epy @@ -43,7 +43,7 @@ gINVALID_MODULE_FILE =3D gUPT_DIR + r"Invalid_Modules=2E= log" gCONTENT_FILE =3D "dist=2Econtent" =20 # -# File name for XML file in the distibution +# File name for XML file in the distribution # gDESC_FILE =3D 'dist=2Epkg' =20 diff --git a/BaseTools/Source/Python/UPT/Library/Misc=2Epy b/BaseTools/Sou= rce/Python/UPT/Library/Misc=2Epy index d69b161420=2E=2Ee7ee27cc53 100644 --- a/BaseTools/Source/Python/UPT/Library/Misc=2Epy +++ b/BaseTools/Source/Python/UPT/Library/Misc=2Epy @@ -788,7 +788,7 @@ def GetLibInstanceInfo(String, WorkSpace, LineNo): FileGuidString =3D "" VerString =3D "" =20 - OrignalString =3D String + OriginalString =3D String String =3D String=2Estrip() if not String: return None, None @@ -808,7 +808,7 @@ def GetLibInstanceInfo(String, WorkSpace, LineNo): ST=2EERR_FILELIST_EXIST % (String), File=3DGlobalData=2EgINF_MODULE_NAME, Line=3DLineNo, - ExtraData=3DOrignalString) + ExtraData=3DOriginalString) =20 # # Validate file exist/format=2E @@ -821,7 +821,7 @@ def GetLibInstanceInfo(String, WorkSpace, LineNo): ST=2EERR_INF_PARSER_FILE_NOT_EXIST_OR_NAME_INVALID %= (String), File=3DGlobalData=2EgINF_MODULE_NAME, Line=3DLineNo, - ExtraData=3DOrignalString) + ExtraData=3DOriginalString) return False if IsValidFileFlag: FileLinesList =3D [] @@ -973,7 +973,7 @@ def ValidateUNIFilePath(Path): ExtraData=3DPath) =20 # - # Check if '=2E=2E' in the file name(without suffixe) + # Check if '=2E=2E' in the file name(without suffix) # if (TAB_SPLIT + TAB_SPLIT) in Path: Logger=2EError("Unicode File Parser", diff --git a/BaseTools/Source/Python/UPT/Library/ParserValidate=2Epy b/Bas= eTools/Source/Python/UPT/Library/ParserValidate=2Epy index 87d156fa4c=2E=2E1408aec242 100644 --- a/BaseTools/Source/Python/UPT/Library/ParserValidate=2Epy +++ b/BaseTools/Source/Python/UPT/Library/ParserValidate=2Epy @@ -13,7 +13,7 @@ # =20 ''' -PaserValidate +ParserValidate ''' =20 import os=2Epath @@ -68,7 +68,7 @@ def IsValidHex(HexStr): # def IsValidBoolType(BoolString): # - # Valid Ture + # Valid True # if BoolString =3D=3D 'TRUE' or \ BoolString =3D=3D 'True' or \ @@ -124,11 +124,11 @@ def IsValidInfComponentType(ComponentType): ## Is valid Tool Family or not # # @param ToolFamily: A string contain Tool Family need to be judged= =2E -# Famlily :=3D [A-Z]([a-zA-Z0-9])* +# Family :=3D [A-Z]([a-zA-Z0-9])* # def IsValidToolFamily(ToolFamily): - ReIsValieFamily =3D re=2Ecompile(r"^[A-Z]+[A-Za-z0-9]{0,}$", re=2EDOT= ALL) - if ReIsValieFamily=2Ematch(ToolFamily) is None: + ReIsValidFamily =3D re=2Ecompile(r"^[A-Z]+[A-Za-z0-9]{0,}$", re=2EDOT= ALL) + if ReIsValidFamily=2Ematch(ToolFamily) is None: return False return True =20 @@ -158,8 +158,8 @@ def IsValidToolTagName(TagName): def IsValidArch(Arch): if Arch =3D=3D 'common': return True - ReIsValieArch =3D re=2Ecompile(r"^[a-zA-Z]+[a-zA-Z0-9]{0,}$", re=2EDO= TALL) - if ReIsValieArch=2Ematch(Arch) is None: + ReIsValidArch =3D re=2Ecompile(r"^[a-zA-Z]+[a-zA-Z0-9]{0,}$", re=2EDO= TALL) + if ReIsValidArch=2Ematch(Arch) is None: return False return True =20 diff --git a/BaseTools/Source/Python/UPT/Library/Parsing=2Epy b/BaseTools/= Source/Python/UPT/Library/Parsing=2Epy index 3eca8e3849=2E=2Ef7e995b93e 100644 --- a/BaseTools/Source/Python/UPT/Library/Parsing=2Epy +++ b/BaseTools/Source/Python/UPT/Library/Parsing=2Epy @@ -959,7 +959,7 @@ def MacroParser(Line, FileName, SectionType, FileLocal= Macros): # INF, DEC specs # @param SectionDict: section statement dict, key is SectionAttrs(arch, # moduletype or platform may exist as needed) list -# seperated by space, +# separated by space, # value is statement # def GenSection(SectionName, SectionDict, SplitArch=3DTrue, NeedBlankLine= =3DFalse): diff --git a/BaseTools/Source/Python/UPT/Library/StringUtils=2Epy b/BaseTo= ols/Source/Python/UPT/Library/StringUtils=2Epy index a3391daa91=2E=2E6fa1ee89d4 100644 --- a/BaseTools/Source/Python/UPT/Library/StringUtils=2Epy +++ b/BaseTools/Source/Python/UPT/Library/StringUtils=2Epy @@ -33,7 +33,7 @@ gMACRO_PATTERN =3D re=2Ecompile("\$\(([_A-Z][_A-Z0-9]*)\= )", re=2EUNICODE) =20 ## GetSplitValueList # -# Get a value list from a string with multiple values splited with SplitT= ag +# Get a value list from a string with multiple values split with SplitTag # The default SplitTag is DataType=2ETAB_VALUE_SPLIT # 'AAA|BBB|CCC' -> ['AAA', 'BBB', 'CCC'] # @@ -67,7 +67,7 @@ def MergeArches(Dict, Key, Arch): # Return False if invalid format # # @param String: String with DEFINE statement -# @param Arch: Supportted Arch +# @param Arch: Supported Arch # @param Defines: DEFINE statement to be parsed # def GenDefines(String, Arch, Defines): @@ -236,7 +236,7 @@ def ReplaceMacro(String, MacroDefinitions=3DNone, Self= Replacement=3DFalse, Line=3DNone ## NormPath # # Create a normal path -# And replace DFEINE in the path +# And replace DEFINE in the path # # @param Path: The input value for Path to be converted # @param Defines: A set for DEFINE statement @@ -613,9 +613,9 @@ def WorkspaceFile(WorkspaceDir, Filename): =20 ## Split string # -# Revmove '"' which startswith and endswith string +# Remove '"' which startswith and endswith string # -# @param String: The string need to be splited +# @param String: The string need to be split # def SplitString(String): if String=2Estartswith('\"'): @@ -734,7 +734,7 @@ def IsHexDigit(Str): return False return False =20 -## Check if the string is HexDgit and its interger value within limit of = UINT32 +## Check if the string is HexDgit and its integer value within limit of U= INT32 # # Return true if all characters in the string are digits and there is at # least one character diff --git a/BaseTools/Source/Python/UPT/Library/UniClassObject=2Epy b/Bas= eTools/Source/Python/UPT/Library/UniClassObject=2Epy index bd7804b753=2E=2Ed575c6b1f8 100644 --- a/BaseTools/Source/Python/UPT/Library/UniClassObject=2Epy +++ b/BaseTools/Source/Python/UPT/Library/UniClassObject=2Epy @@ -130,12 +130,12 @@ def ConvertSpecialUnicodes(Uni): ## GetLanguageCode1766 # # Check the language code read from =2EUNI file and convert RFC 4646 code= s to RFC 1766 codes -# RFC 1766 language codes supported in compatiblity mode +# RFC 1766 language codes supported in compatibility mode # RFC 4646 language codes supported in native mode # # @param LangName: Language codes read from =2EUNI file # -# @retval LangName: Valid lanugage code in RFC 1766 format or None +# @retval LangName: Valid language code in RFC 1766 format or None # def GetLanguageCode1766(LangName, File=3DNone): return LangName @@ -177,7 +177,7 @@ def GetLanguageCode1766(LangName, File=3DNone): ## GetLanguageCode # # Check the language code read from =2EUNI file and convert RFC 1766 code= s to RFC 4646 codes if appropriate -# RFC 1766 language codes supported in compatiblity mode +# RFC 1766 language codes supported in compatibility mode # RFC 4646 language codes supported in native mode # # @param LangName: Language codes read from =2EUNI file @@ -221,13 +221,13 @@ def GetLanguageCode(LangName, IsCompatibleMode, File= ): =20 ## FormatUniEntry # -# Formated the entry in Uni file=2E +# Formatted the entry in Uni file=2E # # @param StrTokenName StrTokenName=2E # @param TokenValueList A list need to be processed=2E # @param ContainerFile ContainerFile=2E # -# @return formated entry +# @return formatted entry def FormatUniEntry(StrTokenName, TokenValueList, ContainerFile): SubContent =3D '' PreFormatLength =3D 40 @@ -478,8 +478,8 @@ class UniFileClassObject(object): MultiLineFeedExits =3D False # # 0: initial value - # 1: signle String entry exist - # 2: line feed exist under the some signle String entry + # 1: single String entry exist + # 2: line feed exist under the some single String entry # StringEntryExistsFlag =3D 0 for Line in FileIn: @@ -497,7 +497,7 @@ class UniFileClassObject(object): StringEntryExistsFlag =3D 2 # # If the '#string' line and the '#language' line are not = in the same line, - # there should be only one line feed character betwwen th= em + # there should be only one line feed character between th= em # if MultiLineFeedExits: EdkLogger=2EError("Unicode File Parser", ToolError=2E= FORMAT_INVALID, ExtraData=3DFile=2EPath) @@ -505,7 +505,7 @@ class UniFileClassObject(object): =20 MultiLineFeedExits =3D False # - # Process comment embeded in string define lines + # Process comment embedded in string define lines # FindFlag =3D Line=2Efind(u'//') if FindFlag !=3D -1 and Line=2Efind(u'//') < Line=2Efind(u'"'= ): @@ -771,7 +771,7 @@ class UniFileClassObject(object): =20 # # Check Abstract, Description, BinaryAbstract and BinaryDescripti= on order, - # should be Abstract, Description, BinaryAbstract, BinaryDesctipt= ion + # should be Abstract, Description, BinaryAbstract, BinaryDescript= ion AbstractPosition =3D -1 DescriptionPosition =3D -1 BinaryAbstractPosition =3D -1 diff --git a/BaseTools/Source/Python/UPT/Logger/Log=2Epy b/BaseTools/Sourc= e/Python/UPT/Logger/Log=2Epy index e8c31f0072=2E=2E7671202b30 100644 --- a/BaseTools/Source/Python/UPT/Logger/Log=2Epy +++ b/BaseTools/Source/Python/UPT/Logger/Log=2Epy @@ -190,7 +190,7 @@ def Warn(ToolName, Message, File=3DNone, Line=3DNone, = ExtraData=3DNone): =20 _INFO_LOGGER=2Elog(WARN, LogText) # - # Raise an execption if indicated + # Raise an exception if indicated # if GlobalData=2EgWARNING_AS_ERROR =3D=3D True: raise FatalError(WARNING_AS_ERROR) @@ -198,7 +198,7 @@ def Warn(ToolName, Message, File=3DNone, Line=3DNone, = ExtraData=3DNone): ## Log ERROR message # # Once an error messages is logged, the tool's execution will be broken b= y -# raising an execption=2E If you don't want to break the execution later,= you +# raising an exception=2E If you don't want to break the execution later,= you # can give "RaiseError" with "False" value=2E # # @param ToolName The name of the tool=2E If not given, the name of= caller @@ -208,7 +208,7 @@ def Warn(ToolName, Message, File=3DNone, Line=3DNone, = ExtraData=3DNone): # @param File The name of file which caused the error=2E # @param Line The line number in the "File" which caused the wa= rning=2E # @param ExtraData More information associated with "Message" -# @param RaiseError Raise an exception to break the tool's executuion= if +# @param RaiseError Raise an exception to break the tool's execution = if # it's True=2E This is the default behavior=2E # def Error(ToolName, ErrorCode, Message=3DNone, File=3DNone, Line=3DNone, = \ diff --git a/BaseTools/Source/Python/UPT/Logger/StringTable=2Epy b/BaseToo= ls/Source/Python/UPT/Logger/StringTable=2Epy index 061943925a=2E=2Ed815d9cf89 100644 --- a/BaseTools/Source/Python/UPT/Logger/StringTable=2Epy +++ b/BaseTools/Source/Python/UPT/Logger/StringTable=2Epy @@ -135,7 +135,7 @@ ERR_INF_PARSER_LIBRARY_SECTION_CONTENT_ERROR =3D \ ERR_INF_PARSER_LIBRARY_SECTION_LIBNAME_MISSING =3D \ _("Format invalid=2E Please specify a library name=2E") ERR_INF_PARSER_SOURCES_SECTION_CONTENT_ERROR =3D \ - _("The format is incorrect=2E It should be formated as follows: " + _("The format is incorrect=2E It should be formatted as follows: " "FileName, Family | TagName | ToolCode | FeatureFlagExpr=2E") ERR_INF_PARSER_PCD_SECTION_TYPE_ERROR =3D \ _("The PCD section type is incorrect=2E The value should be this list= : %s") @@ -147,10 +147,10 @@ ERR_INF_PARSER_PCD_NAME_FORMAT_ERROR =3D \ "Should like following: =2E ") ERR_INF_PARSER_GUID_PPI_PROTOCOL_SECTION_CONTENT_ERROR =3D \ _("The format is incorrect=2E " - "It should be formated as follows: CName | FeatureFlag=2E") + "It should be formatted as follows: CName | FeatureFlag=2E") ERR_INF_PARSER_PACKAGE_SECTION_CONTENT_ERROR =3D \ _("The format is incorrect=2E " - "It should be formated as follows: =2E") + "It should be formatted as follows: =2E") ERR_INF_PARSER_PCD_TAIL_COMMENTS_INVALID =3D \ _("The format is incorrect=2E " "Multiple usage descriptions must be described on subsequent lines= =2E") @@ -197,7 +197,7 @@ ERR_INF_PARSER_FILE_MISS_DEFINE =3D \ _("The following file listed in the module " "directory is not listed in the INF: %s") ERR_INF_PARSER_VERSION_NUMBER_DEPRICATED =3D \ - _("VERSION_NUMBER depricated=2E " + _("VERSION_NUMBER deprecated=2E " "The INF file %s should be modified to use the VERSION_STRING inste= ad=2E") ERR_INF_PARSER_VER_EXIST_BOTH_NUM_STR =3D \ _("The INF file %s defines both VERSION_NUMBER and VERSION_STRING, " @@ -585,7 +585,7 @@ _("Only a distribution file name without a path is all= owed for " "the distribution to be replaced during replace=2E Current given: '%s'= =2E") ERR_UNIPARSE_DBLQUOTE_UNMATCHED =3D \ _("Only Language entry can contain a couple of matched quote in one line"= ) -ERR_UNIPARSE_NO_SECTION_EXIST =3D _("No PakcageDef or ModuleDef section e= xists in the UNI file=2E") +ERR_UNIPARSE_NO_SECTION_EXIST =3D _("No PackageDef or ModuleDef section e= xists in the UNI file=2E") ERR_UNIPARSE_STRNAME_FORMAT_ERROR =3D _("The String Token Name %s must st= art with \"STR_\"") ERR_UNIPARSE_SEP_LANGENTRY_LINE =3D _("Each should be in a se= parate line :%s=2E") ERR_UNIPARSE_MULTI_ENTRY_EXIST =3D \ @@ -724,7 +724,7 @@ _("Incorrect GUID value format, must be # diff --git a/BaseTools/Source/Python/UPT/MkPkg=2Epy b/BaseTools/Source/Pyt= hon/UPT/MkPkg=2Epy index 053d115547=2E=2E3dc18ac6eb 100644 --- a/BaseTools/Source/Python/UPT/MkPkg=2Epy +++ b/BaseTools/Source/Python/UPT/MkPkg=2Epy @@ -194,7 +194,7 @@ def Main(Options =3D None): ContentFileClosed =3D True =20 # - # Add Md5Sigature + # Add Md5Signature # DistPkg=2EHeader=2ESignature =3D md5(open(str(ContentFile), 'rb')= =2Eread())=2Ehexdigest() # diff --git a/BaseTools/Source/Python/UPT/Object/Parser/DecObject=2Epy b/Ba= seTools/Source/Python/UPT/Object/Parser/DecObject=2Epy index 302d3050aa=2E=2Efab4be351f 100644 --- a/BaseTools/Source/Python/UPT/Object/Parser/DecObject=2Epy +++ b/BaseTools/Source/Python/UPT/Object/Parser/DecObject=2Epy @@ -171,7 +171,7 @@ class _DecItemBaseObject(_DecComments): =20 ## DecDefineObject # -# Class to hold define section infomation +# Class to hold define section information # class DecDefineObject(_DecBaseObject): def __init__(self, PkgFullName): @@ -520,7 +520,7 @@ class DecGuidObject(DecGuidObjectBase): =20 ## DecPpiObject # -# Class for PPI seciont +# Class for PPI section # # @param DecGuidObjectBase: Dec Guid Object Base # diff --git a/BaseTools/Source/Python/UPT/Parser/DecParser=2Epy b/BaseTools= /Source/Python/UPT/Parser/DecParser=2Epy index f7eeb84127=2E=2E92bd64b9d9 100644 --- a/BaseTools/Source/Python/UPT/Parser/DecParser=2Epy +++ b/BaseTools/Source/Python/UPT/Parser/DecParser=2Epy @@ -705,7 +705,7 @@ class _DecGuid(_DecBase): =20 ## _DecUserExtension # -# Parse user extention section +# Parse user extension section # class _DecUserExtension(_DecBase): def __init__(self, RawData): @@ -1033,7 +1033,7 @@ class Dec(_DecBase, _DecComments): SectionNames=2Eappend(SectionName) # # In DEC specification, all section headers have at most two = part: - # SectionName=2EArch except UserExtention + # SectionName=2EArch except UserExtension # if len(ItemList) > 2: self=2E_LoggerError(ST=2EERR_DECPARSE_SECTION_SUBTOOMANY = % Item) diff --git a/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess=2Epy b/B= aseTools/Source/Python/UPT/Parser/InfAsBuiltProcess=2Epy index c314892adf=2E=2E53b62621dc 100644 --- a/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess=2Epy +++ b/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess=2Epy @@ -46,7 +46,7 @@ def GetLibInstanceInfo(String, WorkSpace, LineNo, Curren= tInfFileName): FileGuidString =3D "" VerString =3D "" =20 - OrignalString =3D String + OriginalString =3D String String =3D String=2Estrip() if not String: return None, None @@ -78,7 +78,7 @@ def GetLibInstanceInfo(String, WorkSpace, LineNo, Curren= tInfFileName): # # To deal with library instance specified by file name # - FileLinesList =3D GetFileLineContent(String, WorkSpace, LineNo, Orign= alString) + FileLinesList =3D GetFileLineContent(String, WorkSpace, LineNo, Origi= nalString) =20 =20 ReFindFileGuidPattern =3D re=2Ecompile("^\s*FILE_GUID\s*=3D=2E*$") diff --git a/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment=2Epy b= /BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment=2Epy index 5dc00affad=2E=2Ea7b59d958c 100644 --- a/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment=2Epy +++ b/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment=2Epy @@ -413,7 +413,7 @@ class DecPomAlignment(PackageObject): =20 # # get a non-overlap set of include path, IncludePathList should b= e - # sorted, and path should be end with path seperator '\' + # sorted, and path should be end with path separator '\' # NonOverLapList =3D [] for Path1 in IncludePathList: @@ -424,7 +424,7 @@ class DecPomAlignment(PackageObject): NonOverLapList=2Eappend(Path1) # # revert the list so the longest path shown first in list, also n= eed - # to remove the extra path seperator '\' + # to remove the extra path separator '\' # as this list is used to search the supported Arch info # for IndexN in range (0, len(IncludePathList)): diff --git a/BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignment=2Epy b= /BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignment=2Epy index 2e83c247ed=2E=2Ed01481727b 100644 --- a/BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignment=2Epy +++ b/BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignment=2Epy @@ -293,7 +293,7 @@ class InfPomAlignment(ModuleObject): self=2ESetUserExtensionList(self=2EGetUserExtensionList() + [= UserExtension]) # # Get all meta-file header information - # the record is list of items formated: + # the record is list of items formatted: # [LineValue, Arch, StartLine, ID, Third] # InfHeaderObj =3D self=2EParser=2EInfHeader diff --git a/BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignmentMisc=2E= py b/BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignmentMisc=2Epy index 239078d019=2E=2E68f281b521 100644 --- a/BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignmentMisc=2Epy +++ b/BaseTools/Source/Python/UPT/PomAdapter/InfPomAlignmentMisc=2Epy @@ -155,10 +155,10 @@ def GenModuleHeaderUserExt(DefineObj, ArchString): ## Generate the define statement that will be put into userextension # Not support comments=2E # -# @param HeaderComment: the original header comment (# not remvoed) +# @param HeaderComment: the original header comment (# not removed) # @param Name: the definition keyword, should not be empty or none # @param Value: the definition keyword value -# @param TailComment: the original Tail comment (# not remvoed) +# @param TailComment: the original Tail comment (# not removed) # # @return: the regenerated define statement # diff --git a/BaseTools/Source/Python/UPT/RmPkg=2Epy b/BaseTools/Source/Pyt= hon/UPT/RmPkg=2Epy index f1d141c736=2E=2E3d97295362 100644 --- a/BaseTools/Source/Python/UPT/RmPkg=2Epy +++ b/BaseTools/Source/Python/UPT/RmPkg=2Epy @@ -242,8 +242,8 @@ def RemoveDist(Guid, Version, StoredDistFile, DataBase= , WorkspaceDir, ForceRemov # # check whether modified by users # - Md5Sigature =3D md5(open(str(Path), 'rb')=2Eread()) - if Md5Sum !=3D Md5Sigature=2Ehexdigest(): + Md5Signature =3D md5(open(str(Path), 'rb')=2Eread()) + if Md5Sum !=3D Md5Signature=2Ehexdigest(): Logger=2EInfo(ST=2EMSG_CONFIRM_REMOVE2 % Path) Input =3D stdin=2Ereadline() Input =3D Input=2Ereplace('\r', '')=2Ereplace('\n', '= ') diff --git a/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest=2Epy b= /BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest=2Epy index afea4a438b=2E=2E752a9ea446 100644 --- a/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest=2Epy +++ b/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest=2Epy @@ -61,9 +61,9 @@ class MacroParserTestCase(unittest=2ETestCase): self=2Edec =3D _DecBase(FileContent('dummy', [])) =20 def testCorrectMacro(self): - self=2Edec=2E_MacroParser('DEFINE MARCRO1 =3D test1') - self=2EfailIf('MARCRO1' not in self=2Edec=2E_LocalMacro) - self=2EassertEqual(self=2Edec=2E_LocalMacro['MARCRO1'], 'test1') + self=2Edec=2E_MacroParser('DEFINE MACRO1 =3D test1') + self=2EfailIf('MACRO1' not in self=2Edec=2E_LocalMacro) + self=2EassertEqual(self=2Edec=2E_LocalMacro['MACRO1'], 'test1') =20 def testErrorMacro1(self): # Raise fatal error, macro name must be upper case letter diff --git a/BaseTools/Source/Python/Workspace/BuildClassObject=2Epy b/Bas= eTools/Source/Python/Workspace/BuildClassObject=2Epy index cff77a71ae=2E=2E1df042f41c 100644 --- a/BaseTools/Source/Python/Workspace/BuildClassObject=2Epy +++ b/BaseTools/Source/Python/Workspace/BuildClassObject=2Epy @@ -176,7 +176,7 @@ class PcdClassObject(object): ## Convert the class to a string # # Convert each member of the class to string - # Organize to a signle line format string + # Organize to a single line format string # # @retval Rtn Formatted String # diff --git a/BaseTools/Source/Python/Workspace/DecBuildData=2Epy b/BaseToo= ls/Source/Python/Workspace/DecBuildData=2Epy index 36b39be5d5=2E=2E149c057b70 100644 --- a/BaseTools/Source/Python/Workspace/DecBuildData=2Epy +++ b/BaseTools/Source/Python/Workspace/DecBuildData=2Epy @@ -121,7 +121,7 @@ class DecBuildData(PackageBuildClassObject): =20 ## Retrieve all information in [Defines] section # - # (Retriving all [Defines] information in one-shot is just to save = time=2E) + # (Retrieving all [Defines] information in one-shot is just to save= time=2E) # def _GetHeaderInfo(self): RecordList =3D self=2E_RawData[MODEL_META_DATA_HEADER, self=2E_Ar= ch] @@ -167,7 +167,7 @@ class DecBuildData(PackageBuildClassObject): if self=2E_Protocols is None: # # tdict is a special kind of dict, used for selecting correct - # protocol defition for given ARCH + # protocol definition for given ARCH # ProtocolDict =3D tdict(True) PrivateProtocolDict =3D tdict(True) @@ -210,7 +210,7 @@ class DecBuildData(PackageBuildClassObject): if self=2E_Ppis is None: # # tdict is a special kind of dict, used for selecting correct - # PPI defition for given ARCH + # PPI definition for given ARCH # PpiDict =3D tdict(True) PrivatePpiDict =3D tdict(True) @@ -253,7 +253,7 @@ class DecBuildData(PackageBuildClassObject): if self=2E_Guids is None: # # tdict is a special kind of dict, used for selecting correct - # GUID defition for given ARCH + # GUID definition for given ARCH # GuidDict =3D tdict(True) PrivateGuidDict =3D tdict(True) diff --git a/BaseTools/Source/Python/Workspace/DscBuildData=2Epy b/BaseToo= ls/Source/Python/Workspace/DscBuildData=2Epy index f472fa177f=2E=2E1fd1639ab6 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData=2Epy +++ b/BaseTools/Source/Python/Workspace/DscBuildData=2Epy @@ -343,7 +343,7 @@ class DscBuildData(PlatformBuildClassObject): =20 ## Retrieve all information in [Defines] section # - # (Retriving all [Defines] information in one-shot is just to save = time=2E) + # (Retrieving all [Defines] information in one-shot is just to save= time=2E) # def _GetHeaderInfo(self): RecordList =3D self=2E_RawData[MODEL_META_DATA_HEADER, self=2E_Ar= ch] diff --git a/BaseTools/Source/Python/Workspace/InfBuildData=2Epy b/BaseToo= ls/Source/Python/Workspace/InfBuildData=2Epy index fc779a9d25=2E=2E6148ab0d30 100644 --- a/BaseTools/Source/Python/Workspace/InfBuildData=2Epy +++ b/BaseTools/Source/Python/Workspace/InfBuildData=2Epy @@ -205,7 +205,7 @@ class InfBuildData(ModuleBuildClassObject): =20 ## Retrieve all information in [Defines] section # - # (Retriving all [Defines] information in one-shot is just to save = time=2E) + # (Retrieving all [Defines] information in one-shot is just to save= time=2E) # @cached_class_function def _GetHeaderInfo(self): @@ -816,7 +816,7 @@ class InfBuildData(ModuleBuildClassObject): RetVal[Arch, ModuleType] =3D TemporaryDictionary[Arch, Module= Type] return RetVal =20 - ## Retrieve depedency expression + ## Retrieve dependency expression @cached_property def DepexExpression(self): RetVal =3D tdict(False, 2) diff --git a/BaseTools/Source/Python/Workspace/MetaFileParser=2Epy b/BaseT= ools/Source/Python/Workspace/MetaFileParser=2Epy index 311d0faf38=2E=2Ea3e3216221 100644 --- a/BaseTools/Source/Python/Workspace/MetaFileParser=2Epy +++ b/BaseTools/Source/Python/Workspace/MetaFileParser=2Epy @@ -438,7 +438,7 @@ class MetaFileParser(object): ScopeKey =3D tuple(ScopeKey) # # DecParser SectionType is a list, will contain more than one ite= m only in Pcd Section - # As Pcd section macro usage is not alllowed, so here it is safe + # As Pcd section macro usage is not allowed, so here it is safe # if isinstance(self, DecParser): SectionDictKey =3D self=2E_SectionType[0], ScopeKey diff --git a/BaseTools/Source/Python/Workspace/WorkspaceCommon=2Epy b/Base= Tools/Source/Python/Workspace/WorkspaceCommon=2Epy index ee238e5143=2E=2Eb79280bc2e 100644 --- a/BaseTools/Source/Python/Workspace/WorkspaceCommon=2Epy +++ b/BaseTools/Source/Python/Workspace/WorkspaceCommon=2Epy @@ -247,7 +247,7 @@ def GetModuleLibInstances(Module, Platform, BuildDatab= ase, Arch, Target, Toolcha SortedLibraryList=2Eappend(Item) =20 # - # Build the list of constructor and destructir names + # Build the list of constructor and destructor names # The DAG Topo sort produces the destructor order, so the list of con= structors must generated in the reverse order # SortedLibraryList=2Ereverse() diff --git a/BaseTools/Source/Python/Workspace/WorkspaceDatabase=2Epy b/Ba= seTools/Source/Python/Workspace/WorkspaceDatabase=2Epy index a6a292d15c=2E=2E921a229a1c 100644 --- a/BaseTools/Source/Python/Workspace/WorkspaceDatabase=2Epy +++ b/BaseTools/Source/Python/Workspace/WorkspaceDatabase=2Epy @@ -37,7 +37,7 @@ from Workspace=2EInfBuildData import InfBuildData # # @param DbPath Path of database file # @param GlobalMacros Global macros used for replacement during fil= e parsing -# @prarm RenewDb=3DFalse Create new database file if it's already th= ere +# @param RenewDb=3DFalse Create new database file if it's already th= ere # class WorkspaceDatabase(object): =20 @@ -82,7 +82,7 @@ class WorkspaceDatabase(object): Arch =3D None return (FilePath, Arch) in self=2E_CACHE_ =20 - # key =3D (FilePath, Arch=3DNone, Target=3DNone, Toochain=3DNone) + # key =3D (FilePath, Arch=3DNone, Target=3DNone, Toolchain=3DNone= ) def __getitem__(self, Key): FilePath =3D Key[0] KeyLength =3D len(Key) @@ -123,7 +123,7 @@ class WorkspaceDatabase(object): Arch, MetaFileStorage(self=2EWorkspaceDb, FileP= ath, FileType) ) - # alwasy do post-process, in case of macros change + # always do post-process, in case of macros change MetaFile=2EDoPostProcess() # object the build is based on BuildObject =3D self=2E_GENERATOR_[FileType]( @@ -149,7 +149,7 @@ class WorkspaceDatabase(object): # # @param DbPath Path of database file # @param GlobalMacros Global macros used for replacement during= file parsing - # @prarm RenewDb=3DFalse Create new database file if it's alread= y there + # @param RenewDb=3DFalse Create new database file if it's alread= y there # def __init__(self): self=2EDB =3D dict() diff --git a/BaseTools/Source/Python/build/build=2Epy b/BaseTools/Source/P= ython/build/build=2Epy index cdea312864=2E=2E99e79d4dca 100644 --- a/BaseTools/Source/Python/build/build=2Epy +++ b/BaseTools/Source/Python/build/build=2Epy @@ -488,7 +488,7 @@ class BuildTask: time=2Esleep(0=2E1) except BaseException as X: # - # TRICK: hide the output of threads left runing, so that the = user can + # TRICK: hide the output of threads left running, so that the= user can # catch the error message easily # EdkLogger=2ESetLevel(EdkLogger=2EERROR) @@ -613,7 +613,7 @@ class BuildTask: self=2ECompleteFlag =3D True except: # - # TRICK: hide the output of threads left runing, so that the = user can + # TRICK: hide the output of threads left running, so that the= user can # catch the error message easily # if not BuildTask=2E_ErrorFlag=2EisSet(): @@ -1380,7 +1380,7 @@ class Build(): LaunchCommand(["GenFw", "--address", str(BaseAddress), "-= r", ModuleOutputImage], ModuleInfo=2EOutputDir) LaunchCommand(["GenFw", "--address", str(BaseAddress), "-= r", ModuleDebugImage], ModuleInfo=2EDebugDir) # - # Collect funtion address from Map file + # Collect function address from Map file # ImageMapTable =3D ModuleOutputImage=2Ereplace('=2Eefi', '=2Em= ap') FunctionList =3D [] @@ -1433,7 +1433,7 @@ class Build(): # MapBuffer=2Eappend('(IMAGE=3D%s)\n\n' % (ModuleDebugImage)) # - # Add funtion address + # Add function address # for Function in FunctionList: if AddrIsOffset: diff --git a/BaseTools/Tests/TianoCompress=2Epy b/BaseTools/Tests/TianoCom= press=2Epy index f6a4a6ae9c=2E=2E1be55188d6 100644 --- a/BaseTools/Tests/TianoCompress=2Epy +++ b/BaseTools/Tests/TianoCompress=2Epy @@ -57,7 +57,7 @@ class Tests(TestTools=2EBaseToolsTest): print('Original data did not match decompress(compress(data))= ') self=2EDisplayBinaryData('original data', start) self=2EDisplayBinaryData('after compression', self=2EReadTmpF= ile('output1')) - self=2EDisplayBinaryData('after decomression', finish) + self=2EDisplayBinaryData('after decompression', finish) self=2EassertTrue(startEqualsFinish) =20 def testRandomDataCycles(self): diff --git a/BaseTools/UserManuals/GenFds_Utility_Man_Page=2Ertf b/BaseToo= ls/UserManuals/GenFds_Utility_Man_Page=2Ertf index 587f6fb5b6=2E=2E9192bb699e 100644 --- a/BaseTools/UserManuals/GenFds_Utility_Man_Page=2Ertf +++ b/BaseTools/UserManuals/GenFds_Utility_Man_Page=2Ertf @@ -159,7 +159,7 @@ ool will generate a FV directory which includes a FFS = directory, Fv file, Fv INf \af41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid13252123 \hich\af41\dbch\af13\lo= ch\f41 described }{\rtlch\fcs1 \af41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid551= 3321 \hich\af41\dbch\af13\loch\f41 in the FDF file }{\rtlch\fcs1 \af41\afs1= 8 \ltrch\fcs0=20 \fs18\cf1\insrsid13252123 \hich\af41\dbch\af13\loch\f41 such as }{\rtlch\= fcs1 \af41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid5513321 \hich\af41\dbch\af13\= loch\f41 the \hich\f41 \lquote \loch\f41 InfFIle\hich\f41 \rquote \loch\f41= =20 statement format the GenFds tool }{\rtlch\fcs1 \af41\afs18 \ltrch\fcs0 = \fs18\cf1\insrsid13252123 \hich\af41\dbch\af13\loch\f41 will determing the = }{\rtlch\fcs1 \af41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid5513321 \hich\af41\d= bch\af13\loch\f41 \hich\f41=20 - input files from the path of \'93\loch\f41 $(outputDir)\\ $(Arch) \\ $= (ActivePlatfromName) \\$(ModuleName) \\$(ModuleName) \\DEBUG + input files from the path of \'93\loch\f41 $(outputDir)\\ $(Arch) \\ $= (ActivePlatformName) \\$(ModuleName) \\$(ModuleName) \\DEBUG \par }\pard \ltrpar\ql \fi-360\li420\ri0\sb200\nowidctlpar\tx420\wrapdefa= ult\faauto\rin0\lin420\itap0 {\rtlch\fcs1 \af41\afs18 \ltrch\fcs0 \fs18\cf1= \insrsid5513321 \hich\af41\dbch\af13\loch\f41 1=2E\tab If Arch list was }{\= rtlch\fcs1 \af41\afs18 \ltrch\fcs0=20 \fs18\cf1\insrsid13252123 \hich\af41\dbch\af13\loch\f41 specified}{\rtlch= \fcs1 \af41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid5513321 \hich\af41\dbch\af13= \loch\f41 , }{\rtlch\fcs1 \af41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid13252123= \hich\af41\dbch\af13\loch\f41=20 the }{\rtlch\fcs1 \af41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid5513321 \hich\= af41\dbch\af13\loch\f41 GenFds tool will use this Arch instead of Arch List= in Target=2Etxt file @@ -258,11 +258,11 @@ ARCHS is a comma separated (no space) list containin= g one or more of: IA32, X64, \fs24\lang1033\langfe1033\loch\af41\hich\af41\dbch\af13\cgrid\langnp1033\= langfenp1033 {\rtlch\fcs1 \ab\af41\afs28 \ltrch\fcs0 \b\fs28\cf17\insrsid55= 13321 {\*\bkmkend OLE_LINK3}{\*\bkmkend OLE_LINK4}{\*\bkmkend OLE_LINK5}\hi= ch\af41\dbch\af13\loch\f41=20 Example \par }\pard\plain \ltrpar\ql \li60\ri0\sb200\nowidctlpar\wrapdefault\faau= to\rin0\lin60\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang= 1033\langfe1033\loch\af41\hich\af41\dbch\af13\cgrid\langnp1033\langfenp1033= {\rtlch\fcs1 \af41\afs18=20 -\ltrch\fcs0 \fs18\cf1\insrsid5513321 \hich\af41\dbch\af13\loch\f41 1=2E W= ORKSAPCE has already set=2E $(WORKSPACE) =3D c:\\work\\\hich\af41\dbch\af13= \loch\f41 EdkII=2E The Fdf file is in c:\\work\\EdkII\\Nt32pkg\\Nt32pkg=2Ef= df=2E Output directory is c:\\work\\EdkII\\ +\ltrch\fcs0 \fs18\cf1\insrsid5513321 \hich\af41\dbch\af13\loch\f41 1=2E W= ORKSPACE has already set=2E $(WORKSPACE) =3D c:\\work\\\hich\af41\dbch\af13= \loch\f41 EdkII=2E The Fdf file is in c:\\work\\EdkII\\Nt32pkg\\Nt32pkg=2Ef= df=2E Output directory is c:\\work\\EdkII\\ Build\\Nt32\\Debug_MyTools=2E ActivePlatform is C:\\work\\EdkII\\Nt32Pkg= \\Nt32Pkg=2Edsc \par \hich\af41\dbch\af13\loch\f41 GenFds \hich\f41 \endash \loch\f41 f c= :\\work\\EdkII\\Nt32pkg\\Nt32pkg=2Efdf \hich\f41 \endash \loch\f41 o c:\\wo= rk\\EdkII\\Build\\Nt32\\Debug_MyTo\hich\af41\dbch\af13\loch\f41 ols \hich\f= 41 \endash \loch\f41 p c:\\work\\EdkII \\Nt32pkg\\Nt32Pkg=2Edsc -\par \hich\af41\dbch\af13\loch\f41 GenFds \hich\f41 \endash \loch\f41 f $= (WORKSPACE)\\Nt32Pkg\\Nt32Pkg=2Efdf \hich\f41 \endash \loch\f41 o $(WORSPAC= E)\\Build\\Nt32\\Debug_MyTools \hich\f41 \endash \loch\f41 p $(WORKSAPCE)\\= Nt32Pkg\\Nt32Pkg=2Edsc +\par \hich\af41\dbch\af13\loch\f41 GenFds \hich\f41 \endash \loch\f41 f $= (WORKSPACE)\\Nt32Pkg\\Nt32Pkg=2Efdf \hich\f41 \endash \loch\f41 o $(WORSPAC= E)\\Build\\Nt32\\Debug_MyTools \hich\f41 \endash \loch\f41 p $(WORKSPACE)\\= Nt32Pkg\\Nt32Pkg=2Edsc \par=20 \par \hich\af41\dbch\af13\loch\f41 GenFds \hich\f41 \endash \loch\f41 f N= t32Pkg\\Nt32Pkg=2Efdf \hich\f41 \endash \loch\f41 o Build\\Nt32\\Debug_MyTo= ols \hich\f41 \endash \loch\f41 p Nt32Pkg\\Nt32Pkg=2Edsc \par \hich\af41\dbch\af13\loch\f41 2=2E Generate on\hich\af41\dbch\af13\l= och\f41 e FD which is defined in FDF file=2E Use \hich\f41 \lquote \loch\f4= 1 -r\hich\f41 \rquote \loch\f41=20 diff --git a/BaseTools/UserManuals/GenFw_Utility_Man_Page=2Ertf b/BaseTool= s/UserManuals/GenFw_Utility_Man_Page=2Ertf index 4093baba7a=2E=2Ef4235b77fb 100644 --- a/BaseTools/UserManuals/GenFw_Utility_Man_Page=2Ertf +++ b/BaseTools/UserManuals/GenFw_Utility_Man_Page=2Ertf @@ -111,7 +111,7 @@ tamp=2E It can also extract PE32 image data to create = bin file, extract PE32 image \ab\af43\afs18 \ltrch\fcs0 \b\fs18\cf1\insrsid4815795=20 \par }{\rtlch\fcs1 \ab\af43\afs18 \ltrch\fcs0 \b\fs18\cf1\insrsid8459339 = \hich\af43\dbch\af31505\loch\f43 Filename1 [FilenameN] \par }\pard \ltrpar\ql \li360\ri0\sb200\nowidctlpar\wrapdefault\faauto\ri= n0\lin360\itap0 {\rtlch\fcs1 \af43\afs18 \ltrch\fcs0 \fs18\cf1\insrsid84593= 39 \hich\af43\dbch\af31505\loch\f43=20 -Input PE/PE32+ image, or TE image, or MicroCode Txt file, or MicroCode bi= n file, or hii binary pakcages=2E +Input PE/PE32+ image, or TE image, or MicroCode Txt file, or MicroCode bi= n file, or hii binary packages=2E \par }\pard \ltrpar\ql \li0\ri0\sb200\nowidctlpar\wrapdefault\faauto\rin0= \lin0\itap0 {\rtlch\fcs1 \ab\af43\afs18 \ltrch\fcs0 \b\fs18\cf1\insrsid8459= 339 \hich\af43\dbch\af31505\loch\f43 -o FileName, --outputfile FileName \par }\pard \ltrpar\ql \li360\ri0\sb200\nowidctlpar\wrapdefault\faauto\ri= n0\lin360\itap0 {\rtlch\fcs1 \af43\afs18 \ltrch\fcs0 \fs18\cf1\insrsid84593= 39 \hich\af43\dbch\af31505\loch\f43=20 The EFI image, TeImage, AcpiImage, MicroBin, hii package lists file or ot= her modified PE image\hich\af43\dbch\af31505\loch\f43 will be created=2E diff --git a/BaseTools/building-gcc=2Etxt b/BaseTools/building-gcc=2Etxt index 2b2cff6058=2E=2E13b5395f99 100644 --- a/BaseTools/building-gcc=2Etxt +++ b/BaseTools/building-gcc=2Etxt @@ -8,8 +8,8 @@ find scripts to help automate the build process=2E) If you do not have a tianocore=2Eorg account, you can make use of the 'gu= est' account with an empty password=2E =20 -In a web browser, you can 'browse' the relavent source at this location: +In a web browser, you can 'browse' the relevant source at this location: http://sourceforge=2Enet/p/edk2-buildtools/code/HEAD/tree/trunk/BaseTool= s/gcc =20 -Or, with subversion, you can download the relavent source with this comma= nd: +Or, with subversion, you can download the relevant source with this comma= nd: svn co https://svn=2Ecode=2Esf=2Enet/p/edk2-buildtools/code/trunk/BaseTo= ols/gcc diff --git a/BaseTools/gcc/mingw-gcc-build=2Epy b/BaseTools/gcc/mingw-gcc-= build=2Epy index 05fdb0932b=2E=2E92778d1fcb 100755 --- a/BaseTools/gcc/mingw-gcc-build=2Epy +++ b/BaseTools/gcc/mingw-gcc-build=2Epy @@ -554,7 +554,7 @@ class App: if result: print('All files have been downloaded & verified') else: - print('An error occured while downloading a file') + print('An error occurred while downloading a file') return =20 Extracter(sources, config)=2EExtractAll() diff --git a/BaseTools/toolsetup=2Ebat b/BaseTools/toolsetup=2Ebat index 6fe63e4baa=2E=2E5629bbaa41 100755 --- a/BaseTools/toolsetup=2Ebat +++ b/BaseTools/toolsetup=2Ebat @@ -270,7 +270,7 @@ goto check_build_environment =20 :check_c_tools echo=2E - echo !!! ERROR !!! Binary C tools are missing=2E They are requried to b= e built from BaseTools Source=2E + echo !!! ERROR !!! Binary C tools are missing=2E They are required to b= e built from BaseTools Source=2E echo=2E =20 :check_build_environment diff --git a/BuildNotes2=2Etxt b/BuildNotes2=2Etxt index 45520536a2=2E=2E8bf4f6930a 100644 --- a/BuildNotes2=2Etxt +++ b/BuildNotes2=2Etxt @@ -138,7 +138,7 @@ Tools in Python "/build/build=2Epy" directly=2E =20 * Convert Python source to exe file - The tools written in Python can be coverted into executable program whi= ch can + The tools written in Python can be converted into executable program wh= ich can be executed without Python interpreter=2E One of the conversion tools i= s called cx_Freeze, available at:=20 =20 diff --git a/Contributions=2Etxt b/Contributions=2Etxt index f34626912a=2E=2E14547ebdb7 100644 --- a/Contributions=2Etxt +++ b/Contributions=2Etxt @@ -144,7 +144,7 @@ title, and interest in and to Your Contributions=2E of such entity=2E * "Contribution" shall mean any original work of authorship, including any modifications or additions to an existing work, - that is intentionally submitted by You to the TinaoCore site for + that is intentionally submitted by You to the TianoCore site for inclusion in, or documentation of, any of the Content=2E For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the diff --git a/edksetup=2Ebat b/edksetup=2Ebat index 57b5a8c868=2E=2Ea493afa7ce 100755 --- a/edksetup=2Ebat +++ b/edksetup=2Ebat @@ -89,7 +89,7 @@ if exist %EDK_BASETOOLS% ( :checkNt32Flag if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=3D%EDK_TOOLS_PATH% =20 -@REM The Nt32 Emluation Platform requires Microsoft Libraries +@REM The Nt32 Emulation Platform requires Microsoft Libraries @REM and headers to interface with Windows=2E if /I "%1"=3D=3D"--nt32" ( if /I "%2"=3D=3D"X64" ( --=20 2=2E17=2E2 (Apple Git-113)