Initial Asynchronous Procedure Call (APC) support
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-02-18 00:04:51 +01:00
parent 3ba3a57881
commit 3354075900
5 changed files with 108 additions and 1 deletions

View File

@@ -16,6 +16,17 @@
/* Kernel services routines forward references */
XTAPI
VOID
KeInitializeApc(IN PKAPC Apc,
IN PKTHREAD Thread,
IN KAPC_ENVIRONMENT Environment,
IN PKKERNEL_ROUTINE KernelRoutine,
IN PKRUNDOWN_ROUTINE RundownRoutine,
IN PKNORMAL_ROUTINE NormalRoutine,
IN KPROCESSOR_MODE ApcMode,
IN PVOID Context);
XTAPI
VOID
KeInitializeSemaphore(IN PKSEMAPHORE Semaphore,

View File

@@ -17,7 +17,7 @@
/* Maximum number of exception parameters */
#define EXCEPTION_MAXIMUM_PARAMETERS 15
#define EXCEPTION_MAXIMUM_PARAMETERS 15
/* Exception disposition return values */
typedef enum _EXCEPTION_DISPOSITION
@@ -171,11 +171,14 @@ typedef struct _KPROCESS
typedef struct _KTHREAD
{
DISPATCHER_HEADER Header;
LIST_ENTRY MutantListHead;
PVOID InitialStack;
PVOID KernelStack;
PVOID StackBase;
PVOID StackLimit;
KSPIN_LOCK ThreadLock;
KAPC_STATE ApcState;
UCHAR ApcStateIndex;
} KTHREAD, *PKTHREAD;
#endif /* __XTDK_KEFUNCS_H */