mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
Move some ntoskrnl compiletime configuration defines into ntoskrnl/include/config.h (new file)
svn path=/trunk/; revision=11857
This commit is contained in:
20
reactos/ntoskrnl/include/config.h
Normal file
20
reactos/ntoskrnl/include/config.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* $$$ Modified by ReactOS config tool on Sun Nov 28 18:18:50 2004
|
||||
*/
|
||||
#ifndef __INCLUDE_NTOSKRNL_CONFIG_H
|
||||
#define __INCLUDE_NTOSKRNL_CONFIG_H
|
||||
|
||||
/* 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
|
||||
|
||||
/*
|
||||
* 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 /* __INCLUDE_NTOSKRNL_CONFIG_H */
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#define __NO_CTYPE_INLINES
|
||||
|
||||
/* include the ntoskrnl config.h file */
|
||||
#include "config.h"
|
||||
|
||||
#include <roscfg.h>
|
||||
#include <reactos/version.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: npool.c,v 1.92 2004/10/22 20:38:22 ekohl Exp $
|
||||
/* $Id: npool.c,v 1.93 2004/11/28 22:06:25 blight Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -20,19 +20,6 @@
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
/* Enable strict checking of the nonpaged pool on every allocation */
|
||||
/*#define ENABLE_VALIDATE_POOL*/
|
||||
|
||||
/* Enable tracking of statistics about the tagged blocks in the pool */
|
||||
/*#define TAG_STATISTICS_TRACKING*/
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/*#define WHOLE_PAGE_ALLOCATIONS*/
|
||||
|
||||
#ifdef ENABLE_VALIDATE_POOL
|
||||
#define VALIDATE_POOL validate_kernel_pool()
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user