5 #include "hw/platform-bus.h"
6 #include "qom/object.h"
8 struct PPCE500MachineState
{
10 MachineState parent_obj
;
12 /* points to instance of TYPE_PLATFORM_BUS_DEVICE if
13 * board supports dynamic sysbus devices
15 PlatformBusDevice
*pbus_dev
;
18 struct PPCE500MachineClass
{
20 MachineClass parent_class
;
22 /* required -- must at least add toplevel board compatible */
23 void (*fixup_devtree
)(void *fdt
);
29 bool has_mpc8xxx_gpio
;
31 hwaddr platform_bus_base
;
32 hwaddr platform_bus_size
;
33 int platform_bus_first_irq
;
34 int platform_bus_num_irqs
;
38 hwaddr pci_mmio_bus_base
;
42 void ppce500_init(MachineState
*machine
);
44 hwaddr
booke206_page_size_to_tlb(uint64_t size
);
46 #define TYPE_PPCE500_MACHINE "ppce500-base-machine"
47 OBJECT_DECLARE_TYPE(PPCE500MachineState
, PPCE500MachineClass
, PPCE500_MACHINE
)