arm: Fix SMC reporting to EL2 when QEMU provides PSCI
[qemu/ar7.git] / hw / ppc / e500.h
blob70ba1d8f4f94d73cecfe789ebcacdef69d56f1fb
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 hwaddr booke206_page_size_to_tlb(uint64_t size);
31 #endif