diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-08 16:45:23 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-08 16:45:23 +0000 |
commit | 71db710f7ee00cf324153bbc203e6dad8c99850b (patch) | |
tree | 8366782c722140eaf2fd192105289e23f9cad88d /hw/ppc405_boards.c | |
parent | 740733bb939963e77dacda0367eb807dea1c4faf (diff) | |
download | qemu-71db710f7ee00cf324153bbc203e6dad8c99850b.zip qemu-71db710f7ee00cf324153bbc203e6dad8c99850b.tar.gz qemu-71db710f7ee00cf324153bbc203e6dad8c99850b.tar.bz2 |
Fix incorrect target_ulong use in hw devices
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2962 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc405_boards.c')
-rw-r--r-- | hw/ppc405_boards.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |