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 16 NTKERNELAPI 17 KIRQL 18 KxGetCurrentIrql(VOID) 19 { 20 return KeGetCurrentIrql(); 21 } 22 23 NTKERNELAPI 24 VOID 25 KxLowerIrql(IN KIRQL NewIrql) 26 { 27 KeLowerIrql(NewIrql); 28 } 29 30 NTKERNELAPI 31 KIRQL 32 KxRaiseIrql(IN KIRQL NewIrql) 33 { 34 return KfRaiseIrql(NewIrql); 35 } 36 37 NTKERNELAPI 38 KIRQL 39 KxRaiseIrqlToDpcLevel(VOID) 40 { 41 return KeRaiseIrqlToDpcLevel(); 42 } 43 44 45 /* EOF */ 46