diff --git a/xtoskrnl/ke/amd64/kthread.cc b/xtoskrnl/ke/amd64/kthread.cc index 1193a51..c2fbbb3 100644 --- a/xtoskrnl/ke/amd64/kthread.cc +++ b/xtoskrnl/ke/amd64/kthread.cc @@ -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) +{ +} diff --git a/xtoskrnl/ke/i686/kthread.cc b/xtoskrnl/ke/i686/kthread.cc index 6142f1d..20fa4f8 100644 --- a/xtoskrnl/ke/i686/kthread.cc +++ b/xtoskrnl/ke/i686/kthread.cc @@ -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) +{ +} diff --git a/xtoskrnl/ke/kthread.cc b/xtoskrnl/ke/kthread.cc index 128136b..3d6369a 100644 --- a/xtoskrnl/ke/kthread.cc +++ b/xtoskrnl/ke/kthread.cc @@ -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. *