#ifndef __ACTYPES_H__
#define __ACTYPES_H__
#ifndef ACPI_MACHINE_WIDTH
#error ACPI_MACHINE_WIDTH not defined
#endif
#define ACPI_UINT8_MAX …
#define ACPI_UINT16_MAX …
#define ACPI_UINT32_MAX …
#define ACPI_UINT64_MAX …
#define ACPI_ASCII_MAX …
#ifndef ACPI_USE_SYSTEM_INTTYPES
typedef unsigned char u8;
typedef unsigned short u16;
typedef short s16;
typedef COMPILER_DEPENDENT_UINT64 u64;
typedef COMPILER_DEPENDENT_INT64 s64;
#endif
#define acpi_thread_id …
#if ACPI_MACHINE_WIDTH == 64
#ifndef ACPI_USE_SYSTEM_INTTYPES
typedef unsigned int u32;
typedef int s32;
#endif
acpi_native_int;
acpi_size;
acpi_io_address;
acpi_physical_address;
#define ACPI_MAX_PTR …
#define ACPI_SIZE_MAX …
#define ACPI_USE_NATIVE_DIVIDE …
#define ACPI_USE_NATIVE_MATH64 …
#if defined (__IA64__) || defined (__ia64__)
#define ACPI_MISALIGNMENT_NOT_SUPPORTED
#endif
#elif ACPI_MACHINE_WIDTH == 32
#ifndef ACPI_USE_SYSTEM_INTTYPES
typedef unsigned int u32;
typedef int s32;
#endif
typedef s32 acpi_native_int;
typedef u32 acpi_size;
#ifdef ACPI_32BIT_PHYSICAL_ADDRESS
typedef u32 acpi_io_address;
typedef u32 acpi_physical_address;
#else
typedef u64 acpi_io_address;
typedef u64 acpi_physical_address;
#endif
#define ACPI_MAX_PTR …
#define ACPI_SIZE_MAX …
#else
#error unknown ACPI_MACHINE_WIDTH
#endif
#ifndef acpi_cpu_flags
#define acpi_cpu_flags …
#endif
#ifndef acpi_cache_t
#ifdef ACPI_USE_LOCAL_CACHE
#define acpi_cache_t …
#else
#define acpi_cache_t …
#endif
#endif
#if (ACPI_MUTEX_TYPE == ACPI_BINARY_SEMAPHORE)
#define acpi_mutex …
#define acpi_os_create_mutex(out_handle) …
#define acpi_os_delete_mutex(handle) …
#define acpi_os_acquire_mutex(handle,time) …
#define acpi_os_release_mutex(handle) …
#endif
#ifndef acpi_spinlock
#define acpi_spinlock …
#endif
#ifndef acpi_raw_spinlock
#define acpi_raw_spinlock …
#endif
#ifndef acpi_semaphore
#define acpi_semaphore …
#endif
#ifndef acpi_mutex
#define acpi_mutex …
#endif
#ifndef acpi_uintptr_t
#define acpi_uintptr_t …
#endif
#ifndef ACPI_PRINTF_LIKE
#define ACPI_PRINTF_LIKE …
#endif
#ifndef ACPI_UNUSED_VAR
#define ACPI_UNUSED_VAR
#endif
#ifndef ACPI_EXPORT_SYMBOL_INIT
#define ACPI_EXPORT_SYMBOL_INIT(symbol) …
#endif
#ifndef ACPI_EXPORT_SYMBOL
#define ACPI_EXPORT_SYMBOL …
#endif
#ifndef ACPI_DEBUG_INITIALIZE
#define ACPI_DEBUG_INITIALIZE() …
#endif
#ifdef ACPI_NO_MEM_ALLOCATIONS
#define ACPI_ALLOCATE …
#define ACPI_ALLOCATE_ZEROED …
#define ACPI_FREE …
#define ACPI_MEM_TRACKING …
#else
#ifdef ACPI_DBG_TRACK_ALLOCATIONS
#define ACPI_MEM_PARAMETERS …
#define ACPI_ALLOCATE …
#define ACPI_ALLOCATE_ZEROED …
#define ACPI_FREE …
#define ACPI_MEM_TRACKING …
#else
#define ACPI_ALLOCATE(a) …
#define ACPI_ALLOCATE_ZEROED(a) …
#define ACPI_FREE(a) …
#define ACPI_MEM_TRACKING(a) …
#endif
#endif
#define ACPI_MAX_GPE_BLOCKS …
#define ACPI_GPE_REGISTER_WIDTH …
#define ACPI_PM1_REGISTER_WIDTH …
#define ACPI_PM2_REGISTER_WIDTH …
#define ACPI_PM_TIMER_WIDTH …
#define ACPI_RESET_REGISTER_WIDTH …
#define ACPI_NAMESEG_SIZE …
#define ACPI_PATH_SEGMENT_LENGTH …
#define ACPI_PATH_SEPARATOR …
#define ACPI_OEM_ID_SIZE …
#define ACPI_OEM_TABLE_ID_SIZE …
#define PCI_ROOT_HID_STRING …
#define PCI_EXPRESS_ROOT_HID_STRING …
#define ACPI_PM_TIMER_FREQUENCY …
#ifdef FALSE
#undef FALSE
#endif
#define FALSE …
#ifdef TRUE
#undef TRUE
#endif
#define TRUE …
#ifndef NULL
#define NULL …
#endif
acpi_status;
acpi_name;
acpi_string;
acpi_handle;
#define ACPI_MSEC_PER_SEC …
#define ACPI_USEC_PER_MSEC …
#define ACPI_USEC_PER_SEC …
#define ACPI_100NSEC_PER_USEC …
#define ACPI_100NSEC_PER_MSEC …
#define ACPI_100NSEC_PER_SEC …
#define ACPI_NSEC_PER_USEC …
#define ACPI_NSEC_PER_MSEC …
#define ACPI_NSEC_PER_SEC …
#define ACPI_TIME_AFTER(a, b) …
acpi_owner_id;
#define ACPI_OWNER_ID_MAX …
#define ACPI_INTEGER_BIT_SIZE …
#define ACPI_MAX_DECIMAL_DIGITS …
#define ACPI_MAX64_DECIMAL_DIGITS …
#define ACPI_MAX32_DECIMAL_DIGITS …
#define ACPI_MAX16_DECIMAL_DIGITS …
#define ACPI_MAX8_DECIMAL_DIGITS …
#define ACPI_ROOT_OBJECT …
#define ACPI_WAIT_FOREVER …
#define ACPI_DO_NOT_WAIT …
acpi_integer;
#define ACPI_INTEGER_MAX …
#define ACPI_LOBYTE(integer) …
#define ACPI_HIBYTE(integer) …
#define ACPI_LOWORD(integer) …
#define ACPI_HIWORD(integer) …
#define ACPI_LODWORD(integer64) …
#define ACPI_HIDWORD(integer64) …
#define ACPI_SET_BIT(target,bit) …
#define ACPI_CLEAR_BIT(target,bit) …
#define ACPI_MIN(a,b) …
#define ACPI_MAX(a,b) …
#define ACPI_ARRAY_LENGTH(x) …
#define ACPI_CAST_PTR(t, p) …
#define ACPI_CAST_INDIRECT_PTR(t, p) …
#define ACPI_ADD_PTR(t, a, b) …
#define ACPI_SUB_PTR(t, a, b) …
#define ACPI_PTR_DIFF(a, b) …
#define ACPI_TO_POINTER(i) …
#ifndef ACPI_TO_INTEGER
#define ACPI_TO_INTEGER …
#endif
#ifndef ACPI_OFFSET
#define ACPI_OFFSET …
#endif
#define ACPI_PTR_TO_PHYSADDR(i) …
#ifndef ACPI_MISALIGNMENT_NOT_SUPPORTED
#define ACPI_COMPARE_NAMESEG(a,b) …
#define ACPI_COPY_NAMESEG(dest,src) …
#else
#define ACPI_COMPARE_NAMESEG …
#define ACPI_COPY_NAMESEG …
#endif
#define ACPI_VALIDATE_RSDP_SIG(a) …
#define ACPI_MAKE_RSDP_SIG(dest) …
#define ACPI_IS_OEM_SIG(a) …
#define ACPI_ACCESS_BIT_SHIFT …
#define ACPI_ACCESS_BYTE_SHIFT …
#define ACPI_ACCESS_BIT_MAX …
#define ACPI_ACCESS_BYTE_MAX …
#define ACPI_ACCESS_BIT_DEFAULT …
#define ACPI_ACCESS_BYTE_DEFAULT …
#define ACPI_ACCESS_BIT_WIDTH(size) …
#define ACPI_ACCESS_BYTE_WIDTH(size) …
#define ACPI_FULL_INITIALIZATION …
#define ACPI_NO_FACS_INIT …
#define ACPI_NO_ACPI_ENABLE …
#define ACPI_NO_HARDWARE_INIT …
#define ACPI_NO_EVENT_INIT …
#define ACPI_NO_HANDLER_INIT …
#define ACPI_NO_OBJECT_INIT …
#define ACPI_NO_DEVICE_INIT …
#define ACPI_NO_ADDRESS_SPACE_INIT …
#define ACPI_SUBSYSTEM_INITIALIZE …
#define ACPI_INITIALIZED_OK …
#define ACPI_STATE_UNKNOWN …
#define ACPI_STATE_S0 …
#define ACPI_STATE_S1 …
#define ACPI_STATE_S2 …
#define ACPI_STATE_S3 …
#define ACPI_STATE_S4 …
#define ACPI_STATE_S5 …
#define ACPI_S_STATES_MAX …
#define ACPI_S_STATE_COUNT …
#define ACPI_STATE_D0 …
#define ACPI_STATE_D1 …
#define ACPI_STATE_D2 …
#define ACPI_STATE_D3_HOT …
#define ACPI_STATE_D3 …
#define ACPI_STATE_D3_COLD …
#define ACPI_D_STATES_MAX …
#define ACPI_D_STATE_COUNT …
#define ACPI_STATE_C0 …
#define ACPI_STATE_C1 …
#define ACPI_STATE_C2 …
#define ACPI_STATE_C3 …
#define ACPI_C_STATES_MAX …
#define ACPI_C_STATE_COUNT …
#define ACPI_SLEEP_TYPE_MAX …
#define ACPI_SLEEP_TYPE_INVALID …
#define ACPI_NOTIFY_BUS_CHECK …
#define ACPI_NOTIFY_DEVICE_CHECK …
#define ACPI_NOTIFY_DEVICE_WAKE …
#define ACPI_NOTIFY_EJECT_REQUEST …
#define ACPI_NOTIFY_DEVICE_CHECK_LIGHT …
#define ACPI_NOTIFY_FREQUENCY_MISMATCH …
#define ACPI_NOTIFY_BUS_MODE_MISMATCH …
#define ACPI_NOTIFY_POWER_FAULT …
#define ACPI_NOTIFY_CAPABILITIES_CHECK …
#define ACPI_NOTIFY_DEVICE_PLD_CHECK …
#define ACPI_NOTIFY_RESERVED …
#define ACPI_NOTIFY_LOCALITY_UPDATE …
#define ACPI_NOTIFY_SHUTDOWN_REQUEST …
#define ACPI_NOTIFY_AFFINITY_UPDATE …
#define ACPI_NOTIFY_MEMORY_UPDATE …
#define ACPI_NOTIFY_DISCONNECT_RECOVER …
#define ACPI_GENERIC_NOTIFY_MAX …
#define ACPI_SPECIFIC_NOTIFY_MAX …
acpi_object_type;
#define ACPI_TYPE_ANY …
#define ACPI_TYPE_INTEGER …
#define ACPI_TYPE_STRING …
#define ACPI_TYPE_BUFFER …
#define ACPI_TYPE_PACKAGE …
#define ACPI_TYPE_FIELD_UNIT …
#define ACPI_TYPE_DEVICE …
#define ACPI_TYPE_EVENT …
#define ACPI_TYPE_METHOD …
#define ACPI_TYPE_MUTEX …
#define ACPI_TYPE_REGION …
#define ACPI_TYPE_POWER …
#define ACPI_TYPE_PROCESSOR …
#define ACPI_TYPE_THERMAL …
#define ACPI_TYPE_BUFFER_FIELD …
#define ACPI_TYPE_DDB_HANDLE …
#define ACPI_TYPE_DEBUG_OBJECT …
#define ACPI_TYPE_EXTERNAL_MAX …
#define ACPI_NUM_TYPES …
#define ACPI_TYPE_LOCAL_REGION_FIELD …
#define ACPI_TYPE_LOCAL_BANK_FIELD …
#define ACPI_TYPE_LOCAL_INDEX_FIELD …
#define ACPI_TYPE_LOCAL_REFERENCE …
#define ACPI_TYPE_LOCAL_ALIAS …
#define ACPI_TYPE_LOCAL_METHOD_ALIAS …
#define ACPI_TYPE_LOCAL_NOTIFY …
#define ACPI_TYPE_LOCAL_ADDRESS_HANDLER …
#define ACPI_TYPE_LOCAL_RESOURCE …
#define ACPI_TYPE_LOCAL_RESOURCE_FIELD …
#define ACPI_TYPE_LOCAL_SCOPE …
#define ACPI_TYPE_NS_NODE_MAX …
#define ACPI_TOTAL_TYPES …
#define ACPI_TYPE_LOCAL_EXTRA …
#define ACPI_TYPE_LOCAL_DATA …
#define ACPI_TYPE_LOCAL_MAX …
#define ACPI_TYPE_INVALID …
#define ACPI_TYPE_NOT_FOUND …
#define ACPI_NUM_NS_TYPES …
#define ACPI_READ …
#define ACPI_WRITE …
#define ACPI_IO_MASK …
acpi_event_type;
#define ACPI_EVENT_PMTIMER …
#define ACPI_EVENT_GLOBAL …
#define ACPI_EVENT_POWER_BUTTON …
#define ACPI_EVENT_SLEEP_BUTTON …
#define ACPI_EVENT_RTC …
#define ACPI_EVENT_MAX …
#define ACPI_NUM_FIXED_EVENTS …
acpi_event_status;
#define ACPI_EVENT_FLAG_DISABLED …
#define ACPI_EVENT_FLAG_ENABLED …
#define ACPI_EVENT_FLAG_WAKE_ENABLED …
#define ACPI_EVENT_FLAG_STATUS_SET …
#define ACPI_EVENT_FLAG_ENABLE_SET …
#define ACPI_EVENT_FLAG_HAS_HANDLER …
#define ACPI_EVENT_FLAG_MASKED …
#define ACPI_EVENT_FLAG_SET …
#define ACPI_GPE_ENABLE …
#define ACPI_GPE_DISABLE …
#define ACPI_GPE_CONDITIONAL_ENABLE …
#define ACPI_GPE_DISPATCH_NONE …
#define ACPI_GPE_DISPATCH_METHOD …
#define ACPI_GPE_DISPATCH_HANDLER …
#define ACPI_GPE_DISPATCH_NOTIFY …
#define ACPI_GPE_DISPATCH_RAW_HANDLER …
#define ACPI_GPE_DISPATCH_MASK …
#define ACPI_GPE_DISPATCH_TYPE(flags) …
#define ACPI_GPE_LEVEL_TRIGGERED …
#define ACPI_GPE_EDGE_TRIGGERED …
#define ACPI_GPE_XRUPT_TYPE_MASK …
#define ACPI_GPE_CAN_WAKE …
#define ACPI_GPE_AUTO_ENABLED …
#define ACPI_GPE_INITIALIZED …
#define ACPI_NOT_ISR …
#define ACPI_ISR …
#define ACPI_SYSTEM_NOTIFY …
#define ACPI_DEVICE_NOTIFY …
#define ACPI_ALL_NOTIFY …
#define ACPI_MAX_NOTIFY_HANDLER_TYPE …
#define ACPI_NUM_NOTIFY_TYPES …
#define ACPI_MAX_SYS_NOTIFY …
#define ACPI_MAX_DEVICE_SPECIFIC_NOTIFY …
#define ACPI_SYSTEM_HANDLER_LIST …
#define ACPI_DEVICE_HANDLER_LIST …
acpi_adr_space_type;
#define ACPI_ADR_SPACE_SYSTEM_MEMORY …
#define ACPI_ADR_SPACE_SYSTEM_IO …
#define ACPI_ADR_SPACE_PCI_CONFIG …
#define ACPI_ADR_SPACE_EC …
#define ACPI_ADR_SPACE_SMBUS …
#define ACPI_ADR_SPACE_CMOS …
#define ACPI_ADR_SPACE_PCI_BAR_TARGET …
#define ACPI_ADR_SPACE_IPMI …
#define ACPI_ADR_SPACE_GPIO …
#define ACPI_ADR_SPACE_GSBUS …
#define ACPI_ADR_SPACE_PLATFORM_COMM …
#define ACPI_ADR_SPACE_PLATFORM_RT …
#define ACPI_NUM_PREDEFINED_REGIONS …
#define ACPI_ADR_SPACE_DATA_TABLE …
#define ACPI_ADR_SPACE_FIXED_HARDWARE …
#define ACPI_REG_DISCONNECT …
#define ACPI_REG_CONNECT …
#define ACPI_BITREG_TIMER_STATUS …
#define ACPI_BITREG_BUS_MASTER_STATUS …
#define ACPI_BITREG_GLOBAL_LOCK_STATUS …
#define ACPI_BITREG_POWER_BUTTON_STATUS …
#define ACPI_BITREG_SLEEP_BUTTON_STATUS …
#define ACPI_BITREG_RT_CLOCK_STATUS …
#define ACPI_BITREG_WAKE_STATUS …
#define ACPI_BITREG_PCIEXP_WAKE_STATUS …
#define ACPI_BITREG_TIMER_ENABLE …
#define ACPI_BITREG_GLOBAL_LOCK_ENABLE …
#define ACPI_BITREG_POWER_BUTTON_ENABLE …
#define ACPI_BITREG_SLEEP_BUTTON_ENABLE …
#define ACPI_BITREG_RT_CLOCK_ENABLE …
#define ACPI_BITREG_PCIEXP_WAKE_DISABLE …
#define ACPI_BITREG_SCI_ENABLE …
#define ACPI_BITREG_BUS_MASTER_RLD …
#define ACPI_BITREG_GLOBAL_LOCK_RELEASE …
#define ACPI_BITREG_SLEEP_TYPE …
#define ACPI_BITREG_SLEEP_ENABLE …
#define ACPI_BITREG_ARB_DISABLE …
#define ACPI_BITREG_MAX …
#define ACPI_NUM_BITREG …
#define ACPI_CLEAR_STATUS …
#define ACPI_ENABLE_EVENT …
#define ACPI_DISABLE_EVENT …
acpi_object;
struct acpi_object_list { … };
#define ACPI_NO_BUFFER …
#ifdef ACPI_NO_MEM_ALLOCATIONS
#define ACPI_ALLOCATE_BUFFER …
#define ACPI_ALLOCATE_LOCAL_BUFFER …
#else
#define ACPI_ALLOCATE_BUFFER …
#define ACPI_ALLOCATE_LOCAL_BUFFER …
#endif
struct acpi_buffer { … };
#define ACPI_FULL_PATHNAME …
#define ACPI_SINGLE_NAME …
#define ACPI_FULL_PATHNAME_NO_TRAILING …
#define ACPI_NAME_TYPE_MAX …
struct acpi_predefined_names { … };
#define ACPI_SYS_MODE_UNKNOWN …
#define ACPI_SYS_MODE_ACPI …
#define ACPI_SYS_MODE_LEGACY …
#define ACPI_SYS_MODES_MASK …
struct acpi_system_info { … };
struct acpi_statistics { … };
acpi_osd_handler;
acpi_osd_exec_callback;
acpi_sci_handler;
acpi_gbl_event_handler;
#define ACPI_EVENT_TYPE_GPE …
#define ACPI_EVENT_TYPE_FIXED …
acpi_event_handler;
acpi_gpe_handler;
acpi_notify_handler;
acpi_object_handler;
acpi_init_handler;
#define ACPI_INIT_DEVICE_INI …
acpi_exception_handler;
acpi_table_handler;
#define ACPI_TABLE_EVENT_LOAD …
#define ACPI_TABLE_EVENT_UNLOAD …
#define ACPI_TABLE_EVENT_INSTALL …
#define ACPI_TABLE_EVENT_UNINSTALL …
#define ACPI_NUM_TABLE_EVENTS …
acpi_adr_space_handler;
#define ACPI_DEFAULT_HANDLER …
struct acpi_connection_info { … };
struct acpi_pcc_info { … };
struct acpi_ffh_info { … };
acpi_adr_space_setup;
#define ACPI_REGION_ACTIVATE …
#define ACPI_REGION_DEACTIVATE …
acpi_walk_callback;
acpi_interface_handler;
#define ACPI_INTERRUPT_NOT_HANDLED …
#define ACPI_INTERRUPT_HANDLED …
#define ACPI_REENABLE_GPE …
#define ACPI_EISAID_STRING_SIZE …
#define ACPI_UUID_LENGTH …
#define ACPI_PCICLS_STRING_SIZE …
struct acpi_pnp_device_id { … };
struct acpi_pnp_device_id_list { … };
struct acpi_device_info { … };
#define ACPI_PCI_ROOT_BRIDGE …
#define ACPI_VALID_ADR …
#define ACPI_VALID_HID …
#define ACPI_VALID_UID …
#define ACPI_VALID_CID …
#define ACPI_VALID_CLS …
#define ACPI_VALID_SXDS …
#define ACPI_VALID_SXWS …
#define ACPI_STA_DEVICE_PRESENT …
#define ACPI_STA_DEVICE_ENABLED …
#define ACPI_STA_DEVICE_UI …
#define ACPI_STA_DEVICE_FUNCTIONING …
#define ACPI_STA_DEVICE_OK …
#define ACPI_STA_BATTERY_PRESENT …
struct acpi_pci_id { … };
struct acpi_mem_mapping { … };
struct acpi_mem_space_context { … };
struct acpi_data_table_mapping { … };
struct acpi_memory_list { … };
acpi_trace_event_type;
#define ACPI_VENDOR_STRINGS …
#define ACPI_FEATURE_STRINGS …
#define ACPI_ENABLE_INTERFACES …
#define ACPI_DISABLE_INTERFACES …
#define ACPI_DISABLE_ALL_VENDOR_STRINGS …
#define ACPI_DISABLE_ALL_FEATURE_STRINGS …
#define ACPI_DISABLE_ALL_STRINGS …
#define ACPI_ENABLE_ALL_VENDOR_STRINGS …
#define ACPI_ENABLE_ALL_FEATURE_STRINGS …
#define ACPI_ENABLE_ALL_STRINGS …
#define ACPI_OSI_WIN_2000 …
#define ACPI_OSI_WIN_XP …
#define ACPI_OSI_WIN_XP_SP1 …
#define ACPI_OSI_WINSRV_2003 …
#define ACPI_OSI_WIN_XP_SP2 …
#define ACPI_OSI_WINSRV_2003_SP1 …
#define ACPI_OSI_WIN_VISTA …
#define ACPI_OSI_WINSRV_2008 …
#define ACPI_OSI_WIN_VISTA_SP1 …
#define ACPI_OSI_WIN_VISTA_SP2 …
#define ACPI_OSI_WIN_7 …
#define ACPI_OSI_WIN_8 …
#define ACPI_OSI_WIN_8_1 …
#define ACPI_OSI_WIN_10 …
#define ACPI_OSI_WIN_10_RS1 …
#define ACPI_OSI_WIN_10_RS2 …
#define ACPI_OSI_WIN_10_RS3 …
#define ACPI_OSI_WIN_10_RS4 …
#define ACPI_OSI_WIN_10_RS5 …
#define ACPI_OSI_WIN_10_19H1 …
#define ACPI_OSI_WIN_10_20H1 …
#define ACPI_OSI_WIN_11 …
#define ACPI_OSI_WIN_11_22H2 …
#define ACPI_OPT_END …
#ifndef ACPI_FALLTHROUGH
#define ACPI_FALLTHROUGH …
#endif
#ifndef ACPI_FLEX_ARRAY
#define ACPI_FLEX_ARRAY …
#endif
#endif