summaryrefslogtreecommitdiff
path: root/hw/mips_jazz.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-08-08 21:01:16 +0300
committerAvi Kivity <avi@redhat.com>2011-08-25 10:56:33 +0300
commit82afb3a70796f3e600ac84bbaff21e4af0759291 (patch)
treef6f7bebe1aa8a33098baf6e2c42698c34da0dc47 /hw/mips_jazz.c
parent9eadff4a94a55a481ee24b45ba3a83615499d339 (diff)
downloadqemu-82afb3a70796f3e600ac84bbaff21e4af0759291.tar.gz
qemu-82afb3a70796f3e600ac84bbaff21e4af0759291.tar.bz2
qemu-82afb3a70796f3e600ac84bbaff21e4af0759291.zip
g364fb: convert to memory API
Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/mips_jazz.c')
-rw-r--r--hw/mips_jazz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index 84ce0613a3..a74108646c 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -195,7 +195,8 @@ void mips_jazz_init (ram_addr_t ram_size,
/* Video card */
switch (jazz_model) {
case JAZZ_MAGNUM:
- g364fb_mm_init(0x40000000, 0x60000000, 0, rc4030[3]);
+ g364fb_mm_init(get_system_memory(), 0x40000000, 0x60000000, 0,
+ rc4030[3]);
break;
case JAZZ_PICA61:
isa_vga_mm_init(0x40000000, 0x60000000, 0, get_system_memory());