xref: /openbmc/qemu/hw/ppc/e500.h (revision 8917c3bd)
1 #ifndef PPCE500_H
2 #define PPCE500_H
3 
4 typedef struct PPCE500Params {
5     /* Standard QEMU machine init params */
6     ram_addr_t ram_size;
7     const char *boot_device;
8     const char *kernel_filename;
9     const char *kernel_cmdline;
10     const char *initrd_filename;
11     const char *cpu_model;
12     int pci_first_slot;
13     int pci_nr_slots;
14 
15     /* e500-specific params */
16 
17     /* required -- must at least add toplevel board compatible */
18     void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
19 
20     int mpic_version;
21 } PPCE500Params;
22 
23 void ppce500_init(PPCE500Params *params);
24 
25 #endif
26