Removed debug from MM_PageFault and binary.c
authorJohn Hodge <tpg@portege.(none)>
Mon, 21 Sep 2009 11:00:06 +0000 (19:00 +0800)
committerJohn Hodge <tpg@portege.(none)>
Mon, 21 Sep 2009 11:00:06 +0000 (19:00 +0800)
Kernel/arch/x86/mm_virt.c
Kernel/binary.c

index 6fa491b..b03d847 100644 (file)
@@ -99,7 +99,7 @@ void MM_InstallVirtual()
  */
 void MM_PageFault(Uint Addr, Uint ErrorCode, tRegs *Regs)
 {
-       ENTER("xAddr bErrorCode", Addr, ErrorCode);
+       //ENTER("xAddr bErrorCode", Addr, ErrorCode);
        
        // -- Check for COW --
        if( gaPageDir  [Addr>>22] & PF_PRESENT
@@ -112,7 +112,7 @@ void MM_PageFault(Uint Addr, Uint ErrorCode, tRegs *Regs)
                gaPageTable[Addr>>12] &= PF_USER;
                gaPageTable[Addr>>12] |= paddr|PF_PRESENT|PF_WRITE;
                INVLPG( Addr & ~0xFFF );
-               LEAVE('-');
+               //LEAVE('-')
                return;
        }
        
@@ -136,7 +136,6 @@ void MM_PageFault(Uint Addr, Uint ErrorCode, tRegs *Regs)
        MM_DumpTables(0, -1);   
        
        Panic("Page Fault at 0x%x\n", Regs->eip);
-       LEAVE('-');
 }
 
 /**
index 7175799..46d086c 100644 (file)
@@ -5,7 +5,7 @@
 #include <common.h>\r
 #include <binary.h>\r
 \r
-#define DEBUG  1\r
+#define DEBUG  0\r
 \r
 #if DEBUG\r
 #else\r

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