BaseTools: Various typo
Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
325ad62260
commit
fb0b35e05f
@@ -64,7 +64,7 @@ VfrParserStart (
|
||||
//
|
||||
// Define a lexical class for parsing quoted strings. Basically
|
||||
// starts with a double quote, and ends with a double quote that
|
||||
// is not preceeded with a backslash.
|
||||
// is not preceded with a backslash.
|
||||
//
|
||||
#lexclass QUOTED_STRING
|
||||
#token TheString "~[\"]*\"" << mode (START); >>
|
||||
@@ -1214,7 +1214,7 @@ vfrStatementVarStoreNameValue :
|
||||
;
|
||||
|
||||
//
|
||||
// keep classDeinition and validClassNames for compatibility but not generate
|
||||
// keep classDefinition and validClassNames for compatibility but not generate
|
||||
// any IFR object
|
||||
//
|
||||
classDefinition[UINT16 & Class] :
|
||||
@@ -4121,7 +4121,7 @@ vfrStatementExpression [UINT32 RootLevel, UINT32 ExpOpCount = 0] :
|
||||
|
||||
//
|
||||
// Add new sub function for the sub expression extension to remember the ExpOpCount
|
||||
// This funciton is only called by sub expression.
|
||||
// This function is only called by sub expression.
|
||||
//
|
||||
vfrStatementExpressionSub [UINT32 RootLevel, UINT32 & ExpOpCount] :
|
||||
andTerm[$RootLevel, $ExpOpCount]
|
||||
@@ -5615,7 +5615,7 @@ EfiVfrParser::_DeclareDefaultFrameworkVarStore (
|
||||
VSEObj.SetAttributes (0x00000002); //hardcode EFI_VARIABLE_BOOTSERVICE_ACCESS attribute
|
||||
VSEObj.SetGuid (&pNode->mGuid);
|
||||
VSEObj.SetVarStoreId (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.3.1.
|
||||
VSEObj.SetBinaryLength (sizeof (EFI_IFR_VARSTORE_EFI) - 3);
|
||||
#ifdef VFREXP_DEBUG
|
||||
|
Reference in New Issue
Block a user