aboutsummaryrefslogtreecommitdiff
path: root/hw/mips.h
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.h
parent9eadff4a94a55a481ee24b45ba3a83615499d339 (diff)
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.h')
-rw-r--r--hw/mips.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/mips.h b/hw/mips.h
index cae5f4c804..97d7b9e5ad 100644
--- a/hw/mips.h
+++ b/hw/mips.h
@@ -2,6 +2,8 @@
#define HW_MIPS_H
/* Definitions for mips board emulation. */
+#include "memory.h"
+
/* gt64xxx.c */
PCIBus *gt64120_register(qemu_irq *pic);
@@ -9,7 +11,7 @@ PCIBus *gt64120_register(qemu_irq *pic);
PCIBus *bonito_init(qemu_irq *pic);
/* g364fb.c */
-int g364fb_mm_init(target_phys_addr_t vram_base,
+int g364fb_mm_init(MemoryRegion *system_memory, target_phys_addr_t vram_base,
target_phys_addr_t ctrl_base, int it_shift,
qemu_irq irq);