From 9f8802a889e7bc35d02a540b5cff05bdba38ae79 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 12 Dec 2007 21:15:17 +0000 Subject: [PATCH] - Silence memory descriptors output, since it works good now. - Silence pci.sys's debugging message. svn path=/trunk/; revision=31186 --- reactos/drivers/bus/pci/fdo.c | 2 +- reactos/ntoskrnl/mm/mminit.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/drivers/bus/pci/fdo.c b/reactos/drivers/bus/pci/fdo.c index 7752bc43e87..e92a2943d05 100644 --- a/reactos/drivers/bus/pci/fdo.c +++ b/reactos/drivers/bus/pci/fdo.c @@ -399,7 +399,7 @@ FdoStartDevice( 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 */ diff --git a/reactos/ntoskrnl/mm/mminit.c b/reactos/ntoskrnl/mm/mminit.c index 6429c219331..efa8f441fa2 100644 --- a/reactos/ntoskrnl/mm/mminit.c +++ b/reactos/ntoskrnl/mm/mminit.c @@ -263,17 +263,17 @@ MmInit1(ULONG_PTR FirstKrnlPhysAddr, 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 */