Implement initial memory manager infrastructure #24

Open
harraiken wants to merge 169 commits from memmgr into master
Showing only changes of commit d8fc223140 - Show all commits

View File

@@ -152,7 +152,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
if(!Stack) if(!Stack)
{ {
/* Allocate new stack */ /* Allocate new stack */
Status = MM::KernelPool::AllocateKernelStack(&Stack, FALSE, 0); Status = MM::KernelPool::AllocateKernelStack(&Stack, KERNEL_STACK_SIZE);
if(Status != STATUS_SUCCESS || !Stack) if(Status != STATUS_SUCCESS || !Stack)
{ {
/* Stack allocation failed */ /* Stack allocation failed */