b58b1e14401da218e300901d3ddcf91fdd2dabf9
[reactos.git] / reactos / ntoskrnl / ex / stamp.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/ex/stamp.c
5 * PURPOSE: Graceful system shutdown if a bug is detected
6 * PROGRAMMER: David Welch (welch@mcmail.com)
7 * UPDATE HISTORY:
8 * Created 22/05/98
9 */
10
11 /* INCLUDES *****************************************************************/
12
13 #include <ddk/ntddk.h>
14
15 #include <internal/debug.h>
16
17 /* GLOBALS ******************************************************************/
18
19 static ULONG TimeStamp = 0;
20
21 /* FUNCTIONS *****************************************************************/
22
23 ULONG ExGetTimeStamp(VOID)
24 {
25 return(InterlockedIncrement(&TimeStamp));
26 }