1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

Out of memory great again

This commit is contained in:
Adrien Bourmault 2020-06-05 14:29:46 +02:00
parent 494e85e6dc
commit 3bb1b31eeb

View File

@ -215,6 +215,7 @@ ulong MmAllocPageFrame(size_t size, bool contiguous)
addPageToBusyList(futureBegin, futureEnd, id); addPageToBusyList(futureBegin, futureEnd, id);
if (curNumber != pageNumber) { if (curNumber != pageNumber) {
KeStartPanic("MmAllocPageFrame: Out of memory");
return 0; return 0;
} }