exectos/xtoskrnl/ex/rundown.c
belliash e0778d0a12
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Introduce kernel executive
2023-03-16 23:40:38 +01:00

29 lines
647 B
C

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/ex/rundown.c
* DESCRIPTION: Rundown protection mechanism
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#include <xtos.h>
/**
* Initializes the rundown protection descriptor.
*
* @param Descriptor
* Supplies a pointer to the descriptor to be initialized.
*
* @return This routine does not return any value.
*
* @since NT 5.1
*/
XTFASTCALL
VOID
ExInitializeRundownProtection(IN PEX_RUNDOWN_REFERENCE Descriptor)
{
/* Reset descriptor counter */
Descriptor->Count = 0;
}