From e3a900088ce6d7b972722c9352d4e431df7c464f Mon Sep 17 00:00:00 2001 From: belliash Date: Wed, 8 Feb 2023 23:56:29 +0100 Subject: [PATCH] Initial process and thread related structures --- sdk/xtdk/pstypes.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sdk/xtdk/pstypes.h diff --git a/sdk/xtdk/pstypes.h b/sdk/xtdk/pstypes.h new file mode 100644 index 0000000..8e3e4d0 --- /dev/null +++ b/sdk/xtdk/pstypes.h @@ -0,0 +1,30 @@ +/** + * PROJECT: ExectOS + * COPYRIGHT: See COPYING.md in the top level directory + * FILE: sdk/xtdk/pstypes.h + * DESCRIPTION: Process-related data structure definitions + * DEVELOPERS: Rafal Kupiec + */ + +#ifndef __XTDK_PSTYPES_H +#define __XTDK_PSTYPES_H + +#include +#include + + +/* Kernel's representation of a process object */ +typedef struct _EPROCESS +{ + KPROCESS ProcessControlBlock; + UINT Reserved0; +} EPROCESS, *PEPROCESS; + +/* Kernel's representation of a thread object */ +typedef struct _ETHREAD +{ + KTHREAD ThreadControlBlock; + UINT Reserved0; +} ETHREAD, *PETHREAD; + +#endif /* __XTDK_PSTYPES_H */