[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/21] hw/alpha: Let the machine be the owner of the system memor
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 11/21] hw/alpha: Let the machine be the owner of the system memory |
Date: |
Mon, 21 Oct 2019 00:56:40 +0200 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/alpha/dp264.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c
index ddc249261c..5696b1e79b 100644
--- a/hw/alpha/dp264.c
+++ b/hw/alpha/dp264.c
@@ -78,7 +78,7 @@ static void clipper_init(MachineState *machine)
* Main memory region, 0x00.0000.0000. Real hardware supports 32GB,
* but the address space hole reserved at this point is 8TB.
*/
- memory_region_allocate_system_memory(&ram_region, NULL, "ram",
+ memory_region_allocate_system_memory(&ram_region, machine, "ram",
ram_size);
memory_region_add_subregion(get_system_memory(), 0, &ram_region);
--
2.21.0
[PATCH 13/21] hw/cris: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/20