Fix a braindead bug that killed my system (512MB) since the loop goes on past 4096 pages if you have enough non paged pool... do you even test this?

svn path=/trunk/; revision=41860
This commit is contained in:
ReactOS Portable Systems Group 2009-07-11 09:36:18 +00:00
parent 2aabdcc5fd
commit b6f27fe11d

View file

@ -726,6 +726,7 @@ MmArmInitSystem(IN ULONG Phase,
{
Buffers[i] = MiAllocatePoolPages(NonPagedPool, PAGE_SIZE);
if (!Buffers[i]) break;
if (i == 4096) break;
i++;
}