diff options
Diffstat (limited to 'source/include/acmacros.h')
-rw-r--r-- | source/include/acmacros.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/include/acmacros.h b/source/include/acmacros.h index 35d53f660780..48620fb470a6 100644 --- a/source/include/acmacros.h +++ b/source/include/acmacros.h @@ -223,6 +223,16 @@ #define ACPI_MUL_32(a) _ACPI_MUL(a, 5) #define ACPI_MOD_32(a) _ACPI_MOD(a, 32) +/* Test for ASCII character */ + +#define ACPI_IS_ASCII(c) ((c) < 0x80) + +/* Signed integers */ + +#define ACPI_SIGN_POSITIVE 0 +#define ACPI_SIGN_NEGATIVE 1 + + /* * Rounding macros (Power of two boundaries only) */ |