X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Ftpl_mm_phys_bitmap.h;h=cf3018f05f8f39c485d1eecb14b6b1fcf0b37f52;hb=ce452fe1a1b499f519aaa7cb9722d4beeb2a6644;hp=39444d9468a6e6b386405e65e223b89dc96627b6;hpb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/tpl_mm_phys_bitmap.h b/KernelLand/Kernel/include/tpl_mm_phys_bitmap.h index 39444d94..cf3018f0 100644 --- a/KernelLand/Kernel/include/tpl_mm_phys_bitmap.h +++ b/KernelLand/Kernel/include/tpl_mm_phys_bitmap.h @@ -27,6 +27,7 @@ int MM_int_GetRangeID( tPAddr Addr ); int MM_int_GetMapEntry( void *Data, int Index, tPAddr *Start, tPAddr *Length ); void MM_Tpl_InitPhys(int MaxRAMPage, void *MemoryMap); +void MM_DumpStatistics(void); // === GLOBALS === tMutex glPhysicalPages; @@ -112,6 +113,11 @@ void MM_Tpl_InitPhys(int MaxRAMPage, void *MemoryMap) LEAVE('-'); } +void MM_DumpStatistics(void) +{ + // TODO: PM Statistics for tpl_mm_phys_bitmap +} + /** * \brief Allocate a contiguous range of physical pages with a maximum * bit size of \a MaxBits