mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL] include/config.h: Sync it to current code (#3263)
* SERIALIZE_DBGPRINT: Removed onc15e04c
(r18078). * ENABLE_VALIDATE_POOL: Removed on5899e14
(r42249). * TAG_STATISTICS_TRACKING: Removed on5899e14
(r42249). * POOL_DEBUG_APIS: Removed on5899e14
(r42249). * R_RZ: Removed on7d21cf7
(r48999). * R_STACK: Removed on7d21cf7
(r48999). * WHOLE_PAGE_ALLOCATIONS: Removed onb431563
(r17306). + * _GLOBAL_PAGES_ARE_AWESOME_: Move it here.
This commit is contained in:
parent
c7c0b09eb6
commit
90a6086f17
2 changed files with 3 additions and 46 deletions
|
@ -1,40 +1,4 @@
|
|||
#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
|
||||
// Enable global page support.
|
||||
// #define _GLOBAL_PAGES_ARE_AWESOME_
|
||||
|
|
|
@ -108,16 +108,9 @@
|
|||
C_ASSERT(MAX_WIN32_PATH == MAX_PATH);
|
||||
#undef MAX_PATH
|
||||
|
||||
//
|
||||
// Switch for enabling global page support
|
||||
//
|
||||
|
||||
//#define _GLOBAL_PAGES_ARE_AWESOME_
|
||||
|
||||
|
||||
/* Internal Headers */
|
||||
#include "internal/ntoskrnl.h"
|
||||
#include "config.h"
|
||||
#include "internal/ntoskrnl.h"
|
||||
|
||||
#include <reactos/probe.h>
|
||||
#include "internal/probe.h"
|
||||
|
|
Loading…
Reference in a new issue