Fix various typos in BaseTools.
Signed-off-by: Cœur <coeur@gmx.fr>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Package.\r
</xs:documentation>\r
<xs:documentation xml:lang="en-us">\r
- Each Distribution Package is uniquely identified by it's\r
+ Each Distribution Package is uniquely identified by its\r
GUID and Version number.\r
</xs:documentation>\r
</xs:annotation>\r
Modules.\r
</xs:documentation>\r
<xs:documentation xml:lang="en-us">\r
- Each package is uniquely identified by it's GUID and Version number.\r
+ Each package is uniquely identified by its GUID and Version number.\r
Backward compatible releases of a package need only change the version number, while non-backward\r
compatible changes require the GUID to change (resetting the version number to 1.0 is optional.)\r
</xs:documentation>\r
<xs:element name="ModuleSurfaceArea">\r
<xs:annotation>\r
<xs:documentation xml:lang="en-us">\r
- Each module is uniquely identified by it's GUID and Version number.\r
+ Each module is uniquely identified by its GUID and Version number.\r
Backward compatible releases of a module need only change the version number, while non-backward\r
compatible changes require the GUID to change (resetting the version number to 1.0 is optional.)\r
</xs:documentation>\r
<xs:documentation xml:lang="en-us">\r
The Patch PCD is a #define that is set at build time, and that\r
can be modified within a binary file. Additional information, such as the offset location of the\r
- value, along with it's length may need to be provided.\r
+ value, along with its length may need to be provided.\r
</xs:documentation>\r
</xs:annotation>\r
</xs:enumeration>\r
Generate page for a module/library.\r
@param infObj INF file object for module/library\r
@param configFile doxygen config file object\r
- @param isLib Whether this module is libary\r
+ @param isLib Whether this module is library\r
\r
@param module doxygen page object\r
"""\r
Generate page for a module/library.\r
@param infObj INF file object for module/library\r
@param configFile doxygen config file object\r
- @param isLib Whether this module is libary\r
+ @param isLib Whether this module is library\r
\r
@param module doxygen page object\r
"""\r
\r
Fv - Address of the Fv in memory\r
Key - Should be 0 to get the first file. After that, it should be\r
- passed back in without modifying it's contents to retrieve\r
+ passed back in without modifying its contents to retrieve\r
subsequent files.\r
File - Output file pointer\r
File == NULL - invalid parameter\r
SectionsStart - Address of the start of the FFS sections array\r
TotalSectionsSize - Total size of all the sections\r
Key - Should be 0 to get the first section. After that, it should be\r
- passed back in without modifying it's contents to retrieve\r
+ passed back in without modifying its contents to retrieve\r
subsequent files.\r
Section - Output section pointer\r
(Section == NULL) -> invalid parameter\r
\r
///\r
/// _CR - returns a pointer to the structure\r
-/// from one of it's elements.\r
+/// from one of its elements.\r
///\r
#define _CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))\r
\r
while len(self.running) > 0:\r
time.sleep(0.1)\r
if self.error:\r
- print("subprocess not exit sucessfully")\r
+ print("subprocess not exit successfully")\r
print(self.errorMsg)\r
\r
def startTask(self):\r
/* look in all lexclasses for the reg expr */\r
\r
/* MR10 Derek Pappas */\r
-/* MR10 A #tokclass doesn't have associated regular expressiones */\r
+/* MR10 A #tokclass doesn't have associated regular expressions */\r
/* MR10 so don't warn user about it's omission */\r
\r
p = (TermEntry *) hash_get(Tname, TokenString(i));\r
/* allocate default size text,token and line arrays;\r
* then, read all of the input reallocing the arrays as needed.\r
* Once the number of total tokens is known, the LATEXT(i) array (zzinf_text)\r
- * is allocated and it's pointers are set to the tokens in zzinf_text_buffer.\r
+ * is allocated and its pointers are set to the tokens in zzinf_text_buffer.\r
*/\r
void\r
#ifdef __USE_PROTOS\r
IncPathList = [NormPath(Path, self.Macros) for Path in BuildOptIncludeRegEx.findall(FlagOption)]\r
else:\r
#\r
- # RVCT may specify a list of directory seperated by commas\r
+ # RVCT may specify a list of directory separated by commas\r
#\r
IncPathList = []\r
for Path in BuildOptIncludeRegEx.findall(FlagOption):\r
#\r
@cached_class_function\r
def CreateMakeFile(self, CreateLibraryMakeFile=True, GenFfsList = []):\r
- # nest this function inside it's only caller.\r
+ # nest this function inside its only caller.\r
def CreateTimeStamp():\r
FileSet = {self.MetaFile.Path}\r
\r
\r
##\r
# Parser the input file which is generated by the build tool. Convert the value of each pcd's\r
- # from string to it's real format. Also remove the useless line in the input file.\r
+ # from string to its real format. Also remove the useless line in the input file.\r
#\r
def ParserInputFile (self):\r
count = 0\r
self.PcdFixedOffsetSizeList.sort(key=lambda x: x.PcdBinOffset)\r
\r
#\r
- # Sort the un-fixed pcd's offset by it's size.\r
+ # Sort the un-fixed pcd's offset by its size.\r
#\r
self.PcdUnknownOffsetList.sort(key=lambda x: x.PcdBinSize)\r
\r
# Usually it will not enter into this thunk, if so, means it overlapped.\r
else :\r
EdkLogger.error("BPDG", BuildToolError.ATTRIBUTE_NOT_AVAILABLE,\r
- "The offset value definition has overlapped at pcd: %s, it's offset is: %s, in file: %s line: %s" % \\r
+ "The offset value definition has overlapped at pcd: %s, its offset is: %s, in file: %s line: %s" % \\r
(eachFixedPcd.PcdCName, eachFixedPcd.PcdOffset, eachFixedPcd.InputFileName, eachFixedPcd.Lineno),\r
None)\r
FixOffsetSizeListCount += 1\r
\r
## IncludeToolDefFile\r
#\r
- # Load target.txt file and parse it as if it's contents were inside the main file\r
+ # Load target.txt file and parse it as if its contents were inside the main file\r
#\r
# @param Filename: Input value for full path of tools_def.txt\r
#\r
##\r
# PCD driver type list items\r
#\r
-PCD_DIRVER_TYPE_LIST = ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"]\r
+PCD_DRIVER_TYPE_LIST = ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"]\r
\r
##\r
# Boot Mode List Items\r
## SplitPcdEntry\r
#\r
# Split an PCD entry string to Token.CName and PCD value and FFE.\r
-# NOTE: PCD Value and FFE can contain "|" in it's expression. And in INF specification, have below rule.\r
+# NOTE: PCD Value and FFE can contain "|" in its expression. And in INF specification, have below rule.\r
# When using the characters "|" or "||" in an expression, the expression must be encapsulated in\r
# open "(" and close ")" parenthesis.\r
#\r
ERR_ASBUILD_PATCHPCD_FORMAT_INVALID = _("The AsBuilt PatchPcd entry must contain 3 elements: PcdName|Value|Offset")\r
ERR_ASBUILD_PCDEX_FORMAT_INVALID = _("The AsBuilt PcdEx entry must contain one element: PcdName")\r
ERR_ASBUILD_PCD_VALUE_INVALID = \\r
- _("The AsBuilt PCD value %s is incorrect or not align with it's datum type %s. "\r
+ _("The AsBuilt PCD value %s is incorrect or not align with its datum type %s. "\r
"It must be corrected before continuing.")\r
ERR_ASBUILD_PCD_TOKENSPACE_GUID_VALUE_MISS = _("Package file value could not be retrieved for %s.")\r
ERR_ASBUILD_PCD_DECLARITION_MISS = _("PCD Declaration in DEC files could not be found for: %s.")\r
InfSectionCommonDef.__init__(self)\r
## SetBuildOptions function\r
#\r
- # For BuildOptionName, need to validate it's format\r
+ # For BuildOptionName, need to validate its format\r
# For BuildOptionValue, just ignore it.\r
#\r
# @param Arch Indicated which arch of build options belong to.\r