mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[RTL]
- Move page heap related code to heappage.c. svn path=/trunk/; revision=50652
This commit is contained in:
@@ -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 @@ RtlDebugSizeHeap(HANDLE HeapPtr,
|
||||
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 */
|
||||
@@ -0,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 */
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user