[NTOSKRNL]

* Silence some debug prints.

svn path=/trunk/; revision=60043
This commit is contained in:
Amine Khaldi 2013-09-11 19:59:59 +00:00
parent 29cacf4e53
commit c433d59c31
5 changed files with 11 additions and 11 deletions

View file

@ -1008,9 +1008,9 @@ InitializePool(IN POOL_TYPE PoolType,
//
// During development, print this out so we can see what's happening
//
DPRINT1("EXPOOL: Pool Tracker Table at: 0x%p with 0x%lx bytes\n",
DPRINT("EXPOOL: Pool Tracker Table at: 0x%p with 0x%lx bytes\n",
PoolTrackTable, PoolTrackTableSize * sizeof(POOL_TRACKER_TABLE));
DPRINT1("EXPOOL: Big Pool Tracker Table at: 0x%p with 0x%lx bytes\n",
DPRINT("EXPOOL: Big Pool Tracker Table at: 0x%p with 0x%lx bytes\n",
PoolBigPageTable, PoolBigPageTableSize * sizeof(POOL_TRACKER_BIG_PAGES));
//

View file

@ -1180,7 +1180,7 @@ MmFreeLoaderBlock(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
}
/* Release the PFN lock and flush the TLB */
DPRINT1("Loader pages freed: %lx\n", LoaderPages);
DPRINT("Loader pages freed: %lx\n", LoaderPages);
KeReleaseQueuedSpinLock(LockQueuePfnLock, OldIrql);
KeFlushCurrentTb();

View file

@ -56,7 +56,7 @@ MiCheckForUserStackOverflow(IN PVOID Address,
StackBase = Teb->NtTib.StackBase;
DeallocationStack = Teb->DeallocationStack;
GuranteedSize = Teb->GuaranteedStackBytes;
DPRINT1("Handling guard page fault with Stacks Addresses 0x%p and 0x%p, guarantee: %lx\n",
DPRINT("Handling guard page fault with Stacks Addresses 0x%p and 0x%p, guarantee: %lx\n",
StackBase, DeallocationStack, GuranteedSize);
/* Guarantees make this code harder, for now, assume there aren't any */
@ -101,7 +101,7 @@ MiCheckForUserStackOverflow(IN PVOID Address,
if ((NT_SUCCESS(Status) || (Status == STATUS_ALREADY_COMMITTED)))
{
/* We did it! */
DPRINT1("Guard page handled successfully for %p\n", Address);
DPRINT("Guard page handled successfully for %p\n", Address);
return STATUS_PAGE_FAULT_GUARD_PAGE;
}

View file

@ -482,7 +482,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
// Get the page bit count
//
i = ((SizeInPages - 1) / PTE_COUNT) + 1;
DPRINT1("Paged pool expansion: %lu %x\n", i, SizeInPages);
DPRINT("Paged pool expansion: %lu %x\n", i, SizeInPages);
//
// Check if there is enougn paged pool expansion space left

View file

@ -264,11 +264,11 @@ PopAddRemoveSysCapsCallback(IN PVOID NotificationStructure,
/* FIXME: What do do with the capabilities? */
{
DPRINT1("Device capabilities: 0x%x (", Caps);
if (Caps & SYS_BUTTON_POWER) DbgPrint(" POWER");
if (Caps & SYS_BUTTON_SLEEP) DbgPrint(" SLEEP");
if (Caps & SYS_BUTTON_LID) DbgPrint(" LID");
DbgPrint(" )\n");
DPRINT("Device capabilities: 0x%x (", Caps);
if (Caps & SYS_BUTTON_POWER) DPRINT(" POWER");
if (Caps & SYS_BUTTON_SLEEP) DPRINT(" SLEEP");
if (Caps & SYS_BUTTON_LID) DPRINT(" LID");
DPRINT(" )\n");
}
SysButtonContext = ExAllocatePool(NonPagedPool, sizeof(SYS_BUTTON_CONTEXT));