Move RunThread to architecture-specific implementations
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 33s
Builds / ExectOS (i686, debug) (push) Successful in 31s
Builds / ExectOS (i686, release) (push) Successful in 38s
Builds / ExectOS (amd64, release) (push) Successful in 40s

This commit is contained in:
2026-06-16 11:43:42 +02:00
parent f6f37494cd
commit 1c90218042
3 changed files with 26 additions and 13 deletions

View File

@@ -137,3 +137,16 @@ KE::KThread::InitializeThreadContext(IN PKTHREAD Thread,
Thread->InitialStack = (PVOID)&ThreadFrame->NpxFrame;
Thread->KernelStack = &ThreadFrame->SwitchFrame;
}
/**
* 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)
{
}

View File

@@ -134,3 +134,16 @@ KE::KThread::InitializeThreadContext(IN PKTHREAD Thread,
Thread->InitialStack = (PVOID)&ThreadFrame->NpxFrame;
Thread->KernelStack = &ThreadFrame->SwitchFrame;
}
/**
* 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)
{
}

View File

@@ -280,19 +280,6 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
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.
*