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/omap_sx1.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hw/omap_sx1.c') diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c index 5145a63e9c..5a538833d1 100644 --- a/hw/omap_sx1.c +++ b/hw/omap_sx1.c @@ -115,7 +115,7 @@ static struct arm_boot_info sx1_binfo = { .board_id = 0x265, }; -static void sx1_init(ram_addr_t ram_size, int vga_ram_size, +static void sx1_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, @@ -205,21 +205,21 @@ static void sx1_init(ram_addr_t ram_size, int vga_ram_size, //~ qemu_console_resize(ds, 640, 480); } -static void sx1_init_v1(ram_addr_t ram_size, int vga_ram_size, +static void sx1_init_v1(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) { - sx1_init(ram_size, vga_ram_size, boot_device, kernel_filename, + sx1_init(ram_size, boot_device, kernel_filename, kernel_cmdline, initrd_filename, cpu_model, 1); } -static void sx1_init_v2(ram_addr_t ram_size, int vga_ram_size, +static void sx1_init_v2(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) { - sx1_init(ram_size, vga_ram_size, boot_device, kernel_filename, + sx1_init(ram_size, boot_device, kernel_filename, kernel_cmdline, initrd_filename, cpu_model, 2); } -- cgit v1.2.3-55-g7522