From d8fc2231405b1eaba49d3de97b21ac4a00c3f188 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Mon, 29 Dec 2025 19:16:13 +0100 Subject: [PATCH] Adjust thread initialization to match new stack allocator signature --- xtoskrnl/ke/kthread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtoskrnl/ke/kthread.cc b/xtoskrnl/ke/kthread.cc index 1e531f4..13755ba 100644 --- a/xtoskrnl/ke/kthread.cc +++ b/xtoskrnl/ke/kthread.cc @@ -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 */