- Fixed a crash in PAE mode and without the '/3GB' switch.
Modified: trunk/reactos/ntoskrnl/mm/i386/page.c
--- trunk/reactos/ntoskrnl/mm/i386/page.c 2005-01-26 19:22:37 UTC (rev 13318) +++ trunk/reactos/ntoskrnl/mm/i386/page.c 2005-01-26 19:43:03 UTC (rev 13319) @@ -258,7 +258,7 @@
} } }
- else
+ if (i == PAE_ADDR_TO_PDTE_OFFSET(HYPERSPACE))
{ MmReleasePageMemoryConsumer(MC_NPPOOL, PAE_PTE_TO_PFN(PageDir[PAE_ADDR_TO_PDE_PAGE_OFFSET(HYPERSPACE)])); MmReleasePageMemoryConsumer(MC_NPPOOL, PAE_PTE_TO_PFN(PageDir[PAE_ADDR_TO_PDE_PAGE_OFFSET(HYPERSPACE)+1]));