mach_acpi.h 698 B

123456789101112131415161718192021222324252627
  1. /* acpi.h */
  2. /* File for Harvey-specific ACPI defines. */
  3. /*
  4. * ACPI redefines things found in libc, but this one thing we need.
  5. */
  6. #define ACPI_USE_SYSTEM_INTTYPES
  7. typedef uint8_t BOOLEAN;
  8. typedef QLock ACPI_MUTEX;
  9. typedef uint64_t COMPILER_DEPENDENT_UINT64;
  10. typedef uint64_t UINT64;
  11. typedef uint32_t UINT32;
  12. typedef uint16_t UINT16;
  13. typedef uint8_t UINT8;
  14. typedef int64_t COMPILER_DEPENDENT_INT64;
  15. typedef int64_t INT64;
  16. typedef int32_t INT32;
  17. typedef int16_t INT16;
  18. typedef int8_t INT8;
  19. typedef int ACPI_THREAD_ID;
  20. #define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED
  21. #define ACPI_MACHINE_WIDTH 64
  22. #pragma clang diagnostic ignored "-Wunused-variable"
  23. #define ACPI_GET_FUNCTION_NAME __func__