aboutsummaryrefslogtreecommitdiff
path: root/hw/axis_dev88.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/axis_dev88.c')
-rw-r--r--hw/axis_dev88.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c
index db7fbabe72..506ef28768 100644
--- a/hw/axis_dev88.c
+++ b/hw/axis_dev88.c
@@ -372,8 +372,15 @@ void axisdev88_init (ram_addr_t ram_size,
printf ("ram size =%ld\n", ram_size);
}
-QEMUMachine axisdev88_machine = {
+static QEMUMachine axisdev88_machine = {
.name = "axis-dev88",
.desc = "AXIS devboard 88",
.init = axisdev88_init,
};
+
+static void axisdev88_machine_init(void)
+{
+ qemu_register_machine(&axisdev88_machine);
+}
+
+machine_init(axisdev88_machine_init);