Downgrade various debug prints from DPRINT1 to DPRINT, ranging from "useless" to "pretty useless".

svn path=/trunk/; revision=43523
This commit is contained in:
Stefan Ginsberg 2009-10-16 22:03:38 +00:00
parent 2def6506a9
commit b3f7a6bd5f
11 changed files with 16 additions and 18 deletions

View file

@ -81,7 +81,7 @@ InstallDriver(
RtlCopyMemory(FullImagePath, PathPrefix.Buffer, PathPrefix.MaximumLength); RtlCopyMemory(FullImagePath, PathPrefix.Buffer, PathPrefix.MaximumLength);
wcscat(FullImagePath, ImagePath); 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 */ /* Create service key */
RtlInitUnicodeString(&StringU, Driver); RtlInitUnicodeString(&StringU, Driver);
@ -368,7 +368,7 @@ EventThread(IN LPVOID lpParameter)
DPRINT("Received PnP Event\n"); DPRINT("Received PnP Event\n");
if (IsEqualIID(&PnpEvent->EventGuid, (REFGUID)&GUID_DEVICE_ENUMERATED)) 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); InstallDevice(hInf, hEnum, hServices, PnpEvent->TargetDevice.DeviceIds);
} }
else else

View file

@ -474,7 +474,6 @@ NTAPI
KdDebuggerInitialize0( KdDebuggerInitialize0(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL) IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{ {
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
@ -486,7 +485,6 @@ NTAPI
KdDebuggerInitialize1( KdDebuggerInitialize1(
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL) IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
{ {
UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }

View file

@ -2308,7 +2308,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
PCHAR BootDeviceName, CommandLine; PCHAR BootDeviceName, CommandLine;
PDEVICE_OBJECT PhysicalDeviceObject = NULL; PDEVICE_OBJECT PhysicalDeviceObject = NULL;
NTSTATUS Status; NTSTATUS Status;
DPRINT1("RAM Disk Driver Initialized\n"); DPRINT("RAM Disk Driver Initialized\n");
// //
// Query ramdisk parameters // Query ramdisk parameters

View file

@ -888,7 +888,7 @@ IoRegisterDeviceInterface(IN PDEVICE_OBJECT PhysicalDeviceObject,
SymbolicLinkName->Buffer[SymbolicLinkName->Length/sizeof(WCHAR)] = L'\0'; SymbolicLinkName->Buffer[SymbolicLinkName->Length/sizeof(WCHAR)] = L'\0';
/* Create symbolic link */ /* 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); Status = IoCreateSymbolicLink(SymbolicLinkName, &PdoNameInfo->Name);
if (!NT_SUCCESS(Status) && ReferenceString == NULL) if (!NT_SUCCESS(Status) && ReferenceString == NULL)
{ {
@ -977,7 +977,7 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
if (SymbolicLinkName == NULL) if (SymbolicLinkName == NULL)
return STATUS_INVALID_PARAMETER_1; 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 */ /* Symbolic link name is \??\ACPI#PNP0501#1#{GUID}\ReferenceString */
/* Get GUID from SymbolicLinkName */ /* Get GUID from SymbolicLinkName */
@ -993,7 +993,7 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
SymLink.Buffer = SymbolicLinkName->Buffer; SymLink.Buffer = SymbolicLinkName->Buffer;
SymLink.MaximumLength = SymLink.Length = (USHORT)((ULONG_PTR)(EndPosition + 1) - (ULONG_PTR)SymLink.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 */ /* Get pointer to the PDO */
Status = IoGetDeviceObjectPointer( Status = IoGetDeviceObjectPointer(
&SymLink, &SymLink,
@ -1015,7 +1015,7 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
(PVOID)SymbolicLinkName); (PVOID)SymbolicLinkName);
ObDereferenceObject(FileObject); ObDereferenceObject(FileObject);
DPRINT1("Status %x\n", Status); DPRINT("Status %x\n", Status);
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }

View file

@ -40,7 +40,7 @@ KiInitMachineDependent(VOID)
if (KeFeatureBits & KF_LARGE_PAGE) if (KeFeatureBits & KF_LARGE_PAGE)
{ {
/* FIXME: Support this */ /* 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 */ /* Check for global page support */

View file

@ -21,7 +21,7 @@ NTAPI
KiInitializeMTRR(IN BOOLEAN FinalCpu) KiInitializeMTRR(IN BOOLEAN FinalCpu)
{ {
/* FIXME: Support this */ /* 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 VOID
@ -29,5 +29,5 @@ NTAPI
KiAmdK6InitializeMTRR(VOID) KiAmdK6InitializeMTRR(VOID)
{ {
/* FIXME: Support this */ /* 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");
} }

View file

@ -59,5 +59,5 @@ NTAPI
KiInitializePAT(VOID) KiInitializePAT(VOID)
{ {
/* FIXME: Support this */ /* 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");
} }

View file

@ -4810,7 +4810,7 @@ MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
/* Something must gone wrong /* Something must gone wrong
* how can we have a Section but no * how can we have a Section but no
* reference? */ * reference? */
DPRINT1("ERROR: DataSectionObject without reference!\n"); DPRINT("ERROR: DataSectionObject without reference!\n");
} }
} }

View file

@ -22,7 +22,7 @@ VOID
NTAPI NTAPI
Ki386VdmEnablePentiumExtentions(VOID) Ki386VdmEnablePentiumExtentions(VOID)
{ {
DPRINT1("VME detected but not yet supported\n"); DPRINT("VME detected but not yet supported\n");
} }
VOID VOID

View file

@ -881,7 +881,7 @@ RawInputThreadMain(PVOID StartContext)
} }
ptiRawInput = PsGetCurrentThreadWin32Thread(); ptiRawInput = PsGetCurrentThreadWin32Thread();
DPRINT1("\nRaw Input Thread 0x%x \n", ptiRawInput); DPRINT("\nRaw Input Thread 0x%x \n", ptiRawInput);
KeSetPriorityThread(&PsGetCurrentThread()->Tcb, KeSetPriorityThread(&PsGetCurrentThread()->Tcb,

View file

@ -136,8 +136,8 @@ NtUserInitialize(
{ {
NTSTATUS Status; NTSTATUS Status;
DPRINT1("Enter NtUserInitialize(%lx, %p, %p)\n", DPRINT("Enter NtUserInitialize(%lx, %p, %p)\n",
dwWinVersion, hPowerRequestEvent, hMediaRequestEvent); dwWinVersion, hPowerRequestEvent, hMediaRequestEvent);
/* Check the Windows version */ /* Check the Windows version */
if (dwWinVersion != 0) if (dwWinVersion != 0)