Adjust thread initialization to match new stack allocator signature

This commit is contained in:
2026-03-25 15:03:33 +01:00
committed by CodingWorkshop Signing Team
parent e1144da195
commit b5ebd24f24
+1 -1
View File
@@ -152,7 +152,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
if(!Stack)
{
/* Allocate new stack */
Status = MM::KernelPool::AllocateKernelStack(&Stack, FALSE, 0);
Status = MM::KernelPool::AllocateKernelStack(&Stack, KERNEL_STACK_SIZE);
if(Status != STATUS_SUCCESS || !Stack)
{
/* Stack allocation failed */