Author: fireball
Date: Thu Feb 10 13:24:39 2011
New Revision: 50652
URL:
http://svn.reactos.org/svn/reactos?rev=50652&view=rev
Log:
[RTL]
- Move page heap related code to heappage.c.
Added:
trunk/reactos/lib/rtl/heappage.c (with props)
Modified:
trunk/reactos/lib/rtl/heapdbg.c
trunk/reactos/lib/rtl/rtl.rbuild
Modified: trunk/reactos/lib/rtl/heapdbg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heapdbg.c?rev=5065…
==============================================================================
--- trunk/reactos/lib/rtl/heapdbg.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/heapdbg.c [iso-8859-1] Thu Feb 10 13:24:39 2011
@@ -14,12 +14,6 @@
#define NDEBUG
#include <debug.h>
-BOOLEAN RtlpPageHeapEnabled = FALSE;
-ULONG RtlpPageHeapGlobalFlags;
-ULONG RtlpPageHeapSizeRangeStart, RtlpPageHeapSizeRangeEnd;
-ULONG RtlpPageHeapDllRangeStart, RtlpPageHeapDllRangeEnd;
-WCHAR RtlpPageHeapTargetDlls[512];
-
/* FUNCTIONS ******************************************************************/
HANDLE NTAPI
@@ -548,18 +542,4 @@
return Result;
}
-
-// Page heap -> move to another file
-
-HANDLE NTAPI
-RtlpPageHeapCreate(ULONG Flags,
- PVOID Addr,
- SIZE_T TotalSize,
- SIZE_T CommitSize,
- PVOID Lock,
- PRTL_HEAP_PARAMETERS Parameters)
-{
- return NULL;
-}
-
/* EOF */
Added: trunk/reactos/lib/rtl/heappage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heappage.c?rev=506…
==============================================================================
--- trunk/reactos/lib/rtl/heappage.c (added)
+++ trunk/reactos/lib/rtl/heappage.c [iso-8859-1] Thu Feb 10 13:24:39 2011
@@ -1,0 +1,39 @@
+/* COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/rtl/heappage.c
+ * PURPOSE: RTL Page Heap implementation
+ * PROGRAMMERS: Copyright 2011 Aleksey Bragin
+ */
+
+/* Useful references:
+
http://msdn.microsoft.com/en-us/library/ms220938(VS.80).aspx
+*/
+
+/* INCLUDES *****************************************************************/
+
+#include <rtl.h>
+#include <heap.h>
+
+#define NDEBUG
+#include <debug.h>
+
+BOOLEAN RtlpPageHeapEnabled = FALSE;
+ULONG RtlpPageHeapGlobalFlags;
+ULONG RtlpPageHeapSizeRangeStart, RtlpPageHeapSizeRangeEnd;
+ULONG RtlpPageHeapDllRangeStart, RtlpPageHeapDllRangeEnd;
+WCHAR RtlpPageHeapTargetDlls[512];
+
+/* FUNCTIONS ******************************************************************/
+
+HANDLE NTAPI
+RtlpPageHeapCreate(ULONG Flags,
+ PVOID Addr,
+ SIZE_T TotalSize,
+ SIZE_T CommitSize,
+ PVOID Lock,
+ PRTL_HEAP_PARAMETERS Parameters)
+{
+ return NULL;
+}
+
+/* EOF */
Propchange: trunk/reactos/lib/rtl/heappage.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/lib/rtl/rtl.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/rtl.rbuild?rev=506…
==============================================================================
--- trunk/reactos/lib/rtl/rtl.rbuild [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/rtl.rbuild [iso-8859-1] Thu Feb 10 13:24:39 2011
@@ -74,6 +74,7 @@
<file>handle.c</file>
<file>heap.c</file>
<file>heapdbg.c</file>
+ <file>heappage.c</file>
<file>image.c</file>
<file>interlck.c</file>
<file>message.c</file>