aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/kzm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/kzm.c')
-rw-r--r--hw/arm/kzm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c
index 99d33cb9d0..0555d12658 100644
--- a/hw/arm/kzm.c
+++ b/hw/arm/kzm.c
@@ -70,13 +70,13 @@ static struct arm_boot_info kzm_binfo = {
.board_id = 1722,
};
-static void kzm_init(QEMUMachineInitArgs *args)
+static void kzm_init(MachineState *machine)
{
- ram_addr_t ram_size = args->ram_size;
- 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;
+ ram_addr_t ram_size = machine->ram_size;
+ 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;
ARMCPU *cpu;
MemoryRegion *address_space_mem = get_system_memory();
MemoryRegion *ram = g_new(MemoryRegion, 1);