Set MmUserProbeAddress and MmHighestUserAddress according to the system range start.
Modified: trunk/reactos/ntoskrnl/mm/mminit.c
--- trunk/reactos/ntoskrnl/mm/mminit.c 2005-07-21 14:15:42 UTC (rev 16679) +++ trunk/reactos/ntoskrnl/mm/mminit.c 2005-07-21 15:46:07 UTC (rev 16680) @@ -321,8 +321,8 @@
} /* Set memory limits */
- MmUserProbeAddress = 0x7fff0000;
- MmHighestUserAddress = (PVOID)0x7ffeffff;
+ MmUserProbeAddress = (ULONG_PTR)MmSystemRangeStart - 0x10000;
+ MmHighestUserAddress = (PVOID)(MmUserProbeAddress - 1);
/* * Initialize memory managment statistics