mirror of
https://github.com/reactos/reactos.git
synced 2025-05-08 19:27:00 +00:00
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:
parent
2aabdcc5fd
commit
b6f27fe11d
1 changed files with 1 additions and 0 deletions
|
@ -726,6 +726,7 @@ MmArmInitSystem(IN ULONG Phase,
|
||||||
{
|
{
|
||||||
Buffers[i] = MiAllocatePoolPages(NonPagedPool, PAGE_SIZE);
|
Buffers[i] = MiAllocatePoolPages(NonPagedPool, PAGE_SIZE);
|
||||||
if (!Buffers[i]) break;
|
if (!Buffers[i]) break;
|
||||||
|
if (i == 4096) break;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue