From 314e298735903035ba2b7b0f3cf39981f4171546 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 11 Sep 2011 20:22:05 +0000 Subject: memory: simple memory tree printer Add a monitor command 'info mtree' to show the memory hierarchy much like /proc/iomem in Linux. Signed-off-by: Blue Swirl Signed-off-by: Avi Kivity --- memory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'memory.h') diff --git a/memory.h b/memory.h index e93e65a4f2..d5b47da839 100644 --- a/memory.h +++ b/memory.h @@ -501,6 +501,8 @@ void memory_region_transaction_begin(void); */ void memory_region_transaction_commit(void); +void mtree_info(fprintf_function mon_printf, void *f); + #endif #endif -- cgit v1.2.3