- added stub for PoQueueShutdownWorkItem required by XP's ntfs.sys
- added stubs for KeAcquireInStackQueuedSpinLock and KeReleaseInStackQueuedSpinLock
Modified: trunk/reactos/hal/hal/hal.c
Modified: trunk/reactos/hal/hal/hal.def
Modified: trunk/reactos/hal/halx86/generic/spinlock.c
Modified: trunk/reactos/ntoskrnl/ntoskrnl.def
Modified: trunk/reactos/ntoskrnl/po/power.c

Modified: trunk/reactos/hal/hal/hal.c
--- trunk/reactos/hal/hal/hal.c	2005-03-29 15:22:44 UTC (rev 14380)
+++ trunk/reactos/hal/hal/hal.c	2005-03-29 17:29:02 UTC (rev 14381)
@@ -721,6 +721,27 @@
 
 
 VOID
+FASTCALL
+KeAcquireInStackQueuedSpinLock(
+    IN PKSPIN_LOCK SpinLock,
+    IN PKLOCK_QUEUE_HANDLE LockHandle
+    )
+{
+  UNIMPLEMENTED;
+}
+
+
+VOID
+FASTCALL
+KeReleaseInStackQueuedSpinLock(
+    IN PKLOCK_QUEUE_HANDLE LockHandle
+    )
+{
+  UNIMPLEMENTED;
+}
+
+
+VOID
 STDCALL
 KeFlushWriteBuffer(VOID)
 {

Modified: trunk/reactos/hal/hal/hal.def
--- trunk/reactos/hal/hal/hal.def	2005-03-29 15:22:44 UTC (rev 14380)
+++ trunk/reactos/hal/hal/hal.def	2005-03-29 17:29:02 UTC (rev 14381)
@@ -70,6 +70,7 @@
 KdPortDisableInterrupts@0
 KdPortEnableInterrupts@0
 KeAcquireSpinLock@8
+@KeAcquireInStackQueuedSpinLock@8
 @KeAcquireSpinLockRaiseToSynch@4
 KeGetCurrentIrql@0
 KeFlushWriteBuffer@0
@@ -78,6 +79,7 @@
 KeRaiseIrql@8
 KeRaiseIrqlToDpcLevel@0
 KeRaiseIrqlToSynchLevel@0
+@KeReleaseInStackQueuedSpinLock@4
 KeReleaseSpinLock@8
 KeStallExecutionProcessor@4
 @KfAcquireSpinLock@4

Modified: trunk/reactos/hal/halx86/generic/spinlock.c
--- trunk/reactos/hal/halx86/generic/spinlock.c	2005-03-29 15:22:44 UTC (rev 14380)
+++ trunk/reactos/hal/halx86/generic/spinlock.c	2005-03-29 17:29:02 UTC (rev 14381)
@@ -98,4 +98,31 @@
    KfLowerIrql(NewIrql);
 }
 
+
+/*
+ * @unimplemented
+ */
+VOID
+FASTCALL
+KeAcquireInStackQueuedSpinLock(
+    IN PKSPIN_LOCK SpinLock,
+    IN PKLOCK_QUEUE_HANDLE LockHandle
+    )
+{
+   UNIMPLEMENTED;
+}
+
+
+/*
+ * @unimplemented
+ */
+VOID
+FASTCALL
+KeReleaseInStackQueuedSpinLock(
+    IN PKLOCK_QUEUE_HANDLE LockHandle
+    )
+{
+   UNIMPLEMENTED;
+}
+
 /* EOF */

Modified: trunk/reactos/ntoskrnl/ntoskrnl.def
--- trunk/reactos/ntoskrnl/ntoskrnl.def	2005-03-29 15:22:44 UTC (rev 14380)
+++ trunk/reactos/ntoskrnl/ntoskrnl.def	2005-03-29 17:29:02 UTC (rev 14381)
@@ -846,6 +846,7 @@
 ;PfxInsertPrefix
 ;PfxRemovePrefix
 PoCallDriver@8
+PoQueueShutdownWorkItem@4
 PoRegisterDeviceForIdleDetection@16
 PoRegisterSystemState@8
 PoRequestPowerIrp@24

Modified: trunk/reactos/ntoskrnl/po/power.c
--- trunk/reactos/ntoskrnl/po/power.c	2005-03-29 15:22:44 UTC (rev 14380)
+++ trunk/reactos/ntoskrnl/po/power.c	2005-03-29 17:29:02 UTC (rev 14381)
@@ -275,4 +275,19 @@
    return Status;
 }
 
+
+NTSTATUS
+STDCALL
+PoQueueShutdownWorkItem(
+	IN PWORK_QUEUE_ITEM WorkItem
+	)
+{
+  PAGED_CODE();
+  
+  DPRINT1("PoQueueShutdownWorkItem(%p)\n", WorkItem);
+
+  return STATUS_NOT_IMPLEMENTED;
+}
+
+
 /* EOF */