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:
committed by
Feng, Bob C
parent
d031fc07eb
commit
2d53d54a5b
@ -312,7 +312,7 @@ class GenVPD :
|
||||
|
||||
##
|
||||
# Parser the input file which is generated by the build tool. Convert the value of each pcd's
|
||||
# from string to it's real format. Also remove the useless line in the input file.
|
||||
# from string to its real format. Also remove the useless line in the input file.
|
||||
#
|
||||
def ParserInputFile (self):
|
||||
count = 0
|
||||
@ -483,7 +483,7 @@ class GenVPD :
|
||||
self.PcdFixedOffsetSizeList.sort(key=lambda x: x.PcdBinOffset)
|
||||
|
||||
#
|
||||
# Sort the un-fixed pcd's offset by it's size.
|
||||
# Sort the un-fixed pcd's offset by its size.
|
||||
#
|
||||
self.PcdUnknownOffsetList.sort(key=lambda x: x.PcdBinSize)
|
||||
|
||||
@ -605,7 +605,7 @@ class GenVPD :
|
||||
# Usually it will not enter into this thunk, if so, means it overlapped.
|
||||
else :
|
||||
EdkLogger.error("BPDG", BuildToolError.ATTRIBUTE_NOT_AVAILABLE,
|
||||
"The offset value definition has overlapped at pcd: %s, it's offset is: %s, in file: %s line: %s" % \
|
||||
"The offset value definition has overlapped at pcd: %s, its offset is: %s, in file: %s line: %s" % \
|
||||
(eachFixedPcd.PcdCName, eachFixedPcd.PcdOffset, eachFixedPcd.InputFileName, eachFixedPcd.Lineno),
|
||||
None)
|
||||
FixOffsetSizeListCount += 1
|
||||
|
Reference in New Issue
Block a user