exectos/sdk/xtdk/extypes.h
belliash ba833422b0
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 31s
Builds / ExectOS (i686) (push) Successful in 30s
Implement ExCompleteRundownProtection() and ExReInitializeRundownProtection() routines and add stub for ExWaitForRundownProtectionRelease()
2023-11-05 09:50:04 +01:00

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 */