From ce11563e346665d1f737a3ba0fd9db9d084a444a Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Sat, 30 Aug 2008 22:58:51 +0000 Subject: 2008-08-29 Andy Grover * include/ddk/winddk.h (KeRaiseIrql): Define. (KfRaiseIrql, KfLowerIrql): remove incorrect definitions. --- winsup/w32api/ChangeLog | 5 +++++ winsup/w32api/include/ddk/winddk.h | 30 +++++------------------------- 2 files changed, 10 insertions(+), 25 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index d53a24d..efa1b00 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,10 @@ 2008-08-29 Andy Grover + * include/ddk/winddk.h (KeRaiseIrql): Define. + (KfRaiseIrql, KfLowerIrql): remove incorrect definitions. + +2008-08-29 Andy Grover + * include/ddk/winddk.h (KeFlushQueuedDpcs, KeMemoryBarrier): Define. (KeGetCurrentProcessorNumber): Fix incorrect member reference. (InterlockedIncrement, InterlockedDecrement): fix warning. diff --git a/winsup/w32api/include/ddk/winddk.h b/winsup/w32api/include/ddk/winddk.h index 9c9a078..1af2500 100644 --- a/winsup/w32api/include/ddk/winddk.h +++ b/winsup/w32api/include/ddk/winddk.h @@ -7726,38 +7726,18 @@ KeWaitForSingleObject( /*IN*/ BOOLEAN Alertable, /*IN*/ PLARGE_INTEGER Timeout /*OPTIONAL*/); -#if defined(_X86_) - NTOSAPI VOID -FASTCALL -KfLowerIrql( - /*IN*/ KIRQL NewIrql); - -NTOSAPI -KIRQL -FASTCALL -KfRaiseIrql( - /*IN*/ KIRQL NewIrql); - -#define KeLowerIrql(a) KfLowerIrql(a) -#define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a) - -#else +DDKAPI +KeRaiseIrql( + /*IN*/ KIRQL new_irql, + /*OUT*/ PKIRQL old_irql); NTOSAPI VOID DDKAPI KeLowerIrql( - /*IN*/ KIRQL NewIrql); - -NTOSAPI -KIRQL -DDKAPI -KeRaiseIrql( - /*IN*/ KIRQL NewIrql); - -#endif + /*IN*/ KIRQL irql); NTOSAPI KIRQL -- cgit v1.1