summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/C
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C')
-rw-r--r--BaseTools/Source/C/Common/FirmwareVolumeBuffer.c4
-rw-r--r--BaseTools/Source/C/Include/Common/BaseTypes.h2
-rw-r--r--BaseTools/Source/C/Makefiles/NmakeSubdirs.py2
-rw-r--r--BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c2
-rw-r--r--BaseTools/Source/C/VfrCompile/Pccts/h/err.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c b/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c
index 6e1914be29..70741c8afc 100644
--- a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c
+++ b/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c
@@ -937,7 +937,7 @@ Arguments:
Fv - Address of the Fv in memory
Key - Should be 0 to get the first file. After 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
diff --git a/BaseTools/Source/C/Include/Common/BaseTypes.h b/BaseTools/Source/C/Include/Common/BaseTypes.h
index 9844d1d514..31d0662085 100644
--- a/BaseTools/Source/C/Include/Common/BaseTypes.h
+++ b/BaseTools/Source/C/Include/Common/BaseTypes.h
@@ -151,7 +151,7 @@ typedef struct {
///
/// _CR - returns a pointer to the structure
-/// from one of it's elements.
+/// from one of its elements.
///
#define _CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - (CHAR8 *) &(((TYPE *) 0)->Field)))
diff --git a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py b/BaseTools/Source/C/Makefiles/NmakeSubdirs.py
index 30a481613e..356f5aca63 100644
--- a/BaseTools/Source/C/Makefiles/NmakeSubdirs.py
+++ b/BaseTools/Source/C/Makefiles/NmakeSubdirs.py
@@ -104,7 +104,7 @@ class ThreadControl(object):
while len(self.running) > 0:
time.sleep(0.1)
if self.error:
- print("subprocess not exit sucessfully")
+ print("subprocess not exit successfully")
print(self.errorMsg)
def startTask(self):
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c b/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c
index 357b8ace01..fddb46bbc3 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c
+++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/lex.c
@@ -298,7 +298,7 @@ genDefFile( )
/* look in all 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));
diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/err.h b/BaseTools/Source/C/VfrCompile/Pccts/h/err.h
index b2b196bd75..435d48356d 100644
--- a/BaseTools/Source/C/VfrCompile/Pccts/h/err.h
+++ b/BaseTools/Source/C/VfrCompile/Pccts/h/err.h
@@ -649,7 +649,7 @@ _inf_zzgettok()
/* allocate default size text,token and line arrays;
* then, read all of the input reallocing the arrays as needed.
* Once the number of total tokens is known, the LATEXT(i) array (zzinf_text)
- * is allocated and it's pointers are set to the tokens in zzinf_text_buffer.
+ * is allocated and its pointers are set to the tokens in zzinf_text_buffer.
*/
void
#ifdef __USE_PROTOS