Move RunThread to architecture-specific implementations
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user