forked from xt-sys/exectos
Initial implementation of the thread initialization
This commit is contained in:
43
xtoskrnl/ke/i686/kthread.c
Normal file
43
xtoskrnl/ke/i686/kthread.c
Normal file
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/ke/i686/kthread.c
|
||||
* DESCRIPTION: I686 thread manipulation support
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#include <xtos.h>
|
||||
|
||||
|
||||
/**
|
||||
* Initializes CPU architecture dependent context of a thread.
|
||||
*
|
||||
* @param Thread
|
||||
* Supplies a pointer to the thread being initialized.
|
||||
*
|
||||
* @param SystemRoutine
|
||||
* Supplies a pointer to the routine called during first scheduling.
|
||||
*
|
||||
* @param StartRoutine
|
||||
* Supplies a pointer to the routine called during thread startup.
|
||||
*
|
||||
* @param StartContext
|
||||
* Supplies a pointer to a context data that will be passed to start routine.
|
||||
*
|
||||
* @param ContextRecord
|
||||
* Supplies a pointer to a context record which stores the initial state of the user mode thread.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTAPI
|
||||
VOID
|
||||
KepInitializeThreadContext(IN PKTHREAD Thread,
|
||||
IN PKSYSTEM_ROUTINE SystemRoutine,
|
||||
IN PKSTART_ROUTINE StartRoutine,
|
||||
IN PVOID StartContext,
|
||||
IN PCONTEXT ContextRecord)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
Reference in New Issue
Block a user