mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
f5fba9d27f
The compatible string is changed to fsl,mpic on all e500 platforms, to advertise the existence of BRR1. This matches what the device tree will have on real hardware. With MPIC v4.2 max_cpu can be increased from 15 to 32. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
25 lines
595 B
C
25 lines
595 B
C
#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;
|
|
int pci_first_slot;
|
|
int pci_nr_slots;
|
|
|
|
/* e500-specific params */
|
|
|
|
/* required -- must at least add toplevel board compatible */
|
|
void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
|
|
|
|
int mpic_version;
|
|
} PPCE500Params;
|
|
|
|
void ppce500_init(PPCE500Params *params);
|
|
|
|
#endif
|