aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2008-08-30 22:58:51 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2008-08-30 22:58:51 +0000
commitce11563e346665d1f737a3ba0fd9db9d084a444a (patch)
treef82bfc489616da45448505065afb4a12948d389d
parent20167d0a5fd7646d101e55e68e282da36ed6463a (diff)
downloadnewlib-ce11563e346665d1f737a3ba0fd9db9d084a444a.zip
newlib-ce11563e346665d1f737a3ba0fd9db9d084a444a.tar.gz
newlib-ce11563e346665d1f737a3ba0fd9db9d084a444a.tar.bz2
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (KeRaiseIrql): Define. (KfRaiseIrql, KfLowerIrql): remove incorrect definitions.
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/ddk/winddk.h30
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 <andy.grover@oracle.com>
+ * include/ddk/winddk.h (KeRaiseIrql): Define.
+ (KfRaiseIrql, KfLowerIrql): remove incorrect definitions.
+
+2008-08-29 Andy Grover <andy.grover@oracle.com>
+
* 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