Author: janderwald
Date: Fri Sep 25 19:26:33 2009
New Revision: 43146
URL:
http://svn.reactos.org/svn/reactos?rev=43146&view=rev
Log:
[KS]
- Silent debug traces
- Try fix 'Assertion 'WorkItem->List.Flink == NULL' failed at
ntoskrnl\ex\work.c'
Modified:
trunk/reactos/drivers/ksfilter/ks/api.c
trunk/reactos/drivers/ksfilter/ks/irp.c
trunk/reactos/drivers/ksfilter/ks/worker.c
Modified: trunk/reactos/drivers/ksfilter/ks/api.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/api.c?…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/api.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/api.c [iso-8859-1] Fri Sep 25 19:26:33 2009
@@ -719,7 +719,7 @@
{
PKSIOBJECT_HEADER ObjectHeader = (PKSIOBJECT_HEADER) Header;
- DPRINT1("KsFreeObjectHeader Header %p Class %wZ\n", Header,
&ObjectHeader->ObjectClass);
+ DPRINT("KsFreeObjectHeader Header %p Class %wZ\n", Header,
&ObjectHeader->ObjectClass);
if (ObjectHeader->ObjectClass.Buffer)
{
@@ -804,7 +804,7 @@
Header = (PKSIDEVICE_HEADER)DevHeader;
- DPRINT1("KsAddObjectCreateItemToDeviceHeader entered\n");
+ DPRINT("KsAddObjectCreateItemToDeviceHeader entered\n");
/* check if a device header has been provided */
if (!DevHeader)
@@ -848,7 +848,7 @@
Header = (PKSIOBJECT_HEADER)ObjectHeader;
- DPRINT1("KsAddObjectCreateItemToDeviceHeader entered\n");
+ DPRINT("KsAddObjectCreateItemToDeviceHeader entered\n");
/* check if a device header has been provided */
if (!Header)
@@ -1377,7 +1377,7 @@
DriverObjectExtension =
(PKO_DRIVER_EXTENSION)IoGetDriverObjectExtension(DeviceObject->DriverObject,
(PVOID)KoDriverInitialize);
if (!DriverObjectExtension)
{
- DPRINT1("FileObject not attached!\n");
+ DPRINT1("No DriverObjectExtension!\n");
Status = STATUS_UNSUCCESSFUL;
goto cleanup;
}
Modified: trunk/reactos/drivers/ksfilter/ks/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/irp.c?…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] Fri Sep 25 19:26:33 2009
@@ -1742,7 +1742,7 @@
ASSERT(CreateItemEntry->CreateItem->ObjectClass.Buffer);
- DPRINT1("CreateItem %S Length %u Request %S %u\n",
CreateItemEntry->CreateItem->ObjectClass.Buffer,
+ DPRINT("CreateItem %S Length %u Request %S %u\n",
CreateItemEntry->CreateItem->ObjectClass.Buffer,
CreateItemEntry->CreateItem->ObjectClass.Length,
Buffer,
BufferSize);
Modified: trunk/reactos/drivers/ksfilter/ks/worker.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/worker…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/worker.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/worker.c [iso-8859-1] Fri Sep 25 19:26:33 2009
@@ -272,7 +272,7 @@
/* clear event */
KeClearEvent(&KsWorker->Event);
/* it is, queue it */
- ExQueueWorkItem(WorkItem, KsWorker->Type);
+ ExQueueWorkItem(&KsWorker->WorkItem, KsWorker->Type);
}
/* release lock */
KeReleaseSpinLock(&KsWorker->Lock, OldIrql);