Fixed bit arithmatic
authorJohn Hodge <[email protected]>
Sun, 27 Sep 2009 06:12:12 +0000 (14:12 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 Sep 2009 06:12:12 +0000 (14:12 +0800)
Kernel/arch/x86/mm_virt.c

index bdceb0e..2fec186 100644 (file)
@@ -161,8 +161,8 @@ void MM_DumpTables(tVAddr Start, tVAddr End)
        Start >>= 12;   End >>= 12;
        
        Log("Directory Entries:");
-       for(page = Start >> 22;
-               page < End >> 22;
+       for(page = Start >> 10;
+               page < (End >> 10)+1;
                page ++)
        {
                if(gaPageDir[page])

UCC git Repository :: git.ucc.asn.au