qapi/error: Check format string argument in error_*prepend()
[qemu/armbru.git] / hw / ppc / ppc440.h
blob7cef9361255effaff525ee34eec6a94a7b1e9224
1 /*
2 * QEMU PowerPC 440 shared definitions
4 * Copyright (c) 2012 François Revol
5 * Copyright (c) 2016-2018 BALATON Zoltan
7 * This work is licensed under the GNU GPL license version 2 or later.
9 */
11 #ifndef PPC440_H
12 #define PPC440_H
14 #include "hw/ppc/ppc.h"
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);
27 #endif /* PPC440_H */