Implement ExCompleteRundownProtection() and ExReInitializeRundownProtection() routines and add stub for ExWaitForRundownProtectionRelease()

This commit is contained in:
2023-11-05 09:50:04 +01:00
parent d9918f0380
commit ba833422b0
4 changed files with 75 additions and 1 deletions

View File

@@ -18,12 +18,24 @@ XTFASTCALL
BOOLEAN
ExAcquireRundownProtection(IN PEX_RUNDOWN_REFERENCE Descriptor);
XTFASTCALL
VOID
ExCompleteRundownProtection(IN PEX_RUNDOWN_REFERENCE Descriptor);
XTFASTCALL
VOID
ExInitializeRundownProtection(IN PEX_RUNDOWN_REFERENCE Descriptor);
XTFASTCALL
VOID
ExReInitializeRundownProtection(IN PEX_RUNDOWN_REFERENCE Descriptor);
XTFASTCALL
VOID
ExReleaseRundownProtection(IN PEX_RUNDOWN_REFERENCE Descriptor);
XTFASTCALL
VOID
ExWaitForRundownProtectionRelease(IN PEX_RUNDOWN_REFERENCE Descriptor);
#endif /* __XTDK_EXFUNCS_H */

View File

@@ -14,6 +14,9 @@
#include <ketypes.h>
/* Rundown protection flags */
#define EX_RUNDOWN_ACTIVE 0x1
/* Executive rundown protection structure definition */
typedef struct _EX_RUNDOWN_REFERENCE
{