ReactOS 0.4.16-dev-297-gc569aee
debug.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIN_TRACE   ((1 << DPFLTR_WARNING_LEVEL))
 
#define MID_TRACE   ((1 << DPFLTR_WARNING_LEVEL) | (1 << DPFLTR_TRACE_LEVEL))
 
#define MAX_TRACE   ((1 << DPFLTR_WARNING_LEVEL) | (1 << DPFLTR_TRACE_LEVEL) | (1 << DPFLTR_INFO_LEVEL))
 
#define DEBUG_CHECK   0x00000100
 
#define DEBUG_MEMORY   0x00000200
 
#define DEBUG_PBUFFER   0x00000400
 
#define DEBUG_IRP   0x00000800
 
#define DEBUG_TCPIF   0x00001000
 
#define DEBUG_ADDRFILE   0x00002000
 
#define DEBUG_DATALINK   0x00004000
 
#define DEBUG_ARP   0x00008000
 
#define DEBUG_IP   0x00010000
 
#define DEBUG_UDP   0x00020000
 
#define DEBUG_TCP   0x00040000
 
#define DEBUG_ICMP   0x00080000
 
#define DEBUG_ROUTER   0x00100000
 
#define DEBUG_RCACHE   0x00200000
 
#define DEBUG_NCACHE   0x00400000
 
#define DEBUG_CPOINT   0x00800000
 
#define DEBUG_LOCK   0x01000000
 
#define DEBUG_INFO   0x02000000
 
#define DEBUG_ULTRA   0x7FFFFFFF
 
#define TI_DbgPrint(_t_, _x_)
 
#define assert(x)   ASSERT(x)
 
#define assert_irql(x)   ASSERT_IRQL(x)
 
#define UNIMPLEMENTED    TI_DbgPrint(MIN_TRACE, ("(%s:%d)(%s) is unimplemented, \ but come back another day.\n", __FILE__, __LINE__, __FUNCTION__));
 
#define CHECKPOINT    do { TI_DbgPrint(DEBUG_CHECK, ("(%s:%d)\n", __FILE__, __LINE__)); } while(0);
 
#define CP   CHECKPOINT
 
#define ASSERT_KM_POINTER(_x)
 

Macro Definition Documentation

◆ assert

#define assert (   x)    ASSERT(x)

Definition at line 50 of file debug.h.

◆ assert_irql

#define assert_irql (   x)    ASSERT_IRQL(x)

Definition at line 51 of file debug.h.

◆ ASSERT_KM_POINTER

#define ASSERT_KM_POINTER (   _x)
Value:
ASSERT(((ULONG_PTR)(_x)) != (ULONG_PTR)0xccccccccccccccccULL); \
ASSERT(((PVOID)(_x)) >= MmSystemRangeStart);
#define _x(oid)
#define ASSERT(a)
Definition: mode.c:44
#define MmSystemRangeStart
Definition: mm.h:32
uint32_t ULONG_PTR
Definition: typedefs.h:65

Definition at line 74 of file debug.h.

◆ CHECKPOINT

#define CHECKPOINT    do { TI_DbgPrint(DEBUG_CHECK, ("(%s:%d)\n", __FILE__, __LINE__)); } while(0);

Definition at line 69 of file debug.h.

◆ CP

#define CP   CHECKPOINT

Definition at line 72 of file debug.h.

◆ DEBUG_ADDRFILE

#define DEBUG_ADDRFILE   0x00002000

Definition at line 21 of file debug.h.

◆ DEBUG_ARP

#define DEBUG_ARP   0x00008000

Definition at line 23 of file debug.h.

◆ DEBUG_CHECK

#define DEBUG_CHECK   0x00000100

Definition at line 16 of file debug.h.

◆ DEBUG_CPOINT

#define DEBUG_CPOINT   0x00800000

Definition at line 31 of file debug.h.

◆ DEBUG_DATALINK

#define DEBUG_DATALINK   0x00004000

Definition at line 22 of file debug.h.

◆ DEBUG_ICMP

#define DEBUG_ICMP   0x00080000

Definition at line 27 of file debug.h.

◆ DEBUG_INFO

#define DEBUG_INFO   0x02000000

Definition at line 33 of file debug.h.

◆ DEBUG_IP

#define DEBUG_IP   0x00010000

Definition at line 24 of file debug.h.

◆ DEBUG_IRP

#define DEBUG_IRP   0x00000800

Definition at line 19 of file debug.h.

◆ DEBUG_LOCK

#define DEBUG_LOCK   0x01000000

Definition at line 32 of file debug.h.

◆ DEBUG_MEMORY

#define DEBUG_MEMORY   0x00000200

Definition at line 17 of file debug.h.

◆ DEBUG_NCACHE

#define DEBUG_NCACHE   0x00400000

Definition at line 30 of file debug.h.

◆ DEBUG_PBUFFER

#define DEBUG_PBUFFER   0x00000400

Definition at line 18 of file debug.h.

◆ DEBUG_RCACHE

#define DEBUG_RCACHE   0x00200000

Definition at line 29 of file debug.h.

◆ DEBUG_ROUTER

#define DEBUG_ROUTER   0x00100000

Definition at line 28 of file debug.h.

◆ DEBUG_TCP

#define DEBUG_TCP   0x00040000

Definition at line 26 of file debug.h.

◆ DEBUG_TCPIF

#define DEBUG_TCPIF   0x00001000

Definition at line 20 of file debug.h.

◆ DEBUG_UDP

#define DEBUG_UDP   0x00020000

Definition at line 25 of file debug.h.

◆ DEBUG_ULTRA

#define DEBUG_ULTRA   0x7FFFFFFF

Definition at line 34 of file debug.h.

◆ MAX_TRACE

#define MAX_TRACE   ((1 << DPFLTR_WARNING_LEVEL) | (1 << DPFLTR_TRACE_LEVEL) | (1 << DPFLTR_INFO_LEVEL))

Definition at line 14 of file debug.h.

◆ MID_TRACE

#define MID_TRACE   ((1 << DPFLTR_WARNING_LEVEL) | (1 << DPFLTR_TRACE_LEVEL))

Definition at line 13 of file debug.h.

◆ MIN_TRACE

#define MIN_TRACE   ((1 << DPFLTR_WARNING_LEVEL))

Definition at line 12 of file debug.h.

◆ TI_DbgPrint

#define TI_DbgPrint (   _t_,
  _x_ 
)

Definition at line 45 of file debug.h.

◆ UNIMPLEMENTED

#define UNIMPLEMENTED    TI_DbgPrint(MIN_TRACE, ("(%s:%d)(%s) is unimplemented, \ but come back another day.\n", __FILE__, __LINE__, __FUNCTION__));

Definition at line 62 of file debug.h.