ReactOS 0.4.15-dev-8058-ga7cbb60
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
19{
20 return KeGetCurrentIrql();
21}
22
24VOID
26{
28}
29
33{
34 return KfRaiseIrql(NewIrql);
35}
36
40{
41 return KeRaiseIrqlToDpcLevel();
42}
43
44
45/* EOF */
UCHAR KIRQL
Definition: env_spec_w32.h:591
#define KeLowerIrql(oldIrql)
Definition: env_spec_w32.h:602
#define KeGetCurrentIrql()
Definition: env_spec_w32.h:706
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment KeRaiseIrqlToDpcLevel
Definition: CrNtStubs.h:68
KIRQL FASTCALL KfRaiseIrql(IN KIRQL NewIrql)
Definition: pic.c:187
NTKERNELAPI KIRQL KxGetCurrentIrql(VOID)
Definition: irql.c:18
NTKERNELAPI KIRQL KxRaiseIrqlToDpcLevel(VOID)
Definition: irql.c:39
NTKERNELAPI VOID KxLowerIrql(IN KIRQL NewIrql)
Definition: irql.c:25
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
#define IN
Definition: typedefs.h:39
#define NTKERNELAPI