diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-13 17:56:25 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-13 17:56:25 +0100 |
commit | fbe1b5953d061c77c07b91e4eb555c92195308d0 (patch) | |
tree | 1475976bd828788075a1e32017b6f75a93344965 /hw/ppc_oldworld.c | |
parent | 1481e16abbab14a2e19410770f97cb764bb9be16 (diff) | |
download | qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.zip qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.gz qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.bz2 |
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/ppc_oldworld.c')
-rw-r--r-- | hw/ppc_oldworld.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c index aa56d50..a822bfe 100644 --- a/hw/ppc_oldworld.c +++ b/hw/ppc_oldworld.c @@ -114,7 +114,7 @@ static int fw_cfg_boot_set(void *opaque, const char *boot_device) return 0; } -static void ppc_heathrow_init (ram_addr_t ram_size, int vga_ram_size, +static void ppc_heathrow_init (ram_addr_t ram_size, const char *boot_device, const char *kernel_filename, const char *kernel_cmdline, @@ -298,8 +298,7 @@ static void ppc_heathrow_init (ram_addr_t ram_size, int vga_ram_size, } pic = heathrow_pic_init(&pic_mem_index, 1, heathrow_irqs); pci_bus = pci_grackle_init(0xfec00000, pic); - pci_vga_init(pci_bus, vga_ram_size, - vga_bios_offset, vga_bios_size); + pci_vga_init(pci_bus, vga_bios_offset, vga_bios_size); escc_mem_index = escc_init(0x80013000, pic[0x0f], pic[0x10], serial_hds[0], serial_hds[1], ESCC_CLOCK, 4); |