ReactOS  0.4.15-dev-3165-gdf6fff7
irql.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Kernel
3  * LICENSE: GPL - See COPYING in the top level directory
4  * PURPOSE: Routines for IRQL support
5  * PROGRAMMERS: Timo Kreuzer
6  */
7 
8 /* INCLUDES *****************************************************************/
9 
10 #include <ntoskrnl.h>
11 #define NDEBUG
12 #include <debug.h>
13 
14 /* FUNCTIONS ****************************************************************/
15 
17 KIRQL
19 {
20  return KeGetCurrentIrql();
21 }
22 
24 VOID
26 {
28 }
29 
31 KIRQL
33 {
34  return KfRaiseIrql(NewIrql);
35 }
36 
38 KIRQL
40 {
41  return KeRaiseIrqlToDpcLevel();
42 }
43 
44 
45 /* EOF */
#define KeGetCurrentIrql()
Definition: env_spec_w32.h:706
#define IN
Definition: typedefs.h:39
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment KeRaiseIrqlToDpcLevel
Definition: CrNtStubs.h:67
NTKERNELAPI KIRQL KxGetCurrentIrql(VOID)
Definition: irql.c:18
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define NTKERNELAPI
KIRQL FASTCALL KfRaiseIrql(IN KIRQL NewIrql)
Definition: pic.c:187
NTKERNELAPI KIRQL KxRaiseIrqlToDpcLevel(VOID)
Definition: irql.c:39
NTKERNELAPI VOID KxLowerIrql(IN KIRQL NewIrql)
Definition: irql.c:25
VOID NTAPI KeLowerIrql(KIRQL NewIrql)
Definition: spinlock.c:39
NTKERNELAPI KIRQL KxRaiseIrql(IN KIRQL NewIrql)
Definition: irql.c:32
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
Definition: ke.h:114