X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..HEAD:/iokit/IOKit/IOMessage.h diff --git a/iokit/IOKit/IOMessage.h b/iokit/IOKit/IOMessage.h index cdd53930a..1560b3305 100644 --- a/iokit/IOKit/IOMessage.h +++ b/iokit/IOKit/IOMessage.h @@ -71,6 +71,12 @@ typedef UInt32 IOMessage; #define kIOMessageSystemCapabilityChange iokit_common_msg(0x340) #define kIOMessageDeviceSignaledWakeup iokit_common_msg(0x350) +#ifdef KERNEL_PRIVATE +// sent to IOUserClients with the property kIOUserClientMessageAppSuspendedKey +// when their task's app suspend state changes; +// use task_is_app_suspended() to retrieve the owning task's current state +#define kIOMessageTaskAppSuspendedChange iokit_common_msg(0x800) +#endif /*! * @defined kIOMessageDeviceWillPowerOff