mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Downgrade various debug prints from DPRINT1 to DPRINT, ranging from "useless" to "pretty useless".
svn path=/trunk/; revision=43523
This commit is contained in:
parent
2def6506a9
commit
b3f7a6bd5f
11 changed files with 16 additions and 18 deletions
|
@ -81,7 +81,7 @@ InstallDriver(
|
|||
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 @@ EventThread(IN LPVOID lpParameter)
|
|||
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
|
||||
|
|
|
@ -474,7 +474,6 @@ NTAPI
|
|||
KdDebuggerInitialize0(
|
||||
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
@ -486,7 +485,6 @@ NTAPI
|
|||
KdDebuggerInitialize1(
|
||||
IN PLOADER_PARAMETER_BLOCK LoaderBlock OPTIONAL)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
|
|
@ -2308,7 +2308,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
|||
PCHAR BootDeviceName, CommandLine;
|
||||
PDEVICE_OBJECT PhysicalDeviceObject = NULL;
|
||||
NTSTATUS Status;
|
||||
DPRINT1("RAM Disk Driver Initialized\n");
|
||||
DPRINT("RAM Disk Driver Initialized\n");
|
||||
|
||||
//
|
||||
// Query ramdisk parameters
|
||||
|
|
|
@ -888,7 +888,7 @@ IoRegisterDeviceInterface(IN PDEVICE_OBJECT PhysicalDeviceObject,
|
|||
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 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
|
|||
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 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
|
|||
|
||||
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 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
|
|||
(PVOID)SymbolicLinkName);
|
||||
|
||||
ObDereferenceObject(FileObject);
|
||||
DPRINT1("Status %x\n", Status);
|
||||
DPRINT("Status %x\n", Status);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ KiInitMachineDependent(VOID)
|
|||
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 */
|
||||
|
|
|
@ -21,7 +21,7 @@ NTAPI
|
|||
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 @@ NTAPI
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -59,5 +59,5 @@ NTAPI
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -4810,7 +4810,7 @@ MmCanFileBeTruncated (IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
|
|||
/* 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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ VOID
|
|||
NTAPI
|
||||
Ki386VdmEnablePentiumExtentions(VOID)
|
||||
{
|
||||
DPRINT1("VME detected but not yet supported\n");
|
||||
DPRINT("VME detected but not yet supported\n");
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
|
@ -881,7 +881,7 @@ RawInputThreadMain(PVOID StartContext)
|
|||
}
|
||||
|
||||
ptiRawInput = PsGetCurrentThreadWin32Thread();
|
||||
DPRINT1("\nRaw Input Thread 0x%x \n", ptiRawInput);
|
||||
DPRINT("\nRaw Input Thread 0x%x \n", ptiRawInput);
|
||||
|
||||
|
||||
KeSetPriorityThread(&PsGetCurrentThread()->Tcb,
|
||||
|
|
|
@ -136,8 +136,8 @@ NtUserInitialize(
|
|||
{
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue