2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2004-11-28 22:06:25 +00:00
|
|
|
|
2004-12-10 14:58:26 +00:00
|
|
|
/********** dbg/print.c **********/
|
|
|
|
|
|
|
|
/* Enable serialization of debug messages printed with DbgPrint
|
|
|
|
*
|
|
|
|
* If this is enabled DbgPrint will queue messages if another thread is already
|
|
|
|
* printing a message, and immediately returns. The other thread will print
|
|
|
|
* queued messages before it returns.
|
|
|
|
* It could happen that some messages are lost if the processor is halted before
|
|
|
|
* the message queue was flushed.
|
|
|
|
*/
|
|
|
|
#undef SERIALIZE_DBGPRINT
|
|
|
|
|
|
|
|
/********** mm/ppool.c **********/
|
|
|
|
|
2005-05-26 13:43:13 +00:00
|
|
|
/* Disable Debugging Features */
|
2009-06-17 12:44:05 +00:00
|
|
|
#if !DBG
|
2005-05-26 13:43:13 +00:00
|
|
|
/* Enable strict checking of the nonpaged pool on every allocation */
|
|
|
|
#undef ENABLE_VALIDATE_POOL
|
|
|
|
|
|
|
|
/* Enable tracking of statistics about the tagged blocks in the pool */
|
|
|
|
#undef TAG_STATISTICS_TRACKING
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2005-05-26 13:43:13 +00:00
|
|
|
/* Enable Memory Debugging Features/Helpers */
|
|
|
|
#undef POOL_DEBUG_APIS
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2005-05-26 13:43:13 +00:00
|
|
|
/* Enable Redzone */
|
|
|
|
#define R_RZ 0
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2005-05-26 13:43:13 +00:00
|
|
|
/* Enable Allocator Stack */
|
|
|
|
#define R_STACK 0
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Put each block in its own range of pages and position the block at the
|
|
|
|
* end of the range so any accesses beyond the end of block are to invalid
|
|
|
|
* memory locations.
|
|
|
|
*/
|
|
|
|
#undef WHOLE_PAGE_ALLOCATIONS
|
|
|
|
#endif
|