summaryrefslogtreecommitdiff
path: root/hw/ppc4xx.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-08-15 17:17:27 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:47:42 -0500
commit1541cfddd8adb3113e8159ab1d98ef6a4dcabc83 (patch)
tree4db9e86c6c9f303d4496af5d98533cf051000650 /hw/ppc4xx.h
parent268531e06c8c6fe262f2d2b15aeadb9557102b6d (diff)
downloadqemu-1541cfddd8adb3113e8159ab1d98ef6a4dcabc83.tar.gz
qemu-1541cfddd8adb3113e8159ab1d98ef6a4dcabc83.tar.bz2
qemu-1541cfddd8adb3113e8159ab1d98ef6a4dcabc83.zip
ppc4xx_sdram: convert to memory API
Clumsy due to the lack of clipping support, needed for changing exposed ram size. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ppc4xx.h')
-rw-r--r--hw/ppc4xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc4xx.h b/hw/ppc4xx.h
index bc4ee019a5..f969e44e1b 100644
--- a/hw/ppc4xx.h
+++ b/hw/ppc4xx.h
@@ -42,11 +42,13 @@ qemu_irq *ppcuic_init (CPUState *env, qemu_irq *irqs,
uint32_t dcr_base, int has_ssr, int has_vr);
ram_addr_t ppc4xx_sdram_adjust(ram_addr_t ram_size, int nr_banks,
+ MemoryRegion ram_memories[],
target_phys_addr_t ram_bases[],
target_phys_addr_t ram_sizes[],
const unsigned int sdram_bank_sizes[]);
void ppc4xx_sdram_init (CPUState *env, qemu_irq irq, int nbanks,
+ MemoryRegion ram_memories[],
target_phys_addr_t *ram_bases,
target_phys_addr_t *ram_sizes,
int do_init);