sysbus: Drop sysbus_from_qdev() cast macro
[qemu/pbrook.git] / hw / ppc / e500.h
blobf5ff27385b89010e94015bc9da3b661d7691d6ec
1 #ifndef PPCE500_H
2 #define PPCE500_H
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;
15 /* e500-specific params */
17 /* required -- must at least add toplevel board compatible */
18 void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
19 } PPCE500Params;
21 void ppce500_init(PPCE500Params *params);
23 #endif