- Add #ifdef DEBUG / #endif to fix compile. FreeLdr's debug macros needs some improvement in the future...

svn path=/trunk/; revision=24410
This commit is contained in:
Aleksey Bragin 2006-10-05 09:15:44 +00:00
parent 5162751ab3
commit 3727f8fc7d

View file

@ -491,6 +491,7 @@ WinLdrTurnOnPaging(IN OUT PLOADER_PARAMETER_BLOCK LoaderBlock,
DbgPrint((DPRINT_WINDOWS, "Memory Descriptor List prepared, printing PDE\n"));
List_PaToVa(&LoaderBlock->MemoryDescriptorListHead);
#if DEBUG
{
ULONG *PDE_Addr=(ULONG *)PDE;//0xC0300000;
int j;
@ -509,6 +510,7 @@ WinLdrTurnOnPaging(IN OUT PLOADER_PARAMETER_BLOCK LoaderBlock,
DbgPrint((DPRINT_WINDOWS, "\n"));
}
}
#endif
// Enable paging