[ros-diffs] [hbirr] 16680: Set MmUserProbeAddress and MmHighestUserAddress according to the system range start.

hbirr at svn.reactos.com hbirr at svn.reactos.com
Thu Jul 21 17:46:13 CEST 2005


Set MmUserProbeAddress and MmHighestUserAddress according to the system
range start.
Modified: trunk/reactos/ntoskrnl/mm/mminit.c
  _____  

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050721/40ed62d7/attachment.html


More information about the Ros-diffs mailing list