throttle: refuse bps_max/iops_max without bps/iops
[qemu/ar7.git] / hw / ppc / e500.h
blobef224ea5e6e85f90e4b1d30cb19714d62fa88844
1 #ifndef PPCE500_H
2 #define PPCE500_H
4 #include "hw/boards.h"
6 typedef struct PPCE500Params {
7 int pci_first_slot;
8 int pci_nr_slots;
10 /* required -- must at least add toplevel board compatible */
11 void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
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 hwaddr ccsrbar_base;
21 hwaddr pci_pio_base;
22 hwaddr pci_mmio_base;
23 hwaddr pci_mmio_bus_base;
24 hwaddr spin_base;
25 } PPCE500Params;
27 void ppce500_init(MachineState *machine, PPCE500Params *params);
29 #endif