Update code to support guid op nest in the statement.
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@14995 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -322,7 +322,9 @@ ProcessExternedOpcode (
|
||||
)
|
||||
{
|
||||
LIST_ENTRY *Link;
|
||||
LIST_ENTRY *NestLink;
|
||||
FORM_DISPLAY_ENGINE_STATEMENT *Statement;
|
||||
FORM_DISPLAY_ENGINE_STATEMENT *NestStatement;
|
||||
|
||||
Link = GetFirstNode (&FormData->StatementListOSF);
|
||||
while (!IsNull (&FormData->StatementListOSF, Link)) {
|
||||
@ -338,6 +340,15 @@ ProcessExternedOpcode (
|
||||
Link = GetNextNode (&FormData->StatementListHead, Link);
|
||||
|
||||
ProcessUserOpcode(Statement->OpCode);
|
||||
|
||||
NestLink = GetFirstNode (&Statement->NestStatementList);
|
||||
while (!IsNull (&Statement->NestStatementList, NestLink)) {
|
||||
NestStatement = FORM_DISPLAY_ENGINE_STATEMENT_FROM_LINK (NestLink);
|
||||
NestLink = GetNextNode (&Statement->NestStatementList, NestLink);
|
||||
|
||||
ProcessUserOpcode(NestStatement->OpCode);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user