On 3/7/22 22:39, Mark Cave-Ayland wrote:
static void nios2_10m50_ghrd_init(MachineState *machine)
{
+ Nios2MachineState *nms = NIOS2_MACHINE(machine);
Nios2CPU *cpu;
DeviceState *dev;
MemoryRegion *address_space_mem = get_system_memory();
@@ -101,15 +109,29 @@ static void
On 08/03/2022 07:20, Richard Henderson wrote:
We want to move data from the heap into Nios2MachineState,
which is not possible with DEFINE_MACHINE.
Signed-off-by: Richard Henderson
---
hw/nios2/10m50_devboard.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions
We want to move data from the heap into Nios2MachineState,
which is not possible with DEFINE_MACHINE.
Signed-off-by: Richard Henderson
---
hw/nios2/10m50_devboard.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/hw/nios2/10m50_devboard.c b/hw/ni