#endif /* _MSC_VER */
-#if 0
-#ifdef ASSERT
-#undef ASSERT
-#endif
-
-#ifdef NASSERT
-#define ASSERT(x)
-#else /* NASSERT */
-#define ASSERT(x) if (!(x)) { TI_DbgPrint(MIN_TRACE, ("Assertion "#x" failed at %s:%d\n", __FILE__, __LINE__)); KeBugCheck(0); }
-#endif /* NASSERT */
-#endif
-
#define ASSERT_IRQL(x) ASSERT(KeGetCurrentIrql() <= (x))
#else /* DBG */
#define TI_DbgPrint(_t_, _x_)
-#if 0
-#define ASSERT_IRQL(x)
-#define ASSERT(x)
-#endif
-
#endif /* DBG */
#include <memtrack.h>
+#define ASSERT_KM_POINTER(_x) \
+ ASSERT(((PVOID)_x) != (PVOID)0xcccccccc); \
+ ASSERT(((PVOID)_x) >= (PVOID)0x80000000);
+
#endif /* __DEBUG_H */
/* EOF */