BaseTool: Add refresh form opcode in vfrcompiler.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17333 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Eric Dong 2015-05-06 09:27:07 +00:00 committed by ydong10
parent 031aa3a722
commit e2a5feb9d6
1 changed files with 6 additions and 4 deletions

View File

@ -1458,7 +1458,8 @@ vfrFormDefinition :
// Just for framework vfr compatibility // Just for framework vfr compatibility
vfrStatementInvalid | vfrStatementInvalid |
vfrStatementExtension | vfrStatementExtension |
vfrStatementModal vfrStatementModal |
vfrStatementRefreshEvent ";"
)* )*
E:EndForm << E:EndForm <<
if (mCompatibleMode) { if (mCompatibleMode) {
@ -1504,7 +1505,8 @@ vfrFormMapDefinition :
vfrStatementLabel | vfrStatementLabel |
vfrStatementBanner | vfrStatementBanner |
vfrStatementExtension | vfrStatementExtension |
vfrStatementModal vfrStatementModal |
vfrStatementRefreshEvent ";"
)* )*
E:EndForm << CRT_END_OP (E); >> E:EndForm << CRT_END_OP (E); >>
";" ";"
@ -2710,7 +2712,7 @@ vfrStatementQuestionTag :
vfrStatementRefresh | vfrStatementRefresh |
vfrStatementVarstoreDevice | vfrStatementVarstoreDevice |
vfrStatementExtension | vfrStatementExtension |
vfrStatementRefreshEvent | vfrStatementRefreshEvent "," |
vfrStatementWarningIf vfrStatementWarningIf
; ;
@ -2940,7 +2942,7 @@ vfrStatementRefreshEvent :
EFI_GUID Guid; EFI_GUID Guid;
>> >>
L:RefreshGuid << RiObj.SetLineNo(L->getLine()); >> L:RefreshGuid << RiObj.SetLineNo(L->getLine()); >>
"=" guidDefinition[Guid] "," << RiObj.SetRefreshEventGroutId (&Guid); >> "=" guidDefinition[Guid] << RiObj.SetRefreshEventGroutId (&Guid); >>
; ;
vfrStatementVarstoreDevice : vfrStatementVarstoreDevice :