BaseTools: Fix various typos

Fix various typos in BaseTools.

Signed-off-by: Cœur <coeur@gmx.fr>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
Antoine Cœur
2019-07-04 19:43:48 +08:00
committed by Feng, Bob C
parent d031fc07eb
commit 2d53d54a5b
15 changed files with 22 additions and 22 deletions

View File

@@ -937,7 +937,7 @@ Arguments:
Fv - Address of the Fv in memory
Key - Should be 0 to get the first file. After that, it should be
passed back in without modifying it's contents to retrieve
passed back in without modifying its contents to retrieve
subsequent files.
File - Output file pointer
File == NULL - invalid parameter
@@ -1323,7 +1323,7 @@ Arguments:
SectionsStart - Address of the start of the FFS sections array
TotalSectionsSize - Total size of all the sections
Key - Should be 0 to get the first section. After that, it should be
passed back in without modifying it's contents to retrieve
passed back in without modifying its contents to retrieve
subsequent files.
Section - Output section pointer
(Section == NULL) -> invalid parameter

View File

@@ -151,7 +151,7 @@ typedef struct {
///
/// _CR - returns a pointer to the structure
/// from one of it's elements.
/// from one of its elements.
///
#define _CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))

View File

@@ -104,7 +104,7 @@ class ThreadControl(object):
while len(self.running) > 0:
time.sleep(0.1)
if self.error:
print("subprocess not exit sucessfully")
print("subprocess not exit successfully")
print(self.errorMsg)
def startTask(self):

View File

@@ -298,7 +298,7 @@ genDefFile( )
/* look in all lexclasses for the reg expr */
/* MR10 Derek Pappas */
/* MR10 A #tokclass doesn't have associated regular expressiones */
/* MR10 A #tokclass doesn't have associated regular expressions */
/* MR10 so don't warn user about it's omission */
p = (TermEntry *) hash_get(Tname, TokenString(i));

View File

@@ -649,7 +649,7 @@ _inf_zzgettok()
/* allocate default size text,token and line arrays;
* then, read all of the input reallocing the arrays as needed.
* Once the number of total tokens is known, the LATEXT(i) array (zzinf_text)
* is allocated and it's pointers are set to the tokens in zzinf_text_buffer.
* is allocated and its pointers are set to the tokens in zzinf_text_buffer.
*/
void
#ifdef __USE_PROTOS