From: John Hodge Date: Mon, 21 Sep 2009 11:00:06 +0000 (+0800) Subject: Removed debug from MM_PageFault and binary.c X-Git-Tag: rel0.06~549 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4e56efaa4612209e7c1da6114a8ed72a55b8425f;p=tpg%2Facess2.git Removed debug from MM_PageFault and binary.c --- diff --git a/Kernel/arch/x86/mm_virt.c b/Kernel/arch/x86/mm_virt.c index 6fa491b8..b03d8473 100644 --- a/Kernel/arch/x86/mm_virt.c +++ b/Kernel/arch/x86/mm_virt.c @@ -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('-'); } /** diff --git a/Kernel/binary.c b/Kernel/binary.c index 7175799b..46d086c0 100644 --- a/Kernel/binary.c +++ b/Kernel/binary.c @@ -5,7 +5,7 @@ #include #include -#define DEBUG 1 +#define DEBUG 0 #if DEBUG #else