2012-07-02 17:03:20 +04:00
|
|
|
#ifndef PPCE500_H
|
|
|
|
#define PPCE500_H
|
|
|
|
|
|
|
|
typedef struct PPCE500Params {
|
|
|
|
/* Standard QEMU machine init params */
|
|
|
|
ram_addr_t ram_size;
|
|
|
|
const char *boot_device;
|
|
|
|
const char *kernel_filename;
|
|
|
|
const char *kernel_cmdline;
|
|
|
|
const char *initrd_filename;
|
|
|
|
const char *cpu_model;
|
2012-12-12 16:53:53 +04:00
|
|
|
int pci_first_slot;
|
|
|
|
int pci_nr_slots;
|
2012-07-02 17:03:20 +04:00
|
|
|
|
|
|
|
/* e500-specific params */
|
|
|
|
|
|
|
|
/* required -- must at least add toplevel board compatible */
|
|
|
|
void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
|
2013-01-21 19:53:55 +04:00
|
|
|
|
|
|
|
int mpic_version;
|
2012-07-02 17:03:20 +04:00
|
|
|
} PPCE500Params;
|
|
|
|
|
|
|
|
void ppce500_init(PPCE500Params *params);
|
|
|
|
|
|
|
|
#endif
|