mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
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 */
|