Initial process and thread related structures
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
9132c47cd9
commit
e3a900088c
30
sdk/xtdk/pstypes.h
Normal file
30
sdk/xtdk/pstypes.h
Normal file
@ -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 <belliash@codingworkshop.eu.org>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __XTDK_PSTYPES_H
|
||||||
|
#define __XTDK_PSTYPES_H
|
||||||
|
|
||||||
|
#include <xttypes.h>
|
||||||
|
#include <ketypes.h>
|
||||||
|
|
||||||
|
|
||||||
|
/* 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 */
|
Loading…
Reference in New Issue
Block a user