4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

2008-08-29 Andy Grover <andy.grover@oracle.com>

* include/ddk/winddk.h (KeRaiseIrql): Define.
        (KfRaiseIrql, KfLowerIrql): remove incorrect definitions.
This commit is contained in:
Chris Sutcliffe 2008-08-30 22:58:51 +00:00
parent 20167d0a5f
commit ce11563e34
2 changed files with 10 additions and 25 deletions

View File

@ -1,3 +1,8 @@
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (KeRaiseIrql): Define.
(KfRaiseIrql, KfLowerIrql): remove incorrect definitions.
2008-08-29 Andy Grover <andy.grover@oracle.com> 2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (KeFlushQueuedDpcs, KeMemoryBarrier): Define. * include/ddk/winddk.h (KeFlushQueuedDpcs, KeMemoryBarrier): Define.

View File

@ -7726,38 +7726,18 @@ KeWaitForSingleObject(
/*IN*/ BOOLEAN Alertable, /*IN*/ BOOLEAN Alertable,
/*IN*/ PLARGE_INTEGER Timeout /*OPTIONAL*/); /*IN*/ PLARGE_INTEGER Timeout /*OPTIONAL*/);
#if defined(_X86_)
NTOSAPI NTOSAPI
VOID VOID
FASTCALL DDKAPI
KfLowerIrql( KeRaiseIrql(
/*IN*/ KIRQL NewIrql); /*IN*/ KIRQL new_irql,
/*OUT*/ PKIRQL old_irql);
NTOSAPI
KIRQL
FASTCALL
KfRaiseIrql(
/*IN*/ KIRQL NewIrql);
#define KeLowerIrql(a) KfLowerIrql(a)
#define KeRaiseIrql(a,b) *(b) = KfRaiseIrql(a)
#else
NTOSAPI NTOSAPI
VOID VOID
DDKAPI DDKAPI
KeLowerIrql( KeLowerIrql(
/*IN*/ KIRQL NewIrql); /*IN*/ KIRQL irql);
NTOSAPI
KIRQL
DDKAPI
KeRaiseIrql(
/*IN*/ KIRQL NewIrql);
#endif
NTOSAPI NTOSAPI
KIRQL KIRQL