X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Farch%2Fx86%2Fmm_phys.c;h=4c5cf20ef2b96aeb2ff47638976a0e4912fa8613;hb=9d3800f60f2212432e550a4e003ae65b498a4d36;hp=2727c018ab277fe71ebb0aea060659569f5ab6c0;hpb=3d261aba7f8108798d731d6cd85c445f46a41024;p=tpg%2Facess2.git diff --git a/Kernel/arch/x86/mm_phys.c b/Kernel/arch/x86/mm_phys.c index 2727c018..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\n", Addr); + //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));