mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 03:03:13 +00:00
[REACTOS] Fix some instances of DPRINTs with trailing whitespace before newlines.
This commit is contained in:
parent
d6c8fe7c37
commit
9b1edceae1
27 changed files with 136 additions and 136 deletions
|
@ -324,7 +324,7 @@ MempSetupPaging(IN PFN_NUMBER StartPage,
|
||||||
|
|
||||||
if (KernelMapping)
|
if (KernelMapping)
|
||||||
{
|
{
|
||||||
if (KernelPT[Page & 0x3ff].Valid) WARN("xxx already mapped \n");
|
if (KernelPT[Page & 0x3ff].Valid) WARN("KernelPT already mapped\n");
|
||||||
KernelPT[Page & 0x3ff].PageFrameNumber = Page;
|
KernelPT[Page & 0x3ff].PageFrameNumber = Page;
|
||||||
KernelPT[Page & 0x3ff].Valid = (Page != 0);
|
KernelPT[Page & 0x3ff].Valid = (Page != 0);
|
||||||
KernelPT[Page & 0x3ff].Write = (Page != 0);
|
KernelPT[Page & 0x3ff].Write = (Page != 0);
|
||||||
|
|
|
@ -331,7 +331,7 @@ RtlpDphAllocateVm(PVOID *Base, SIZE_T Size, ULONG Type, ULONG Protection)
|
||||||
_InterlockedIncrement(&RtlpDphCounter);
|
_InterlockedIncrement(&RtlpDphCounter);
|
||||||
if (RtlpDphBreakOptions & DPH_BREAK_ON_RESERVE_FAIL)
|
if (RtlpDphBreakOptions & DPH_BREAK_ON_RESERVE_FAIL)
|
||||||
{
|
{
|
||||||
DPRINT1("Page heap: AllocVm (%p, %Ix, %x) failed with %x \n", Base, Size, Type, Status);
|
DPRINT1("Page heap: AllocVm (%p, %Ix, %lx) failed with %lx\n", Base, Size, Type, Status);
|
||||||
DbgBreakPoint();
|
DbgBreakPoint();
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@ -341,7 +341,7 @@ RtlpDphAllocateVm(PVOID *Base, SIZE_T Size, ULONG Type, ULONG Protection)
|
||||||
_InterlockedIncrement(&RtlpDphAllocFails);
|
_InterlockedIncrement(&RtlpDphAllocFails);
|
||||||
if (RtlpDphBreakOptions & DPH_BREAK_ON_COMMIT_FAIL)
|
if (RtlpDphBreakOptions & DPH_BREAK_ON_COMMIT_FAIL)
|
||||||
{
|
{
|
||||||
DPRINT1("Page heap: AllocVm (%p, %Ix, %x) failed with %x \n", Base, Size, Type, Status);
|
DPRINT1("Page heap: AllocVm (%p, %Ix, %lx) failed with %lx\n", Base, Size, Type, Status);
|
||||||
DbgBreakPoint();
|
DbgBreakPoint();
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@ -358,7 +358,7 @@ RtlpDphFreeVm(PVOID Base, SIZE_T Size, ULONG Type)
|
||||||
|
|
||||||
/* Free the memory */
|
/* Free the memory */
|
||||||
Status = RtlpSecMemFreeVirtualMemory(NtCurrentProcess(), &Base, &Size, Type);
|
Status = RtlpSecMemFreeVirtualMemory(NtCurrentProcess(), &Base, &Size, Type);
|
||||||
DPRINT("Page heap: FreeVm (%p, %Ix, %x) status %x \n", Base, Size, Type, Status);
|
DPRINT("Page heap: FreeVm (%p, %Ix, %lx) status %lx\n", Base, Size, Type, Status);
|
||||||
/* Log/report failures */
|
/* Log/report failures */
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
@ -367,7 +367,7 @@ RtlpDphFreeVm(PVOID Base, SIZE_T Size, ULONG Type)
|
||||||
_InterlockedIncrement(&RtlpDphReleaseFails);
|
_InterlockedIncrement(&RtlpDphReleaseFails);
|
||||||
if (RtlpDphBreakOptions & DPH_BREAK_ON_RELEASE_FAIL)
|
if (RtlpDphBreakOptions & DPH_BREAK_ON_RELEASE_FAIL)
|
||||||
{
|
{
|
||||||
DPRINT1("Page heap: FreeVm (%p, %Ix, %x) failed with %x \n", Base, Size, Type, Status);
|
DPRINT1("Page heap: FreeVm (%p, %Ix, %lx) failed with %lx\n", Base, Size, Type, Status);
|
||||||
DbgBreakPoint();
|
DbgBreakPoint();
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@ -377,7 +377,7 @@ RtlpDphFreeVm(PVOID Base, SIZE_T Size, ULONG Type)
|
||||||
_InterlockedIncrement(&RtlpDphFreeFails);
|
_InterlockedIncrement(&RtlpDphFreeFails);
|
||||||
if (RtlpDphBreakOptions & DPH_BREAK_ON_FREE_FAIL)
|
if (RtlpDphBreakOptions & DPH_BREAK_ON_FREE_FAIL)
|
||||||
{
|
{
|
||||||
DPRINT1("Page heap: FreeVm (%p, %Ix, %x) failed with %x \n", Base, Size, Type, Status);
|
DPRINT1("Page heap: FreeVm (%p, %Ix, %lx) failed with %lx\n", Base, Size, Type, Status);
|
||||||
DbgBreakPoint();
|
DbgBreakPoint();
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@ -402,7 +402,7 @@ RtlpDphProtectVm(PVOID Base, SIZE_T Size, ULONG Protection)
|
||||||
_InterlockedIncrement(&RtlpDphProtectFails);
|
_InterlockedIncrement(&RtlpDphProtectFails);
|
||||||
if (RtlpDphBreakOptions & DPH_BREAK_ON_PROTECT_FAIL)
|
if (RtlpDphBreakOptions & DPH_BREAK_ON_PROTECT_FAIL)
|
||||||
{
|
{
|
||||||
DPRINT1("Page heap: ProtectVm (%p, %Ix, %x) failed with %x \n", Base, Size, Protection, Status);
|
DPRINT1("Page heap: ProtectVm (%p, %Ix, %lx) failed with %lx\n", Base, Size, Protection, Status);
|
||||||
DbgBreakPoint();
|
DbgBreakPoint();
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue