- }\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
-\r
- Iterator += sizeof (EFI_GUID);\r
- break;\r
-\r
- case EFI_DEP_AND:\r
- DEBUG ((DEBUG_DISPATCH, " AND\n"));\r
- Status = PopBool (&Operator);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
-\r
- Status = PopBool (&Operator2);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
-\r
- Status = PushBool ((BOOLEAN)(Operator && Operator2));\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
- break;\r
-\r
- case EFI_DEP_OR:\r
- DEBUG ((DEBUG_DISPATCH, " OR\n"));\r
- Status = PopBool (&Operator);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
-\r
- Status = PopBool (&Operator2);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
-\r
- Status = PushBool ((BOOLEAN)(Operator || Operator2));\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
- break;\r
-\r
- case EFI_DEP_NOT:\r
- DEBUG ((DEBUG_DISPATCH, " NOT\n"));\r
- Status = PopBool (&Operator);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
-\r
- Status = PushBool ((BOOLEAN)(!Operator));\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
- break;\r
-\r
- case EFI_DEP_TRUE:\r
- DEBUG ((DEBUG_DISPATCH, " TRUE\n"));\r
- Status = PushBool (TRUE);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
- break;\r
-\r
- case EFI_DEP_FALSE:\r
- DEBUG ((DEBUG_DISPATCH, " FALSE\n"));\r
- Status = PushBool (FALSE);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
- break;\r
-\r
- case EFI_DEP_END:\r
- DEBUG ((DEBUG_DISPATCH, " END\n"));\r
- Status = PopBool (&Operator);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = %a\n", Operator ? "TRUE" : "FALSE"));\r
- return Operator;\r
-\r
- case EFI_DEP_REPLACE_TRUE:\r
- CopyMem (&DriverGuid, Iterator + 1, sizeof (EFI_GUID));\r
- DEBUG ((DEBUG_DISPATCH, " PUSH GUID(%g) = TRUE\n", &DriverGuid));\r
- Status = PushBool (TRUE);\r
- if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unexpected error)\n"));\r
- return FALSE;\r
- }\r
-\r
- Iterator += sizeof (EFI_GUID);\r
- break;\r
-\r
- default:\r
- DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Unknown opcode)\n"));\r
- goto Done;\r