From: John Hodge Date: Mon, 17 Oct 2011 02:26:59 +0000 (+0800) Subject: Kernel/tpl_mm_phys - Added improved debug when allocating >1 pages X-Git-Tag: rel0.13~54 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=3bd915ff266df373b798f41266289e3f8c1ff1a0;p=tpg%2Facess2.git Kernel/tpl_mm_phys - Added improved debug when allocating >1 pages --- diff --git a/Kernel/include/tpl_mm_phys_bitmap.h b/Kernel/include/tpl_mm_phys_bitmap.h index 0874ab62..39444d94 100644 --- a/Kernel/include/tpl_mm_phys_bitmap.h +++ b/Kernel/include/tpl_mm_phys_bitmap.h @@ -223,6 +223,12 @@ tPAddr MM_AllocPhysRange(int Pages, int MaxBits) #if TRACE_ALLOCS LogF("MM_AllocPhysRange: %P (%i pages)\n", ret, Pages); + if(Pages > 1) { + LogF(" also"); + for(i = 1; i < Pages; i++) + LogF(" %P", ret+i); + LogF("\n"); + } #endif #if USE_SUPER_BITMAP