Author: fireball
Date: Thu Dec 13 00:15:17 2007
New Revision: 31186
URL:
http://svn.reactos.org/svn/reactos?rev=31186&view=rev
Log:
- Silence memory descriptors output, since it works good now.
- Silence pci.sys's debugging message.
Modified:
trunk/reactos/drivers/bus/pci/fdo.c
trunk/reactos/ntoskrnl/mm/mminit.c
Modified: trunk/reactos/drivers/bus/pci/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pci/fdo.c?rev=…
==============================================================================
--- trunk/reactos/drivers/bus/pci/fdo.c (original)
+++ trunk/reactos/drivers/bus/pci/fdo.c Thu Dec 13 00:15:17 2007
@@ -399,7 +399,7 @@
break;
}
default:
- DPRINT1("Unknown resource descriptor type 0x%x\n",
ResourceDescriptor->Type);
+ DPRINT("Unknown resource descriptor type 0x%x\n",
ResourceDescriptor->Type);
}
}
/* HACK due to a bug in ACPI driver, which doesn't report the bus number */
Modified: trunk/reactos/ntoskrnl/mm/mminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mminit.c?rev=3…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/mminit.c (original)
+++ trunk/reactos/ntoskrnl/mm/mminit.c Thu Dec 13 00:15:17 2007
@@ -263,17 +263,17 @@
PMEMORY_ALLOCATION_DESCRIPTOR Md;
ULONG TotalPages = 0;
- DPRINT1("Base\t\tLength\t\tType\n");
+ DPRINT("Base\t\tLength\t\tType\n");
for (NextEntry = KeLoaderBlock->MemoryDescriptorListHead.Flink;
NextEntry != &KeLoaderBlock->MemoryDescriptorListHead;
NextEntry = NextEntry->Flink)
{
Md = CONTAINING_RECORD(NextEntry, MEMORY_ALLOCATION_DESCRIPTOR, ListEntry);
- DPRINT1("%08lX\t%08lX\t%s\n", Md->BasePage, Md->PageCount,
MemType[Md->MemoryType]);
+ DPRINT("%08lX\t%08lX\t%s\n", Md->BasePage, Md->PageCount,
MemType[Md->MemoryType]);
TotalPages += Md->PageCount;
}
- DPRINT1("Total: %08lX (%d MB)\n", TotalPages, (TotalPages * PAGE_SIZE)
/ 1024 / 1024);
+ DPRINT("Total: %08lX (%d MB)\n", TotalPages, (TotalPages * PAGE_SIZE) /
1024 / 1024);
}
/* Set the page directory */