]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IOMessage.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / iokit / IOKit / IOMessage.h
index cdd53930aad71171c41e894f681e6b318a1010ff..1560b3305687ab2aa17f1c22617b105980f7fb09 100644 (file)
@@ -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