aboutsummaryrefslogtreecommitdiff
path: root/hw/dummy_m68k.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dummy_m68k.c')
-rw-r--r--hw/dummy_m68k.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/dummy_m68k.c b/hw/dummy_m68k.c
index 30146b9c9d..e3c574008f 100644
--- a/hw/dummy_m68k.c
+++ b/hw/dummy_m68k.c
@@ -40,7 +40,8 @@ static void dummy_m68k_init(ram_addr_t ram_size,
env->vbr = 0;
/* RAM at address zero */
- memory_region_init_ram(ram, NULL, "dummy_m68k.ram", ram_size);
+ memory_region_init_ram(ram, "dummy_m68k.ram", ram_size);
+ vmstate_register_ram_global(ram);
memory_region_add_subregion(address_space_mem, 0, ram);
/* Load kernel. */