From be20f9e902ca47ea84e1b1c1e89b0a55d59b4c11 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 15 Aug 2011 17:17:37 +0300 Subject: vga: drop get_system_memory() from vga devices and derivatives Instead, use the bus accessors, or get the address space directly from the board constructor. Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- hw/mips_jazz.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/mips_jazz.c') diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index ea20510cb4..84ce0613a3 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -38,6 +38,7 @@ #include "mc146818rtc.h" #include "blockdev.h" #include "sysbus.h" +#include "exec-memory.h" enum jazz_model_e { @@ -197,7 +198,7 @@ void mips_jazz_init (ram_addr_t ram_size, g364fb_mm_init(0x40000000, 0x60000000, 0, rc4030[3]); break; case JAZZ_PICA61: - isa_vga_mm_init(0x40000000, 0x60000000, 0); + isa_vga_mm_init(0x40000000, 0x60000000, 0, get_system_memory()); break; default: break; -- cgit 1.4.1