mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Remove fixed heap base address (HEAP_BASE) to enable bottom-up heap allocation.
svn path=/trunk/; revision=11197
This commit is contained in:
parent
baf11aeb1c
commit
e345820c8e
2 changed files with 3 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: rtl.h,v 1.49 2004/10/04 21:38:48 ion Exp $
|
||||
/* $Id: rtl.h,v 1.50 2004/10/05 10:40:13 ekohl Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -173,8 +173,6 @@ typedef struct _RTL_HANDLE_TABLE
|
|||
} RTL_HANDLE_TABLE, *PRTL_HANDLE_TABLE;
|
||||
|
||||
|
||||
#define HEAP_BASE (0xA0000000)
|
||||
|
||||
/* RtlQueryProcessDebugInformation */
|
||||
#define PDI_MODULES 0x01 /* The loaded modules of the process */
|
||||
#define PDI_BACKTRACE 0x02 /* The heap stack back traces */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: startup.c,v 1.57 2004/01/07 10:09:03 hbirr Exp $
|
||||
/* $Id: startup.c,v 1.58 2004/10/05 10:38:57 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -282,7 +282,7 @@ __true_LdrInitializeThunk (ULONG Unknown1,
|
|||
/* create process heap */
|
||||
RtlInitializeHeapManager();
|
||||
Peb->ProcessHeap = RtlCreateHeap(HEAP_GROWABLE,
|
||||
(PVOID)HEAP_BASE,
|
||||
NULL,
|
||||
NTHeaders->OptionalHeader.SizeOfHeapReserve,
|
||||
NTHeaders->OptionalHeader.SizeOfHeapCommit,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in a new issue