mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
46 lines
743 B
C
46 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 */
|