PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
compare.h File Reference
Include dependency graph for compare.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  aml_compare_operation_t {
  AML_COMPARE_AND = 0 , AML_COMPARE_EQUAL = 1 , AML_COMPARE_GREATER = 2 , AML_COMPARE_LESS = 3 ,
  AML_COMPARE_OR = 4 , AML_COMPARE_INVERT_BASE = 0xFF , AML_COMPARE_NOT_EQUAL = AML_COMPARE_INVERT_BASE + AML_COMPARE_EQUAL , AML_COMPARE_LESS_EQUAL = AML_COMPARE_INVERT_BASE + AML_COMPARE_GREATER ,
  AML_COMPARE_GREATER_EQUAL = AML_COMPARE_INVERT_BASE + AML_COMPARE_LESS
}
 

Functions

aml_uint_t aml_compare_not (aml_uint_t value)
 Perform a logical NOT operation on an integer value.
 
aml_uint_t aml_compare (aml_object_t *a, aml_object_t *b, aml_compare_operation_t operation)
 Compare two ACPI objects.