
Change parameter of ppc460ex_pcie_init() from env to cpu to allow further refactoring. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <1695d7cc1a9f1070ab498c078916e2389d6e9469.1688586835.git.balaton@eik.bme.hu> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
24 lines
549 B
C
24 lines
549 B
C
/*
|
|
* QEMU PowerPC 440 shared definitions
|
|
*
|
|
* Copyright (c) 2012 François Revol
|
|
* Copyright (c) 2016-2018 BALATON Zoltan
|
|
*
|
|
* This work is licensed under the GNU GPL license version 2 or later.
|
|
*
|
|
*/
|
|
|
|
#ifndef PPC440_H
|
|
#define PPC440_H
|
|
|
|
#include "hw/ppc/ppc.h"
|
|
|
|
void ppc4xx_l2sram_init(CPUPPCState *env);
|
|
void ppc4xx_cpr_init(CPUPPCState *env);
|
|
void ppc4xx_sdr_init(CPUPPCState *env);
|
|
void ppc4xx_ahb_init(CPUPPCState *env);
|
|
void ppc4xx_dma_init(CPUPPCState *env, int dcr_base);
|
|
void ppc460ex_pcie_init(PowerPCCPU *cpu);
|
|
|
|
#endif /* PPC440_H */
|