Author: cgutman
Date: Sat Oct 1 04:56:14 2011
New Revision: 53912
URL:
http://svn.reactos.org/svn/reactos?rev=53912&view=rev
Log:
[NTOSKRNL]
- Add more debugging during driver loading (not enabled by default)
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] Sat Oct 1 04:56:14 2011
@@ -239,6 +239,8 @@
{
UNICODE_STRING InputImagePath;
+ DPRINT("Normalizing image path '%wZ' for service '%wZ'\n",
ImagePath, ServiceName);
+
RtlCopyMemory(
&InputImagePath,
ImagePath,
@@ -272,6 +274,8 @@
/* Free caller's string */
ExFreePoolWithTag(InputImagePath.Buffer, TAG_RTLREGISTRY);
}
+
+ DPRINT("Normalized image path is '%wZ' for service '%wZ'\n",
ImagePath, ServiceName);
return STATUS_SUCCESS;
}
@@ -394,7 +398,7 @@
}
else
{
- DPRINT("Loading module\n");
+ DPRINT("Loading module from %wZ\n", &ServiceImagePath);
Status = MmLoadSystemImage(&ServiceImagePath, NULL, NULL, 0,
(PVOID)ModuleObject, &BaseAddress);
if (NT_SUCCESS(Status))
{
@@ -1897,6 +1901,7 @@
* Load the driver module
*/
+ DPRINT("Loading module from %wZ\n", &ImagePath);
Status = MmLoadSystemImage(&ImagePath, NULL, NULL, 0,
(PVOID)&ModuleObject, &BaseAddress);
if (!NT_SUCCESS(Status) && Status != STATUS_IMAGE_ALREADY_LOADED)