xref: /openbmc/qemu/hw/ppc/ppc440.h (revision ba632924)
1 /*
2  * QEMU PowerPC 440 shared definitions
3  *
4  * Copyright (c) 2012 François Revol
5  * Copyright (c) 2016-2018 BALATON Zoltan
6  *
7  * This work is licensed under the GNU GPL license version 2 or later.
8  *
9  */
10 
11 #ifndef PPC440_H
12 #define PPC440_H
13 
14 #include "hw/ppc/ppc.h"
15 
16 void ppc4xx_l2sram_init(CPUPPCState *env);
17 void ppc4xx_cpr_init(CPUPPCState *env);
18 void ppc4xx_sdr_init(CPUPPCState *env);
19 void ppc440_sdram_init(CPUPPCState *env, int nbanks,
20                        MemoryRegion *ram_memories,
21                        hwaddr *ram_bases, hwaddr *ram_sizes,
22                        int do_init);
23 void ppc4xx_ahb_init(CPUPPCState *env);
24 void ppc4xx_dma_init(CPUPPCState *env, int dcr_base);
25 void ppc460ex_pcie_init(CPUPPCState *env);
26 
27 #endif /* PPC440_H */
28