aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/e500.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-08-16 13:13:49 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-08-21 23:22:22 +0300
commit92238367450d26eced103736ae555997ea3162c2 (patch)
tree16b9cf5324677ef5d3b0075ac0399e1cc2db225d /hw/ppc/e500.h
parentee87e32f830b4e22c02038de963bb9f72b55896f (diff)
downloadqemu-92238367450d26eced103736ae555997ea3162c2.zip
qemu-92238367450d26eced103736ae555997ea3162c2.tar.gz
qemu-92238367450d26eced103736ae555997ea3162c2.tar.bz2
ppc: Don't duplicate QEMUMachineInitArgs in PPCE500Params
Pass on the generic arguments unadulterated, and the machine-specific ones as separate argument. Signed-off-by: Markus Armbruster <armbru@redhat.com> Acked-by: Alexander Graf <agraf@suse.de> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ppc/e500.h')
-rw-r--r--hw/ppc/e500.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/hw/ppc/e500.h b/hw/ppc/e500.h
index 226c93d..52726a2 100644
--- a/hw/ppc/e500.h
+++ b/hw/ppc/e500.h
@@ -1,25 +1,18 @@
#ifndef PPCE500_H
#define PPCE500_H
+#include "hw/boards.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);
+void ppce500_init(QEMUMachineInitArgs *args, PPCE500Params *params);
#endif