Commit in reactos/ntoskrnl on MAIN
include/config.h+20added 1.1
       /ntoskrnl.h+21.6 -> 1.7
mm/npool.c+1-141.92 -> 1.93
+23-14
1 added + 2 modified, total 3 files
Move some ntoskrnl compiletime configuration defines into ntoskrnl/include/config.h (new file)

reactos/ntoskrnl/include
config.h added at 1.1
diff -N config.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ config.h	28 Nov 2004 22:06:25 -0000	1.1
@@ -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 */
+

reactos/ntoskrnl/include
ntoskrnl.h 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- ntoskrnl.h	20 Nov 2004 23:46:36 -0000	1.6
+++ ntoskrnl.h	28 Nov 2004 22:06:25 -0000	1.7
@@ -3,6 +3,8 @@
 
 #define __NO_CTYPE_INLINES
 
+/* include the ntoskrnl config.h file */
+#include "config.h"
 
 #include <roscfg.h>
 #include <reactos/version.h>

reactos/ntoskrnl/mm
npool.c 1.92 -> 1.93
diff -u -r1.92 -r1.93
--- npool.c	22 Oct 2004 20:38:22 -0000	1.92
+++ npool.c	28 Nov 2004 22:06:25 -0000	1.93
@@ -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
CVSspam 0.2.8