diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 00:26:15 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 00:26:15 +0000 |
commit | 446544909738bbaf7af927ecd5dcef45debc7167 (patch) | |
tree | 88c1b2935a3f0bb1015edb4628d72d43284b73e1 /hw/r2d.c | |
parent | dc828ca1b59b0c390a6994c78e9658174f821f74 (diff) | |
download | qemu-446544909738bbaf7af927ecd5dcef45debc7167.zip qemu-446544909738bbaf7af927ecd5dcef45debc7167.tar.gz qemu-446544909738bbaf7af927ecd5dcef45debc7167.tar.bz2 |
More phys_ram_base removal.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7060 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/r2d.c')
-rw-r--r-- | hw/r2d.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -200,7 +200,7 @@ static void r2d_init(ram_addr_t ram_size, int vga_ram_size, { CPUState *env; struct SH7750State *s; - ram_addr_t sdram_addr, sm501_vga_ram_addr; + ram_addr_t sdram_addr; qemu_irq *irq; PCIBus *pci; int i; @@ -222,9 +222,7 @@ static void r2d_init(ram_addr_t ram_size, int vga_ram_size, irq = r2d_fpga_init(0x04000000, sh7750_irl(s)); pci = sh_pci_register_bus(r2d_pci_set_irq, r2d_pci_map_irq, irq, 0, 4); - sm501_vga_ram_addr = qemu_ram_alloc(SM501_VRAM_SIZE); - sm501_init(0x10000000, sm501_vga_ram_addr, SM501_VRAM_SIZE, - serial_hds[2]); + sm501_init(0x10000000, SM501_VRAM_SIZE, serial_hds[2]); /* onboard CF (True IDE mode, Master only). */ if ((i = drive_get_index(IF_IDE, 0, 0)) != -1) |