mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
[RTL]
- Move page heap related code to heappage.c. svn path=/trunk/; revision=50652
This commit is contained in:
parent
b8cf5f8653
commit
bd7f92508e
3 changed files with 40 additions and 20 deletions
|
@ -14,12 +14,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
BOOLEAN RtlpPageHeapEnabled = FALSE;
|
|
||||||
ULONG RtlpPageHeapGlobalFlags;
|
|
||||||
ULONG RtlpPageHeapSizeRangeStart, RtlpPageHeapSizeRangeEnd;
|
|
||||||
ULONG RtlpPageHeapDllRangeStart, RtlpPageHeapDllRangeEnd;
|
|
||||||
WCHAR RtlpPageHeapTargetDlls[512];
|
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
HANDLE NTAPI
|
HANDLE NTAPI
|
||||||
|
@ -548,18 +542,4 @@ RtlDebugSizeHeap(HANDLE HeapPtr,
|
||||||
return Result;
|
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 */
|
/* EOF */
|
39
reactos/lib/rtl/heappage.c
Normal file
39
reactos/lib/rtl/heappage.c
Normal file
|
@ -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>handle.c</file>
|
||||||
<file>heap.c</file>
|
<file>heap.c</file>
|
||||||
<file>heapdbg.c</file>
|
<file>heapdbg.c</file>
|
||||||
|
<file>heappage.c</file>
|
||||||
<file>image.c</file>
|
<file>image.c</file>
|
||||||
<file>interlck.c</file>
|
<file>interlck.c</file>
|
||||||
<file>message.c</file>
|
<file>message.c</file>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue