38 lines
892 B
C
38 lines
892 B
C
/**
|
|
* PROJECT: ExectOS
|
|
* COPYRIGHT: See COPYING.md in the top level directory
|
|
* FILE: sdk/xtdk/extypes.h
|
|
* DESCRIPTION: Kernel executive structures definitions
|
|
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
|
*/
|
|
|
|
#ifndef __XTDK_EXTYPES_H
|
|
#define __XTDK_EXTYPES_H
|
|
|
|
#include <xtbase.h>
|
|
#include <xttypes.h>
|
|
#include <ketypes.h>
|
|
|
|
|
|
/* Rundown protection flags */
|
|
#define EX_RUNDOWN_ACTIVE 0x1
|
|
|
|
/* Executive rundown protection structure definition */
|
|
typedef struct _EX_RUNDOWN_REFERENCE
|
|
{
|
|
union
|
|
{
|
|
ULONG_PTR Count;
|
|
PVOID Ptr;
|
|
};
|
|
} EX_RUNDOWN_REFERENCE, *PEX_RUNDOWN_REFERENCE;
|
|
|
|
/* Executive rundown wait block definition */
|
|
typedef struct _EX_RUNDOWN_WAIT_BLOCK
|
|
{
|
|
ULONG_PTR Count;
|
|
KEVENT WakeEvent;
|
|
} EX_RUNDOWN_WAIT_BLOCK, *PEX_RUNDOWN_WAIT_BLOCK;
|
|
|
|
#endif /* __XTDK_EXTYPES_H */
|