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