diff --git a/reactos/include/ntdll/rtl.h b/reactos/include/ntdll/rtl.h index ec760a2f8ec..5699d3c7d96 100644 --- a/reactos/include/ntdll/rtl.h +++ b/reactos/include/ntdll/rtl.h @@ -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 */ diff --git a/reactos/lib/ntdll/ldr/startup.c b/reactos/lib/ntdll/ldr/startup.c index 6e1f4addeac..8b65c088b54 100644 --- a/reactos/lib/ntdll/ldr/startup.c +++ b/reactos/lib/ntdll/ldr/startup.c @@ -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,