From fbe1b5953d061c77c07b91e4eb555c92195308d0 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Wed, 13 May 2009 17:56:25 +0100 Subject: 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 --- hw/nseries.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/nseries.c') diff --git a/hw/nseries.c b/hw/nseries.c index 8f90d53..63a1c33 100644 --- a/hw/nseries.c +++ b/hw/nseries.c @@ -1382,7 +1382,7 @@ static struct arm_boot_info n810_binfo = { .atag_board = n810_atag_setup, }; -static void n800_init(ram_addr_t ram_size, int vga_ram_size, +static void n800_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) @@ -1392,7 +1392,7 @@ static void n800_init(ram_addr_t ram_size, int vga_ram_size, cpu_model, &n800_binfo, 800); } -static void n810_init(ram_addr_t ram_size, int vga_ram_size, +static void n810_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) -- cgit v1.1