summaryrefslogtreecommitdiffstats
path: root/hw/realview.c
diff options
context:
space:
mode:
authorPaul Brook2009-05-13 18:56:25 +0200
committerPaul Brook2009-05-13 18:56:25 +0200
commitfbe1b5953d061c77c07b91e4eb555c92195308d0 (patch)
tree1475976bd828788075a1e32017b6f75a93344965 /hw/realview.c
parentFix typo that leads to out of bounds array access on big endian systems (diff)
downloadqemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.gz
qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.xz
qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.zip
Remove vga_ram_size
The vga_ram_size argument to machine init functions always has the same value, and is ignored by many machines (including SPARC32 which has an obsolete ifdef for VGA_RAM_SIZE). Remove it and push VGA_RAM_SIZE into vga_int.h. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/realview.c')
-rw-r--r--hw/realview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/realview.c b/hw/realview.c
index e41be49806..74fd9d82dd 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -24,7 +24,7 @@ static struct arm_boot_info realview_binfo = {
.board_id = 0x33b,
};
-static void realview_init(ram_addr_t ram_size, int vga_ram_size,
+static void realview_init(ram_addr_t ram_size,
const char *boot_device,
const char *kernel_filename, const char *kernel_cmdline,
const char *initrd_filename, const char *cpu_model)