mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 03:41:46 +00:00
Some formating and debug output changes based on cc branch.
svn path=/trunk/; revision=25324
This commit is contained in:
parent
a384da8a87
commit
0456489590
1 changed files with 59 additions and 59 deletions
|
@ -338,7 +338,7 @@ MmGetPageEntrySectionSegment(PMM_SECTION_SEGMENT Segment,
|
||||||
ULONG DirectoryOffset;
|
ULONG DirectoryOffset;
|
||||||
ULONG TableOffset;
|
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)
|
if (Segment->Length <= NR_SECTION_PAGE_TABLES * PAGE_SIZE)
|
||||||
{
|
{
|
||||||
|
@ -855,7 +855,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
|
||||||
1);
|
1);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Unable to create virtual mapping\n");
|
DPRINT1("Unable to create virtual mapping\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
||||||
|
@ -1084,7 +1084,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
|
||||||
Entry1 = MmGetPageEntrySectionSegment(Segment, Offset);
|
Entry1 = MmGetPageEntrySectionSegment(Segment, Offset);
|
||||||
if (Entry != Entry1)
|
if (Entry != Entry1)
|
||||||
{
|
{
|
||||||
DbgPrint("Someone changed ppte entry while we slept\n");
|
DPRINT1("Someone changed ppte entry while we slept\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1103,7 +1103,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
|
||||||
1);
|
1);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Unable to create virtual mapping\n");
|
DPRINT1("Unable to create virtual mapping\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
||||||
|
@ -1155,7 +1155,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
|
||||||
Entry1 = MmGetPageEntrySectionSegment(Segment, Offset);
|
Entry1 = MmGetPageEntrySectionSegment(Segment, Offset);
|
||||||
if (Entry != Entry1)
|
if (Entry != Entry1)
|
||||||
{
|
{
|
||||||
DbgPrint("Someone changed ppte entry while we slept\n");
|
DPRINT1("Someone changed ppte entry while we slept\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1178,7 +1178,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
|
||||||
1);
|
1);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Unable to create virtual mapping\n");
|
DPRINT1("Unable to create virtual mapping\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
||||||
|
@ -1210,7 +1210,7 @@ MmNotPresentFaultSectionView(PMADDRESS_SPACE AddressSpace,
|
||||||
1);
|
1);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Unable to create virtual mapping\n");
|
DPRINT1("Unable to create virtual mapping\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
MmInsertRmap(Page, AddressSpace->Process, (PVOID)PAddress);
|
||||||
|
@ -1375,7 +1375,7 @@ MmAccessFaultSectionView(PMADDRESS_SPACE AddressSpace,
|
||||||
}
|
}
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Unable to create virtual mapping\n");
|
DPRINT1("Unable to create virtual mapping\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
if (Locked)
|
if (Locked)
|
||||||
|
@ -2234,7 +2234,7 @@ MmCreatePhysicalMemorySection(VOID)
|
||||||
NULL);
|
NULL);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Failed to create PhysicalMemory section\n");
|
DPRINT1("Failed to create PhysicalMemory section\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
Status = ObInsertObject(PhysSection,
|
Status = ObInsertObject(PhysSection,
|
||||||
|
@ -4417,7 +4417,7 @@ MmAllocateSection (IN ULONG Length, PVOID BaseAddress)
|
||||||
Status = MmRequestPageMemoryConsumer(MC_NPPOOL, TRUE, &Page);
|
Status = MmRequestPageMemoryConsumer(MC_NPPOOL, TRUE, &Page);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Unable to allocate page\n");
|
DPRINT1("Unable to allocate page\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
Status = MmCreateVirtualMapping (NULL,
|
Status = MmCreateVirtualMapping (NULL,
|
||||||
|
@ -4427,7 +4427,7 @@ MmAllocateSection (IN ULONG Length, PVOID BaseAddress)
|
||||||
1);
|
1);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Unable to create virtual mapping\n");
|
DPRINT1("Unable to create virtual mapping\n");
|
||||||
KEBUGCHECK(0);
|
KEBUGCHECK(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue