mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 01:00:51 +00:00
e1ef078741
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line): /DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port. svn path=/branches/kd++/; revision=58883
41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
#pragma once
|
|
|
|
/********** 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 **********/
|
|
|
|
/* Disable Debugging Features */
|
|
#if !DBG
|
|
/* 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
|
|
|
|
/* Enable Memory Debugging Features/Helpers */
|
|
#undef POOL_DEBUG_APIS
|
|
|
|
/* Enable Redzone */
|
|
#define R_RZ 0
|
|
|
|
/* 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
|