Initial implementation of the thread initialization
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-02-23 20:11:21 +01:00
parent 9c083dc050
commit c4d1f1cd0d
13 changed files with 356 additions and 13 deletions

View File

@@ -10,7 +10,39 @@
#define __XTOSKRNL_KEPFUNCS_H
#include <xtos.h>
#include ARCH_HEADER(kepfuncs.h)
XTAPI
XTSTATUS
KeInitializeThread(IN PKTHREAD Thread,
IN PVOID Stack,
IN PKSYSTEM_ROUTINE SystemRoutine,
IN PKSTART_ROUTINE StartRoutine,
IN PVOID StartContext,
IN PCONTEXT Context,
IN PVOID EnvironmentBlock,
IN PKPROCESS Process);
XTAPI
VOID
KeStartThread(IN PKTHREAD Thread);
XTAPI
VOID
KepSuspendNop(IN PKAPC Apc,
IN OUT PKNORMAL_ROUTINE *NormalRoutine,
IN OUT PVOID *NormalContext,
IN OUT PVOID *SystemArgument1,
IN OUT PVOID *SystemArgument2);
XTAPI
VOID
KepSuspendRundown(IN PKAPC Apc);
XTAPI
VOID
KepSuspendThread(IN PVOID NormalContext,
IN PVOID SystemArgument1,
IN PVOID SystemArgument2);
#endif /* __XTOSKRNL_KEPFUNCS_H */