[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14/21] hw/hppa: Let the machine be the owner of the system memory
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 14/21] hw/hppa: Let the machine be the owner of the system memory |
Date: |
Mon, 21 Oct 2019 00:56:43 +0200 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/hppa/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index dbe1ff0fe5..6703bfd351 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -96,7 +96,7 @@ static void machine_hppa_init(MachineState *machine)
/* Main memory region. */
ram_region = g_new(MemoryRegion, 1);
- memory_region_allocate_system_memory(ram_region, NULL,
+ memory_region_allocate_system_memory(ram_region, machine,
"ram", ram_size);
memory_region_add_subregion(addr_space, 0, ram_region);
--
2.21.0
- Re: [PATCH 11/21] hw/alpha: Let the machine be the owner of the system memory, (continued)
[PATCH 13/21] hw/cris: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/20
[PATCH 14/21] hw/hppa: Let the machine be the owner of the system memory,
Philippe Mathieu-Daudé <=
[PATCH 15/21] hw/i386: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/20
[PATCH 16/21] hw/lm32: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/20
[PATCH 17/21] hw/m68k: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/20