aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/mm.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-01 12:23:44 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-01 12:23:44 +0000
commit5fca0f03a3feecdfb2618c62d6ef5ab547d83e5a (patch)
tree3eb2ec64d97753fe4ced3e84b3b0442c4abbe014 /extras/mini-os/mm.c
parent84e23d3ec9d8396dda23452caa84c21e9f0305f8 (diff)
downloadxen-5fca0f03a3feecdfb2618c62d6ef5ab547d83e5a.tar.gz
xen-5fca0f03a3feecdfb2618c62d6ef5ab547d83e5a.tar.bz2
xen-5fca0f03a3feecdfb2618c62d6ef5ab547d83e5a.zip
Create P2M map during Mini-OS boot (fixes 'xm dump-core').
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/mm.c')
-rw-r--r--extras/mini-os/mm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/mini-os/mm.c b/extras/mini-os/mm.c
index a24a521cf6..11e249d421 100644
--- a/extras/mini-os/mm.c
+++ b/extras/mini-os/mm.c
@@ -379,6 +379,8 @@ void init_mm(void)
init_page_allocator(PFN_PHYS(start_pfn), PFN_PHYS(max_pfn));
printk("MM: done\n");
+ arch_init_p2m(max_pfn);
+
arch_init_demand_mapping_area(max_pfn);
}