qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 13/21] hw/cris: Let the machine be the owner of the system memory


From: Philippe Mathieu-Daudé
Subject: [PATCH 13/21] hw/cris: Let the machine be the owner of the system memory
Date: Mon, 21 Oct 2019 00:56:42 +0200

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
 hw/cris/axis_dev88.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/cris/axis_dev88.c b/hw/cris/axis_dev88.c
index 940c7dd122..faa7058733 100644
--- a/hw/cris/axis_dev88.c
+++ b/hw/cris/axis_dev88.c
@@ -270,7 +270,7 @@ void axisdev88_init(MachineState *machine)
     env = &cpu->env;
 
     /* allocate RAM */
-    memory_region_allocate_system_memory(phys_ram, NULL, "axisdev88.ram",
+    memory_region_allocate_system_memory(phys_ram, machine, "axisdev88.ram",
                                          ram_size);
     memory_region_add_subregion(address_space_mem, 0x40000000, phys_ram);
 
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]