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/mips_r4k.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/mips_r4k.c') diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index 51232cf..aea82cc 100644 --- a/hw/mips_r4k.c +++ b/hw/mips_r4k.c @@ -147,7 +147,7 @@ static void main_cpu_reset(void *opaque) static const int sector_len = 32 * 1024; static -void mips_r4k_init (ram_addr_t ram_size, int vga_ram_size, +void mips_r4k_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) @@ -254,7 +254,7 @@ void mips_r4k_init (ram_addr_t ram_size, int vga_ram_size, } } - isa_vga_init(vga_ram_size); + isa_vga_init(); if (nd_table[0].vlan) isa_ne2000_init(0x300, i8259[9], &nd_table[0]); -- cgit v1.1