Delegate idle process and thread setup to PS subsystem

This commit is contained in:
2026-06-04 13:14:21 +02:00
parent 02d0f3f538
commit 75e7760d04
3 changed files with 11 additions and 52 deletions

View File

@@ -50,10 +50,7 @@ PS::Thread::CreateIdleThread(IN PKPROCESSOR_CONTROL_BLOCK Prcb,
Prcb->IdleThread = &IdleThread->ThreadControlBlock;
/* Initialize the IDLE thread */
KE::KThread::InitializeIdleThread(IdleProcess,
&IdleThread->ThreadControlBlock,
Prcb,
Stack);
KE::KThread::InitializeIdleThread(IdleProcess, &IdleThread->ThreadControlBlock, Prcb, Stack);
/* Return success */
return STATUS_SUCCESS;