exectos/sdk/xtdk/extypes.h
belliash 2827bb400f
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Implement ExAcquireRundownProtection() and ExReleaseRundownProtection() routines
2023-03-18 11:11:06 +01:00

35 lines
800 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>
/* 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 */