Author: tkreuzer
Date: Sat Jul 26 16:13:25 2008
New Revision: 34811
URL:
http://svn.reactos.org/svn/reactos?rev=34811&view=rev
Log:
on amd64 KfAcquireSpinLock, KfReleaseSpinLock, KeAcquireInStackQueuedSpinLock and
KeReleaseInStackQueuedSpinLock belong to ntoskrnl, not to hal.
Modified:
branches/ros-amd64-bringup/reactos/include/ddk/winddk.h
Modified: branches/ros-amd64-bringup/reactos/include/ddk/winddk.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/ddk/winddk.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/ddk/winddk.h [iso-8859-1] Sat Jul 26
16:13:25 2008
@@ -5817,6 +5817,20 @@
KefReleaseSpinLockFromDpcLevel(
IN PKSPIN_LOCK SpinLock);
+#if defined(_M_AMD64)
+NTKERNELAPI
+KIRQL
+FASTCALL
+KfAcquireSpinLock(
+ IN PKSPIN_LOCK SpinLock);
+
+NTKERNELAPI
+VOID
+FASTCALL
+KfReleaseSpinLock(
+ IN PKSPIN_LOCK SpinLock,
+ IN KIRQL NewIrql);
+#else
NTHALAPI
KIRQL
FASTCALL
@@ -5829,6 +5843,7 @@
KfReleaseSpinLock(
IN PKSPIN_LOCK SpinLock,
IN KIRQL NewIrql);
+#endif
NTKERNELAPI
BOOLEAN
@@ -9322,12 +9337,33 @@
/** Kernel routines **/
-NTHALAPI
+#if defined (_M_AMD64)
+NTKERNELAPI
VOID
FASTCALL
KeAcquireInStackQueuedSpinLock(
IN PKSPIN_LOCK SpinLock,
IN PKLOCK_QUEUE_HANDLE LockHandle);
+
+NTKERNELAPI
+VOID
+FASTCALL
+KeReleaseInStackQueuedSpinLock(
+ IN PKLOCK_QUEUE_HANDLE LockHandle);
+#else
+NTHALAPI
+VOID
+FASTCALL
+KeAcquireInStackQueuedSpinLock(
+ IN PKSPIN_LOCK SpinLock,
+ IN PKLOCK_QUEUE_HANDLE LockHandle);
+
+NTHALAPI
+VOID
+FASTCALL
+KeReleaseInStackQueuedSpinLock(
+ IN PKLOCK_QUEUE_HANDLE LockHandle);
+#endif
NTKERNELAPI
VOID
@@ -9585,12 +9621,6 @@
IN PVOID Buffer,
IN ULONG Length,
IN PUCHAR Component);
-
-NTHALAPI
-VOID
-FASTCALL
-KeReleaseInStackQueuedSpinLock(
- IN PKLOCK_QUEUE_HANDLE LockHandle);
NTKERNELAPI
VOID