From: John Hodge Date: Sun, 27 Sep 2009 07:44:59 +0000 (+0800) Subject: Disabled Debug X-Git-Tag: rel0.06~450 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=33427b31d9e6eeb8e5b76ee603429c8deb68733b;p=tpg%2Facess2.git Disabled Debug --- diff --git a/Kernel/arch/x86/mm_phys.c b/Kernel/arch/x86/mm_phys.c index acca5f5c..4c5cf20e 100644 --- a/Kernel/arch/x86/mm_phys.c +++ b/Kernel/arch/x86/mm_phys.c @@ -117,7 +117,7 @@ tPAddr MM_AllocPhys() // Release Spinlock RELEASE( &giPhysAlloc ); - LOG("Allocated 0x%x\n", ret); + //LOG("Allocated 0x%x\n", ret); //LOG("ret = %x", ret); return ret; } @@ -176,7 +176,7 @@ void MM_DerefPhys(tPAddr Addr) // Mark as free in bitmaps if( gaPageReferences[ Addr ] == 0 ) { - LOG("Freed 0x%x by %p\n", Addr<<12, __builtin_return_address(0)); + //LOG("Freed 0x%x by %p\n", Addr<<12, __builtin_return_address(0)); gaPageBitmap[ Addr / 32 ] &= ~(1 << (Addr&31)); if(gaPageReferences[ Addr ] == 0) gaSuperBitmap[ Addr >> 10 ] &= ~(1 << ((Addr >> 5)&31));