diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2017-08-20 19:23:05 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-09-08 09:30:55 +1000 |
commit | 97c2acb5504ee0ab0a5efc39a06f9783220dba90 (patch) | |
tree | 8e2294dff2e58fc47e14b7c3f7e34b35cb2265a4 /hw/ppc/ppc405.h | |
parent | 44a935d8c3f09089e740a89b5af5d71c134b93df (diff) | |
download | qemu-97c2acb5504ee0ab0a5efc39a06f9783220dba90.zip qemu-97c2acb5504ee0ab0a5efc39a06f9783220dba90.tar.gz qemu-97c2acb5504ee0ab0a5efc39a06f9783220dba90.tar.bz2 |
ppc4xx: Export ECB and PLB emulation
Make these device models available outside ppc405_uc.c for reuse in
460EX emulation. They are left in their current place for now because
they are used mostly unchanged and I'm not sure these correctly model
the components in 440 SoCs (but they seem to be good enough). These
functions could be moved in a subsequent clean up series when this is
confirmed.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/ppc405.h')
-rw-r--r-- | hw/ppc/ppc405.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ppc/ppc405.h b/hw/ppc/ppc405.h index a9ffc87..7ed25cf 100644 --- a/hw/ppc/ppc405.h +++ b/hw/ppc/ppc405.h @@ -59,6 +59,9 @@ struct ppc4xx_bd_info_t { ram_addr_t ppc405_set_bootinfo (CPUPPCState *env, ppc4xx_bd_info_t *bd, uint32_t flags); +void ppc4xx_plb_init(CPUPPCState *env); +void ppc405_ebc_init(CPUPPCState *env); + CPUPPCState *ppc405cr_init(MemoryRegion *address_space_mem, MemoryRegion ram_memories[4], hwaddr ram_bases[4], |