#include <IOKit/acpi/IOACPITypes.h>
IOKit/acpi/IOACPITypes.h Kernel.framework
5 variables · 5 enums · 2 macros · 2 typedefs · 1 struct · 1 union
extern const IORegistryPlane * gIOACPIPlane
extern const OSSymbol * gIOACPIHardwareIDKey
extern const OSSymbol * gIOACPIUniqueIDKey
extern const OSSymbol * gIOACPIAddressKey
extern const OSSymbol * gIOACPIDeviceStatusKey
#define kIOACPIInterruptTypeValid (1 << 1)
underlying type unsigned int
| kIOACPIMemoryRange | 0 | |
| kIOACPIIORange | 1 | |
| kIOACPIBusNumberRange | 2 | |
typedef UInt32 IOACPIAddressSpaceID
underlying type unsigned int
| kIOACPIAddressSpaceIDSystemMemory | 0 | |
| kIOACPIAddressSpaceIDSystemIO | 1 | |
| kIOACPIAddressSpaceIDPCIConfiguration | 2 | |
| kIOACPIAddressSpaceIDEmbeddedController | 3 | |
| kIOACPIAddressSpaceIDSMBus | 4 | |
Address space operation
underlying type unsigned int
| kIOACPIAddressSpaceOpRead | 0 | |
| kIOACPIAddressSpaceOpWrite | 1 | |
64-bit ACPI address
size 8, align 1
| UInt64 | addr64 | |
| unnamed struct at Kernel/IOKit/acpi/IOACPITypes.h:81:5 | pci | |
| | unsigned int:16 | offset | | | unsigned int:3 | function | | | unsigned int:5 | device | | | unsigned int:8 | bus | | | unsigned int:16 | segment | | | unsigned int:16 | reserved | |
|
ACPI fixed event types
underlying type unsigned int
| kIOACPIFixedEventPMTimer | 0 | |
| kIOACPIFixedEventPowerButton | 2 | |
| kIOACPIFixedEventSleepButton | 3 | |
| kIOACPIFixedEventRealTimeClock | 4 | |
ACPI notify message sent to all clients and interested parties.
The notify code can be read from the argument as an UInt32.
#define kIOACPIMessageDeviceNotification iokit_family_msg(sub_iokit_acpi, 0x10)
ACPI device power states
underlying type unsigned int
| kIOACPIDevicePowerStateD0 | 0 | |
| kIOACPIDevicePowerStateD1 | 1 | |
| kIOACPIDevicePowerStateD2 | 2 | |
| kIOACPIDevicePowerStateD3 | 3 | |
| kIOACPIDevicePowerStateCount | 4 | |