mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
45 lines
743 B
C
45 lines
743 B
C
/*
|
|
* PROJECT: ReactOS Kernel
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* PURPOSE: Routines for IRQL support
|
|
* PROGRAMMERS: Timo Kreuzer
|
|
*/
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
#include <ntoskrnl.h>
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* FUNCTIONS ****************************************************************/
|
|
|
|
NTKERNELAPI
|
|
KIRQL
|
|
KxGetCurrentIrql(VOID)
|
|
{
|
|
return KeGetCurrentIrql();
|
|
}
|
|
|
|
NTKERNELAPI
|
|
VOID
|
|
KxLowerIrql(IN KIRQL NewIrql)
|
|
{
|
|
KeLowerIrql(NewIrql);
|
|
}
|
|
|
|
NTKERNELAPI
|
|
KIRQL
|
|
KxRaiseIrql(IN KIRQL NewIrql)
|
|
{
|
|
return KfRaiseIrql(NewIrql);
|
|
}
|
|
|
|
NTKERNELAPI
|
|
KIRQL
|
|
KxRaiseIrqlToDpcLevel(VOID)
|
|
{
|
|
return KeRaiseIrqlToDpcLevel();
|
|
}
|
|
|
|
|
|
/* EOF */
|