From 61b244050334f88de5bed0c8cd8af8503aaa0931 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 15 Dec 2008 22:59:34 +0000 Subject: target-ppc: move PPC4xx SDRAM controller emulation from ppc405_uc.c to ppc4xx_devs.c The SDRAM controller is shared across almost all 405 and 440 embedded processors, with some slight differences such as the sizes supported for each memory bank. Code movement only; no functional changes. Signed-off-by: Hollis Blanchard Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6061 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ppc4xx.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw/ppc4xx.h') diff --git a/hw/ppc4xx.h b/hw/ppc4xx.h index 88802ae..8c2878a 100644 --- a/hw/ppc4xx.h +++ b/hw/ppc4xx.h @@ -48,6 +48,11 @@ enum { qemu_irq *ppcuic_init (CPUState *env, qemu_irq *irqs, uint32_t dcr_base, int has_ssr, int has_vr); +void ppc405_sdram_init (CPUState *env, qemu_irq irq, int nbanks, + target_phys_addr_t *ram_bases, + target_phys_addr_t *ram_sizes, + int do_init); + PCIBus *ppc4xx_pci_init(CPUState *env, qemu_irq pci_irqs[4], target_phys_addr_t config_space, target_phys_addr_t int_ack, -- cgit v1.1