From 71db710f7ee00cf324153bbc203e6dad8c99850b Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Fri, 8 Jun 2007 16:45:23 +0000 Subject: Fix incorrect target_ulong use in hw devices git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2962 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ppc405_boards.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/ppc405_boards.c') diff --git a/hw/ppc405_boards.c b/hw/ppc405_boards.c index 2e2ca0e..b0be417 100644 --- a/hw/ppc405_boards.c +++ b/hw/ppc405_boards.c @@ -184,7 +184,7 @@ static void ref405ep_init (int ram_size, int vga_ram_size, int boot_device, CPUPPCState *env; qemu_irq *pic; ram_addr_t sram_offset, bios_offset, bdloc; - target_ulong ram_bases[2], ram_sizes[2]; + target_phys_addr_t ram_bases[2], ram_sizes[2]; target_ulong sram_size, bios_size; //int phy_addr = 0; //static int phy_addr = 1; @@ -506,7 +506,7 @@ static void taihu_405ep_init(int ram_size, int vga_ram_size, int boot_device, CPUPPCState *env; qemu_irq *pic; ram_addr_t bios_offset; - target_ulong ram_bases[2], ram_sizes[2]; + target_phys_addr_t ram_bases[2], ram_sizes[2]; target_ulong bios_size; target_ulong kernel_base, kernel_size, initrd_base, initrd_size; int linux_boot; -- cgit v1.1