summaryrefslogtreecommitdiffstats
path: root/hw/lm32/milkymist.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32/milkymist.c')
-rw-r--r--hw/lm32/milkymist.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c
index baf234ce04..81c3933e63 100644
--- a/hw/lm32/milkymist.c
+++ b/hw/lm32/milkymist.c
@@ -74,12 +74,12 @@ static void main_cpu_reset(void *opaque)
}
static void
-milkymist_init(QEMUMachineInitArgs *args)
+milkymist_init(MachineState *machine)
{
- const char *cpu_model = args->cpu_model;
- const char *kernel_filename = args->kernel_filename;
- const char *kernel_cmdline = args->kernel_cmdline;
- const char *initrd_filename = args->initrd_filename;
+ const char *cpu_model = machine->cpu_model;
+ const char *kernel_filename = machine->kernel_filename;
+ const char *kernel_cmdline = machine->kernel_cmdline;
+ const char *initrd_filename = machine->initrd_filename;
LM32CPU *cpu;
CPULM32State *env;
int kernel_size;