Some formating and debug output changes based on cc branch.

svn path=/trunk/; revision=25324
This commit is contained in:
Maarten Bosma 2007-01-06 02:34:58 +00:00
parent a384da8a87
commit 0456489590

View file

@ -338,7 +338,7 @@ MmGetPageEntrySectionSegment(PMM_SECTION_SEGMENT Segment,
ULONG DirectoryOffset;
ULONG TableOffset;
DPRINT("MmGetPageEntrySection(Offset %x)\n", Offset);
DPRINT("MmGetPageEntrySection(Segment %x, Offset %x)\n", Segment, Offset);
if (Segment->Length <= NR_SECTION_PAGE_TABLES * PAGE_SIZE)
{
@ -855,7 +855,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
1);
if (!NT_SUCCESS(Status))
{
DbgPrint("Unable to create virtual mapping\n");
DPRINT1("Unable to create virtual mapping\n");
KEBUGCHECK(0);
}
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
@ -1084,7 +1084,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
Entry1 = MmGetPageEntrySectionSegment(Segment, Offset);
if (Entry != Entry1)
{
DbgPrint("Someone changed ppte entry while we slept\n");
DPRINT1("Someone changed ppte entry while we slept\n");
KEBUGCHECK(0);
}
@ -1103,7 +1103,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
1);
if (!NT_SUCCESS(Status))
{
DbgPrint("Unable to create virtual mapping\n");
DPRINT1("Unable to create virtual mapping\n");
KEBUGCHECK(0);
}
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
@ -1155,7 +1155,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
Entry1 = MmGetPageEntrySectionSegment(Segment, Offset);
if (Entry != Entry1)
{
DbgPrint("Someone changed ppte entry while we slept\n");
DPRINT1("Someone changed ppte entry while we slept\n");
KEBUGCHECK(0);
}
@ -1178,7 +1178,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
1);
if (!NT_SUCCESS(Status))
{
DbgPrint("Unable to create virtual mapping\n");
DPRINT1("Unable to create virtual mapping\n");
KEBUGCHECK(0);
}
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
@ -1210,7 +1210,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
1);
if (!NT_SUCCESS(Status))
{
DbgPrint("Unable to create virtual mapping\n");
DPRINT1("Unable to create virtual mapping\n");
KEBUGCHECK(0);
}
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
@ -1375,7 +1375,7 @@ MmAccessFaultSectionView(PMADDRESS_SPACE AddressSpace,
}
if (!NT_SUCCESS(Status))
{
DbgPrint("Unable to create virtual mapping\n");
DPRINT1("Unable to create virtual mapping\n");
KEBUGCHECK(0);
}
if (Locked)
@ -2234,7 +2234,7 @@ MmCreatePhysicalMemorySection(VOID)
NULL);
if (!NT_SUCCESS(Status))
{
DbgPrint("Failed to create PhysicalMemory section\n");
DPRINT1("Failed to create PhysicalMemory section\n");
KEBUGCHECK(0);
}
Status = ObInsertObject(PhysSection,
@ -4417,7 +4417,7 @@ MmAllocateSection (IN ULONG Length, PVOID BaseAddress)
Status = MmRequestPageMemoryConsumer(MC_NPPOOL, TRUE, &Page);
if (!NT_SUCCESS(Status))
{
DbgPrint("Unable to allocate page\n");
DPRINT1("Unable to allocate page\n");
KEBUGCHECK(0);
}
Status = MmCreateVirtualMapping (NULL,
@ -4427,7 +4427,7 @@ MmAllocateSection (IN ULONG Length, PVOID BaseAddress)
1);
if (!NT_SUCCESS(Status))
{
DbgPrint("Unable to create virtual mapping\n");
DPRINT1("Unable to create virtual mapping\n");
KEBUGCHECK(0);
}
}