if a driver can be scheduled for execution. The criteria for\r
schedulability is that the dependency expression is satisfied.\r
\r
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
\r
VOID *PeiInstance;\r
EFI_STATUS Status;\r
EFI_GUID PpiGuid;\r
- \r
+\r
//\r
// If there is no GUID to evaluate, just return current result on stack.\r
//\r
if (Stack->Operator == NULL) {\r
return Stack->Result;\r
}\r
- \r
+\r
//\r
// Copy the Guid into a locale variable so that there are no\r
- // possibilities of alignment faults for cross-compilation \r
+ // possibilities of alignment faults for cross-compilation\r
// environments such as Intel?Itanium(TM).\r
//\r
CopyMem(&PpiGuid, Stack->Operator, sizeof(EFI_GUID));\r
if (EFI_ERROR(Status)) {\r
return FALSE;\r
}\r
- \r
+\r
return TRUE;\r
}\r
\r
while (TRUE) {\r
\r
switch (*(Iterator++)) {\r
- \r
+\r
//\r
- // For performance reason we put the frequently used items in front of \r
+ // For performance reason we put the frequently used items in front of\r
// the rarely used items\r
//\r
- \r
+\r
case (EFI_DEP_PUSH):\r
//\r
// Check to make sure the dependency grammar doesn't overflow the\r
StackPtr++;\r
break;\r
\r
- case (EFI_DEP_AND): \r
- case (EFI_DEP_OR): \r
+ case (EFI_DEP_AND):\r
+ case (EFI_DEP_OR):\r
if (*(Iterator - 1) == EFI_DEP_AND) {\r
DEBUG ((DEBUG_DISPATCH, " AND\n"));\r
} else {\r
// evaluation of the POPed operator. Otherwise, don't POP the second\r
// operator since it will now evaluate to the final result on the\r
// next operand that causes a POP.\r
- // \r
+ //\r
StackPtr--;\r
//\r
- // Iterator has increased by 1 after we retrieve the operand, so here we \r
- // should get the value pointed by (Iterator - 1), in order to obtain the \r
+ // Iterator has increased by 1 after we retrieve the operand, so here we\r
+ // should get the value pointed by (Iterator - 1), in order to obtain the\r
// same operand.\r
//\r
if (*(Iterator - 1) == EFI_DEP_AND) {\r
}\r
}\r
break;\r
- \r
+\r
case (EFI_DEP_END):\r
DEBUG ((DEBUG_DISPATCH, " END\n"));\r
StackPtr--;\r
DEBUG ((DEBUG_DISPATCH, " RESULT = %a\n", IsPpiInstalled (PeiServices, StackPtr) ? "TRUE" : "FALSE"));\r
return IsPpiInstalled (PeiServices, StackPtr);\r
\r
- case (EFI_DEP_NOT): \r
+ case (EFI_DEP_NOT):\r
DEBUG ((DEBUG_DISPATCH, " NOT\n"));\r
//\r
// Check to make sure the dependency grammar doesn't underflow the\r
return FALSE;\r
}\r
//\r
- // Iterator has increased by 1 after we retrieve the operand, so here we \r
- // should get the value pointed by (Iterator - 1), in order to obtain the \r
+ // Iterator has increased by 1 after we retrieve the operand, so here we\r
+ // should get the value pointed by (Iterator - 1), in order to obtain the\r
// same operand.\r
//\r
if (*(Iterator - 1) == EFI_DEP_TRUE) {\r