#ifndef _IOKIT_IOKITDEBUG_H
#define _IOKIT_IOKITDEBUG_H
#include <IOKit/IOTypes.h>
#ifdef __cplusplus
#include <libkern/c++/OSObject.h>
#include <libkern/c++/OSDictionary.h>
#include <libkern/c++/OSSerialize.h>
class IOKitDiagnostics : public OSObject
{
OSDeclareDefaultStructors(IOKitDiagnostics)
public:
static OSObject * diagnostics( void );
virtual bool serialize(OSSerialize *s) const;
private:
static void updateOffset( OSDictionary * dict,
UInt32 value, const char * name );
};
#endif __cplusplus
enum {
kIOLogAttach = 0x00000001ULL,
kIOLogProbe = 0x00000002ULL,
kIOLogStart = 0x00000004ULL,
kIOLogRegister = 0x00000008ULL,
kIOLogMatch = 0x00000010ULL,
kIOLogConfig = 0x00000020ULL,
kIOLogYield = 0x00000040ULL,
kIOLogPower = 0x00000080ULL,
kIOLogMapping = 0x00000100ULL,
kIOLogCatalogue = 0x00000200ULL,
kIOLogTracePower = 0x00000400ULL,
kIOLogServiceTree = 0x00001000ULL,
kIOLogDTree = 0x00002000ULL,
kIOLogMemory = 0x00004000ULL,
kOSLogRegistryMods = 0x00010000ULL,
kIONoFreeObjects = 0x00100000ULL,
kIOLogSynchronous = 0x00200000ULL, };
extern SInt64 gIOKitDebug;
#ifdef __cplusplus
extern "C" {
#endif
struct IORegistryPlane;
extern void IOPrintPlane( const struct IORegistryPlane * plane );
extern void OSPrintMemory( void );
#define IOPrintMemory OSPrintMemory
#ifdef __cplusplus
}
#endif
#endif