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.h | |
parent | 740733bb939963e77dacda0367eb807dea1c4faf (diff) | |
download | qemu-71db710f7ee00cf324153bbc203e6dad8c99850b.zip |
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.h')
-rw-r--r-- | hw/ppc405.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/hw/ppc405.h b/hw/ppc405.h index c491ed55e1..b2624c3861 100644 --- a/hw/ppc405.h +++ b/hw/ppc405.h @@ -83,7 +83,8 @@ qemu_irq *ppcuic_init (CPUState *env, qemu_irq *irqs, uint32_t dcr_base, int has_ssr, int has_vr); /* SDRAM controller */ void ppc405_sdram_init (CPUState *env, qemu_irq irq, int nbanks, - target_ulong *ram_bases, target_ulong *ram_sizes, + target_phys_addr_t *ram_bases, + target_phys_addr_t *ram_sizes, int do_init); /* Peripheral controller */ void ppc405_ebc_init (CPUState *env); @@ -107,15 +108,17 @@ void ppc4xx_gpt_init (CPUState *env, ppc4xx_mmio_t *mmio, /* Memory access layer */ void ppc405_mal_init (CPUState *env, qemu_irq irqs[4]); /* PowerPC 405 microcontrollers */ -CPUState *ppc405cr_init (target_ulong ram_bases[4], target_ulong ram_sizes[4], +CPUState *ppc405cr_init (target_phys_addr_t ram_bases[4], + target_phys_addr_t ram_sizes[4], uint32_t sysclk, qemu_irq **picp, ram_addr_t *offsetp, int do_init); -CPUState *ppc405ep_init (target_ulong ram_bases[2], target_ulong ram_sizes[2], +CPUState *ppc405ep_init (target_phys_addr_t ram_bases[2], + target_phys_addr_t ram_sizes[2], uint32_t sysclk, qemu_irq **picp, ram_addr_t *offsetp, int do_init); /* IBM STBxxx microcontrollers */ -CPUState *ppc_stb025_init (target_ulong ram_bases[2], - target_ulong ram_sizes[2], +CPUState *ppc_stb025_init (target_phys_addr_t ram_bases[2], + target_phys_addr_t ram_sizes[2], uint32_t sysclk, qemu_irq **picp, ram_addr_t *offsetp); |