Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

86 lines
1.0 KiB

/*++
Copyright (c) 1989 Microsoft Corporation
Module Name:
ixthunk.c
Abstract:
This module contains the standard call routines which thunk to
fastcall routines.
Author:
Ken Reneris (kenr) 04-May-1994
Environment:
Kernel mode
Revision History:
--*/
#if !defined(_WIN64)
#include "halp.h"
#ifdef KeRaiseIrql
#undef KeRaiseIrql
#endif
VOID
KeRaiseIrql (
IN KIRQL NewIrql,
OUT PKIRQL OldIrql
)
{
*OldIrql = KfRaiseIrql (NewIrql);
}
#ifdef KeLowerIrql
#undef KeLowerIrql
#endif
VOID
KeLowerIrql (
IN KIRQL NewIrql
)
{
KfLowerIrql (NewIrql);
}
#ifdef KeAcquireSpinLock
#undef KeAcquireSpinLock
#endif
VOID
KeAcquireSpinLock (
IN PKSPIN_LOCK SpinLock,
OUT PKIRQL OldIrql
)
{
*OldIrql = KfAcquireSpinLock (SpinLock);
}
#ifdef KeReleaseSpinLock
#undef KeReleaseSpinLock
#endif
VOID
KeReleaseSpinLock (
IN PKSPIN_LOCK SpinLock,
IN KIRQL NewIrql
)
{
KfReleaseSpinLock (SpinLock, NewIrql);
}
#endif // _WIN64