mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
ppc4xx: Move EBC model to ppc4xx_devs.c
The EBC is shared between 405 and 440 so move it to shared file. Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <10eae70509ca4bd74858fc2c0a0f0e4eb9330199.1660746880.git.balaton@eik.bme.hu> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
052c779b4c
commit
127ba8d03e
4 changed files with 206 additions and 206 deletions
|
@ -94,4 +94,19 @@ struct Ppc4xxPlbState {
|
|||
uint32_t besr;
|
||||
};
|
||||
|
||||
/* Peripheral controller */
|
||||
#define TYPE_PPC405_EBC "ppc405-ebc"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(Ppc405EbcState, PPC405_EBC);
|
||||
struct Ppc405EbcState {
|
||||
Ppc4xxDcrDeviceState parent_obj;
|
||||
|
||||
uint32_t addr;
|
||||
uint32_t bcr[8];
|
||||
uint32_t bap[8];
|
||||
uint32_t bear;
|
||||
uint32_t besr0;
|
||||
uint32_t besr1;
|
||||
uint32_t cfg;
|
||||
};
|
||||
|
||||
#endif /* PPC4XX_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue