mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[NTOSKRNL]
* Silence some debug prints. svn path=/trunk/; revision=60043
This commit is contained in:
parent
29cacf4e53
commit
c433d59c31
5 changed files with 11 additions and 11 deletions
|
@ -1008,9 +1008,9 @@ InitializePool(IN POOL_TYPE PoolType,
|
||||||
//
|
//
|
||||||
// During development, print this out so we can see what's happening
|
// 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));
|
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));
|
PoolBigPageTable, PoolBigPageTableSize * sizeof(POOL_TRACKER_BIG_PAGES));
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -1180,7 +1180,7 @@ MmFreeLoaderBlock(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Release the PFN lock and flush the TLB */
|
/* 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);
|
KeReleaseQueuedSpinLock(LockQueuePfnLock, OldIrql);
|
||||||
KeFlushCurrentTb();
|
KeFlushCurrentTb();
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ MiCheckForUserStackOverflow(IN PVOID Address,
|
||||||
StackBase = Teb->NtTib.StackBase;
|
StackBase = Teb->NtTib.StackBase;
|
||||||
DeallocationStack = Teb->DeallocationStack;
|
DeallocationStack = Teb->DeallocationStack;
|
||||||
GuranteedSize = Teb->GuaranteedStackBytes;
|
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);
|
StackBase, DeallocationStack, GuranteedSize);
|
||||||
|
|
||||||
/* Guarantees make this code harder, for now, assume there aren't any */
|
/* 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)))
|
if ((NT_SUCCESS(Status) || (Status == STATUS_ALREADY_COMMITTED)))
|
||||||
{
|
{
|
||||||
/* We did it! */
|
/* 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;
|
return STATUS_PAGE_FAULT_GUARD_PAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -482,7 +482,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
||||||
// Get the page bit count
|
// Get the page bit count
|
||||||
//
|
//
|
||||||
i = ((SizeInPages - 1) / PTE_COUNT) + 1;
|
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
|
// Check if there is enougn paged pool expansion space left
|
||||||
|
|
|
@ -264,11 +264,11 @@ PopAddRemoveSysCapsCallback(IN PVOID NotificationStructure,
|
||||||
|
|
||||||
/* FIXME: What do do with the capabilities? */
|
/* FIXME: What do do with the capabilities? */
|
||||||
{
|
{
|
||||||
DPRINT1("Device capabilities: 0x%x (", Caps);
|
DPRINT("Device capabilities: 0x%x (", Caps);
|
||||||
if (Caps & SYS_BUTTON_POWER) DbgPrint(" POWER");
|
if (Caps & SYS_BUTTON_POWER) DPRINT(" POWER");
|
||||||
if (Caps & SYS_BUTTON_SLEEP) DbgPrint(" SLEEP");
|
if (Caps & SYS_BUTTON_SLEEP) DPRINT(" SLEEP");
|
||||||
if (Caps & SYS_BUTTON_LID) DbgPrint(" LID");
|
if (Caps & SYS_BUTTON_LID) DPRINT(" LID");
|
||||||
DbgPrint(" )\n");
|
DPRINT(" )\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
SysButtonContext = ExAllocatePool(NonPagedPool, sizeof(SYS_BUTTON_CONTEXT));
|
SysButtonContext = ExAllocatePool(NonPagedPool, sizeof(SYS_BUTTON_CONTEXT));
|
||||||
|
|
Loading…
Reference in a new issue