ReactOS  0.4.15-dev-1070-ge1a01de
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 IN
Definition: typedefs.h:39
#define KeLowerIrql(oldIrql)
Definition: env_spec_w32.h:602
NTKERNELAPI KIRQL KxGetCurrentIrql(VOID)
Definition: irql.c:18
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define NTKERNELAPI
KIRQL FASTCALL KfRaiseIrql(KIRQL NewIrql)
Definition: irql.c:243
NTKERNELAPI KIRQL KxRaiseIrqlToDpcLevel(VOID)
Definition: irql.c:39
NTKERNELAPI VOID KxLowerIrql(IN KIRQL NewIrql)
Definition: irql.c:25
KIRQL NTAPI KeGetCurrentIrql(VOID)
Definition: irql.c:71
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
KIRQL NTAPI KeRaiseIrqlToDpcLevel(VOID)
Definition: irql.c:280