From f32261498c83bf434dde74f7832ead98678cb8ae Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 23 Nov 2011 15:17:36 +0200 Subject: omap_l4: add memory API variant of omap_l4_attach() Also add omap_l4_region_size(), since memory API functions need the size during initialization. Reviewed-by: Peter Maydell Signed-off-by: Avi Kivity --- hw/omap2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/omap2.c') diff --git a/hw/omap2.c b/hw/omap2.c index 8a0fa73..5fc3fcf 100644 --- a/hw/omap2.c +++ b/hw/omap2.c @@ -2260,7 +2260,7 @@ struct omap_mpu_state_s *omap2420_mpu_init(MemoryRegion *sysmem, (sram_base = qemu_ram_alloc(NULL, "omap2.sram", s->sram_size)) | IO_MEM_RAM); - s->l4 = omap_l4_init(OMAP2_L4_BASE, 54); + s->l4 = omap_l4_init(sysmem, OMAP2_L4_BASE, 54); /* Actually mapped at any 2K boundary in the ARM11 private-peripheral if */ cpu_irq = arm_pic_init_cpu(s->env); -- cgit v1.1