sp = __SP & ~(MM_KSTACK_SIZE-1);
j = (sp / 0x1000) % 1024;
num = MM_KSTACK_SIZE/0x1000;
+
+ Log("num = %i, sp = %p, j = %i", num, sp, j);
// Copy stack pages
for(; num--; j ++, sp += 0x1000)
{
if( giMM_ZeroPage && Info->PhysAddr == giMM_ZeroPage )
{
- Log("%p => %8s - 0x%7x %i %x",
+ Debug("%p => %8s - 0x%7x %i %x",
Start, "ZERO", Len,
Info->Domain, Info->AP
);
}
else
{
- Log("%p => %8x - 0x%7x %i %x",
+ Debug("%p => %8x - 0x%7x %i %x",
Start, Info->PhysAddr-Len, Len,
Info->Domain, Info->AP
);
pi_old.Size = 0;
- Log("Page Table Dump:");
+ Debug("Page Table Dump:");
range_start = Start;
for( addr = Start; i == 0 || (addr && addr < End); i = 1 )
{
}
if(inRange)
MM_int_DumpTableEnt(range_start, addr - range_start, &pi);
- Log("Done");
+ Debug("Done");
}