Print this page
acpica-unix2-20130823
PANKOVs restructure
@@ -1,14 +1,13 @@
-
/******************************************************************************
*
* Module Name: exoparg6 - AML execution - opcodes with 6 arguments
*
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2011, Intel Corp.
+ * Copyright (C) 2000 - 2013, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -129,11 +128,10 @@
/* Always true */
break;
case MATCH_MEQ:
-
/*
* True if equal: (P[i] == M)
* Change to: (M == P[i])
*/
Status = AcpiExDoLogicalOp (AML_LEQUAL_OP, MatchObj, PackageObj,
@@ -143,11 +141,10 @@
return (FALSE);
}
break;
case MATCH_MLE:
-
/*
* True if less than or equal: (P[i] <= M) (P[i] NotGreater than M)
* Change to: (M >= P[i]) (M NotLess than P[i])
*/
Status = AcpiExDoLogicalOp (AML_LLESS_OP, MatchObj, PackageObj,
@@ -158,11 +155,10 @@
}
LogicalResult = (BOOLEAN) !LogicalResult;
break;
case MATCH_MLT:
-
/*
* True if less than: (P[i] < M)
* Change to: (M > P[i])
*/
Status = AcpiExDoLogicalOp (AML_LGREATER_OP, MatchObj, PackageObj,
@@ -172,11 +168,10 @@
return (FALSE);
}
break;
case MATCH_MGE:
-
/*
* True if greater than or equal: (P[i] >= M) (P[i] NotLess than M)
* Change to: (M <= P[i]) (M NotGreater than P[i])
*/
Status = AcpiExDoLogicalOp (AML_LGREATER_OP, MatchObj, PackageObj,
@@ -187,11 +182,10 @@
}
LogicalResult = (BOOLEAN)!LogicalResult;
break;
case MATCH_MGT:
-
/*
* True if greater than: (P[i] > M)
* Change to: (M < P[i])
*/
Status = AcpiExDoLogicalOp (AML_LLESS_OP, MatchObj, PackageObj,
@@ -207,11 +201,11 @@
/* Undefined */
return (FALSE);
}
- return LogicalResult;
+ return (LogicalResult);
}
/*******************************************************************************
*
@@ -327,17 +321,15 @@
ReturnDesc->Integer.Value = Index;
break;
}
break;
-
case AML_LOAD_TABLE_OP:
Status = AcpiExLoadTableOp (WalkState, &ReturnDesc);
break;
-
default:
ACPI_ERROR ((AE_INFO, "Unknown AML opcode 0x%X",
WalkState->Opcode));
Status = AE_AML_BAD_OPCODE;