reactos/ntoskrnl/ke/amd64/irql.c

46 lines
743 B
C
Raw Normal View History

/*
* 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 */