xref: /openbmc/qemu/hw/ppc/e500.h (revision 953ea14d)
1 #ifndef PPCE500_H
2 #define PPCE500_H
3 
4 #include "hw/boards.h"
5 
6 typedef struct PPCE500Params {
7     int pci_first_slot;
8     int pci_nr_slots;
9 
10     /* required -- must at least add toplevel board compatible */
11     void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
12 
13     int mpic_version;
14     bool has_mpc8xxx_gpio;
15     bool has_platform_bus;
16     hwaddr platform_bus_base;
17     hwaddr platform_bus_size;
18     int platform_bus_first_irq;
19     int platform_bus_num_irqs;
20 } PPCE500Params;
21 
22 void ppce500_init(MachineState *machine, PPCE500Params *params);
23 
24 #endif
25