[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 20/21] hw/sparc: Let the machine be the owner of the system memor
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 20/21] hw/sparc: Let the machine be the owner of the system memory |
Date: |
Mon, 21 Oct 2019 00:56:49 +0200 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/sparc/leon3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c
index c5f1b1ee72..f58f2782c6 100644
--- a/hw/sparc/leon3.c
+++ b/hw/sparc/leon3.c
@@ -244,7 +244,7 @@ static void leon3_generic_hw_init(MachineState *machine)
exit(1);
}
- memory_region_allocate_system_memory(ram, NULL, "leon3.ram", ram_size);
+ memory_region_allocate_system_memory(ram, machine, "leon3.ram", ram_size);
memory_region_add_subregion(address_space_mem, LEON3_RAM_OFFSET, ram);
/* Allocate BIOS */
--
2.21.0
- Re: [PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, (continued)
- Re: [PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/21
- Re: [PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, Aleksandar Markovic, 2019/10/21
- Re: [PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/21
- Re: [PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, Aleksandar Markovic, 2019/10/21
- Re: [PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/21
- Re: [PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, Aleksandar Markovic, 2019/10/21
Re: [EXTERNAL][PATCH 18/21] hw/mips: Let the machine be the owner of the system memory, Aleksandar Markovic, 2019/10/21
[PATCH 19/21] hw/ppc: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/20
[PATCH 20/21] hw/sparc: Let the machine be the owner of the system memory,
Philippe Mathieu-Daudé <=
[PATCH 21/21] hw/core: Assert memory_region_allocate_system_memory has machine owner, Philippe Mathieu-Daudé, 2019/10/20
Re: [PATCH 00/21] hw: Let the machine be the owner of the system memory, no-reply, 2019/10/20
Re: [PATCH 00/21] hw: Let the machine be the owner of the system memory, Philippe Mathieu-Daudé, 2019/10/21