]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IOTimeStamp.h
xnu-344.tar.gz
[apple/xnu.git] / iokit / IOKit / IOTimeStamp.h
index 3e193aa77a101ed717220b30af1ae37b7fef9fe1..cf07474f8b58c1767d7c5912e1fefa3e3af3c03f 100644 (file)
@@ -22,7 +22,6 @@
 #ifndef IOKIT_IOTIMESTAMP_H
 #define IOKIT_IOTIMESTAMP_H
 
-#include <kdebug.h>
 #include <sys/kdebug.h>
 
 static inline void
@@ -94,6 +93,7 @@ IOTimeStamp(unsigned int csc,
 #define IODBG_CMDQ(code)       (KDBG_CODE(DBG_IOKIT, DBG_IOCMDQ, code))
 #define IODBG_MCURS(code)      (KDBG_CODE(DBG_IOKIT, DBG_IOMCURS, code))
 #define IODBG_MDESC(code)      (KDBG_CODE(DBG_IOKIT, DBG_IOMDESC, code))
+#define IODBG_POWER(code)      (KDBG_CODE(DBG_IOKIT, DBG_IOPOWER, code))
 
 /* IOKit specific codes - within each subclass */
 
@@ -146,4 +146,11 @@ IOTimeStamp(unsigned int csc,
 
 /* DBG_IOKIT/DBG_IOMDESC codes */
 
+/* DBG_IOKIT/DBG_IOPOWER codes */
+#define IOPOWER_ROOT   1       /* 0x05100004 */
+#define IOPOWER_WAKE   2       /* 0x05100008 */
+#define IOPOWER_STATE  3       /* 0x0510000c */
+#define IOPOWER_ACK    4       /* 0x05100010 */
+#define IOPOWER_CLIENT  5      /* 0x05100014 */
+
 #endif /* ! IOKIT_IOTIMESTAMP_H */