mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
ppc4xx: Move PLB model to ppc4xx_devs.c
The PLB is shared between 405 and 440 so move it to the shared file. Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <2498384bf3e18959ee8cb984d72fb66b8a6ecadc.1660746880.git.balaton@eik.bme.hu> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
da116a8aab
commit
2d54aaf121
4 changed files with 105 additions and 104 deletions
|
@ -83,4 +83,15 @@ struct Ppc4xxMalState {
|
|||
uint8_t rxcnum;
|
||||
};
|
||||
|
||||
/* Peripheral local bus arbitrer */
|
||||
#define TYPE_PPC405_PLB "ppc405-plb"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(Ppc405PlbState, PPC405_PLB);
|
||||
struct Ppc405PlbState {
|
||||
Ppc4xxDcrDeviceState parent_obj;
|
||||
|
||||
uint32_t acr;
|
||||
uint32_t bear;
|
||||
uint32_t besr;
|
||||
};
|
||||
|
||||
#endif /* PPC4XX_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue