1 #ifndef __INCLUDE_NTOSKRNL_CONFIG_H 2 #define __INCLUDE_NTOSKRNL_CONFIG_H 3 4 /********** dbg/print.c **********/ 5 6 /* Enable serialization of debug messages printed with DbgPrint 7 * 8 * If this is enabled DbgPrint will queue messages if another thread is already 9 * printing a message, and immediately returns. The other thread will print 10 * queued messages before it returns. 11 * It could happen that some messages are lost if the processor is halted before 12 * the message queue was flushed. 13 */ 14 #undef SERIALIZE_DBGPRINT 15 16 /********** mm/ppool.c **********/ 17 18 /* Disable Debugging Features */ 19 #if !DBG 20 /* Enable strict checking of the nonpaged pool on every allocation */ 21 #undef ENABLE_VALIDATE_POOL 22 23 /* Enable tracking of statistics about the tagged blocks in the pool */ 24 #undef TAG_STATISTICS_TRACKING 25 26 /* Enable Memory Debugging Features/Helpers */ 27 #undef POOL_DEBUG_APIS 28 29 /* Enable Redzone */ 30 #define R_RZ 0 31 32 /* Enable Allocator Stack */ 33 #define R_STACK 0 34 35 /* 36 * Put each block in its own range of pages and position the block at the 37 * end of the range so any accesses beyond the end of block are to invalid 38 * memory locations. 39 */ 40 #undef WHOLE_PAGE_ALLOCATIONS 41 #endif 42 43 #endif /* __INCLUDE_NTOSKRNL_CONFIG_H */ 44 45