Author: sginsberg
Date: Sat Oct 17 00:03:38 2009
New Revision: 43523
URL:
http://svn.reactos.org/svn/reactos?rev=43523&view=rev
Log:
Downgrade various debug prints from DPRINT1 to DPRINT, ranging from "useless" to
"pretty useless".
Modified:
trunk/reactos/base/setup/usetup/interface/devinst.c
trunk/reactos/drivers/base/kdcom/i386/kdbg.c
trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c
trunk/reactos/ntoskrnl/io/iomgr/deviface.c
trunk/reactos/ntoskrnl/ke/i386/kiinit.c
trunk/reactos/ntoskrnl/ke/i386/mtrr.c
trunk/reactos/ntoskrnl/ke/i386/patpge.c
trunk/reactos/ntoskrnl/mm/section.c
trunk/reactos/ntoskrnl/vdm/vdmmain.c
trunk/reactos/subsystems/win32/win32k/ntuser/input.c
trunk/reactos/subsystems/win32/win32k/ntuser/ntuser.c
Modified: trunk/reactos/base/setup/usetup/interface/devinst.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/devinst.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/devinst.c [iso-8859-1] Sat Oct 17 00:03:38
2009
@@ -81,7 +81,7 @@
RtlCopyMemory(FullImagePath, PathPrefix.Buffer, PathPrefix.MaximumLength);
wcscat(FullImagePath, ImagePath);
- DPRINT1("Using driver '%S' for device '%S'\n", ImagePath,
DeviceId);
+ DPRINT("Using driver '%S' for device '%S'\n", ImagePath,
DeviceId);
/* Create service key */
RtlInitUnicodeString(&StringU, Driver);
@@ -368,7 +368,7 @@
DPRINT("Received PnP Event\n");
if (IsEqualIID(&PnpEvent->EventGuid,
(REFGUID)&GUID_DEVICE_ENUMERATED))
{
- DPRINT1("Device arrival event: %S\n",
PnpEvent->TargetDevice.DeviceIds);
+ DPRINT("Device arrival event: %S\n",
PnpEvent->TargetDevice.DeviceIds);
InstallDevice(hInf, hEnum, hServices, PnpEvent->TargetDevice.DeviceIds);
}
else
Modified: trunk/reactos/drivers/base/kdcom/i386/kdbg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kdcom/i386/kd…
==============================================================================
--- trunk/reactos/drivers/base/kdcom/i386/kdbg.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/kdcom/i386/kdbg.c [iso-8859-1] Sat Oct 17 00:03:38 2009
@@ -474,7 +474,6 @@
KdDebuggerInitialize0(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{
- UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
@@ -486,7 +485,6 @@
KdDebuggerInitialize1(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{
- UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED;
}
Modified: trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/ramd…
==============================================================================
--- trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/ramdisk/ramdisk.c [iso-8859-1] Sat Oct 17 00:03:38
2009
@@ -2308,7 +2308,7 @@
PCHAR BootDeviceName, CommandLine;
PDEVICE_OBJECT PhysicalDeviceObject = NULL;
NTSTATUS Status;
- DPRINT1("RAM Disk Driver Initialized\n");
+ DPRINT("RAM Disk Driver Initialized\n");
//
// Query ramdisk parameters
Modified: trunk/reactos/ntoskrnl/io/iomgr/deviface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/deviface…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/deviface.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/deviface.c [iso-8859-1] Sat Oct 17 00:03:38 2009
@@ -888,7 +888,7 @@
SymbolicLinkName->Buffer[SymbolicLinkName->Length/sizeof(WCHAR)] =
L'\0';
/* Create symbolic link */
- DPRINT1("IoRegisterDeviceInterface(): creating symbolic link %wZ ->
%wZ\n", SymbolicLinkName, &PdoNameInfo->Name);
+ DPRINT("IoRegisterDeviceInterface(): creating symbolic link %wZ ->
%wZ\n", SymbolicLinkName, &PdoNameInfo->Name);
Status = IoCreateSymbolicLink(SymbolicLinkName, &PdoNameInfo->Name);
if (!NT_SUCCESS(Status) && ReferenceString == NULL)
{
@@ -977,7 +977,7 @@
if (SymbolicLinkName == NULL)
return STATUS_INVALID_PARAMETER_1;
- DPRINT1("IoSetDeviceInterfaceState('%wZ', %d)\n", SymbolicLinkName,
Enable);
+ DPRINT("IoSetDeviceInterfaceState('%wZ', %d)\n", SymbolicLinkName,
Enable);
/* Symbolic link name is \??\ACPI#PNP0501#1#{GUID}\ReferenceString */
/* Get GUID from SymbolicLinkName */
@@ -993,7 +993,7 @@
SymLink.Buffer = SymbolicLinkName->Buffer;
SymLink.MaximumLength = SymLink.Length = (USHORT)((ULONG_PTR)(EndPosition + 1) -
(ULONG_PTR)SymLink.Buffer);
- DPRINT1("IoSetDeviceInterfaceState('%wZ', %d)\n", SymbolicLinkName,
Enable);
+ DPRINT("IoSetDeviceInterfaceState('%wZ', %d)\n", SymbolicLinkName,
Enable);
/* Get pointer to the PDO */
Status = IoGetDeviceObjectPointer(
&SymLink,
@@ -1015,7 +1015,7 @@
(PVOID)SymbolicLinkName);
ObDereferenceObject(FileObject);
-DPRINT1("Status %x\n", Status);
+ DPRINT("Status %x\n", Status);
return STATUS_SUCCESS;
}
Modified: trunk/reactos/ntoskrnl/ke/i386/kiinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/kiinit.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/kiinit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/kiinit.c [iso-8859-1] Sat Oct 17 00:03:38 2009
@@ -40,7 +40,7 @@
if (KeFeatureBits & KF_LARGE_PAGE)
{
/* FIXME: Support this */
- DPRINT1("Large Page support detected but not yet taken advantage
of!\n");
+ DPRINT("Large Page support detected but not yet taken advantage
of!\n");
}
/* Check for global page support */
Modified: trunk/reactos/ntoskrnl/ke/i386/mtrr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/mtrr.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/mtrr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/mtrr.c [iso-8859-1] Sat Oct 17 00:03:38 2009
@@ -21,7 +21,7 @@
KiInitializeMTRR(IN BOOLEAN FinalCpu)
{
/* FIXME: Support this */
- DPRINT1("Your machine supports MTRR but ReactOS doesn't yet.\n");
+ DPRINT("Your machine supports MTRR but ReactOS doesn't yet.\n");
}
VOID
@@ -29,5 +29,5 @@
KiAmdK6InitializeMTRR(VOID)
{
/* FIXME: Support this */
- DPRINT1("Your machine supports AMD MTRR but ReactOS doesn't yet.\n");
+ DPRINT("Your machine supports AMD MTRR but ReactOS doesn't yet.\n");
}
Modified: trunk/reactos/ntoskrnl/ke/i386/patpge.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/patpge.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/patpge.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/patpge.c [iso-8859-1] Sat Oct 17 00:03:38 2009
@@ -59,5 +59,5 @@
KiInitializePAT(VOID)
{
/* FIXME: Support this */
- DPRINT1("Advanced Memory features detected but not yet taken advantage
of.\n");
+ DPRINT("Advanced Memory features detected but not yet taken advantage
of.\n");
}
Modified: trunk/reactos/ntoskrnl/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Sat Oct 17 00:03:38 2009
@@ -4810,7 +4810,7 @@
/* Something must gone wrong
* how can we have a Section but no
* reference? */
- DPRINT1("ERROR: DataSectionObject without reference!\n");
+ DPRINT("ERROR: DataSectionObject without reference!\n");
}
}
Modified: trunk/reactos/ntoskrnl/vdm/vdmmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/vdm/vdmmain.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/vdm/vdmmain.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/vdm/vdmmain.c [iso-8859-1] Sat Oct 17 00:03:38 2009
@@ -22,7 +22,7 @@
NTAPI
Ki386VdmEnablePentiumExtentions(VOID)
{
- DPRINT1("VME detected but not yet supported\n");
+ DPRINT("VME detected but not yet supported\n");
}
VOID
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/input.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/input.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/input.c [iso-8859-1] Sat Oct 17 00:03:38
2009
@@ -881,7 +881,7 @@
}
ptiRawInput = PsGetCurrentThreadWin32Thread();
- DPRINT1("\nRaw Input Thread 0x%x \n", ptiRawInput);
+ DPRINT("\nRaw Input Thread 0x%x \n", ptiRawInput);
KeSetPriorityThread(&PsGetCurrentThread()->Tcb,
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/ntuser.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/ntuser.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntuser.c [iso-8859-1] Sat Oct 17 00:03:38
2009
@@ -136,8 +136,8 @@
{
NTSTATUS Status;
- DPRINT1("Enter NtUserInitialize(%lx, %p, %p)\n",
- dwWinVersion, hPowerRequestEvent, hMediaRequestEvent);
+ DPRINT("Enter NtUserInitialize(%lx, %p, %p)\n",
+ dwWinVersion, hPowerRequestEvent, hMediaRequestEvent);
/* Check the Windows version */
if (dwWinVersion != 0)