mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +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:
@@ -726,6 +726,7 @@ MmArmInitSystem(IN ULONG Phase,
|
||||
{
|
||||
Buffers[i] = MiAllocatePoolPages(NonPagedPool, PAGE_SIZE);
|
||||
if (!Buffers[i]) break;
|
||||
if (i == 4096) break;
|
||||
i++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user