Add thread startup stub
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 27s
Builds / ExectOS (amd64, release) (push) Successful in 39s
Builds / ExectOS (i686, release) (push) Successful in 38s
Builds / ExectOS (i686, debug) (push) Successful in 30s

This commit is contained in:
2026-06-14 00:50:23 +02:00
parent 15523e7d71
commit df35bf8601
2 changed files with 14 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ namespace KE
IN PKSTART_ROUTINE StartRoutine, IN PKSTART_ROUTINE StartRoutine,
IN PVOID StartContext, IN PVOID StartContext,
IN PCONTEXT ContextRecord); IN PCONTEXT ContextRecord);
STATIC XTAPI VOID RunThread(VOID);
STATIC XTAPI VOID SuspendNop(IN PKAPC Apc, STATIC XTAPI VOID SuspendNop(IN PKAPC Apc,
IN OUT PKNORMAL_ROUTINE *NormalRoutine, IN OUT PKNORMAL_ROUTINE *NormalRoutine,
IN OUT PVOID *NormalContext, IN OUT PVOID *NormalContext,

View File

@@ -265,6 +265,19 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
/**
* Serves as the initial execution point for all threads after first context switch.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTAPI
VOID
KE::KThread::RunThread(VOID)
{
}
/** /**
* Starts the thread. * Starts the thread.
* *