|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 1/4] hw/openrisc/openrisc_sim: Create machine state for or1ksim |
Date: | Thu, 10 Feb 2022 12:05:22 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 |
On 10/2/22 07:30, Stafford Horne wrote:
This will allow us to attach machine state attributes like the device tree fdt. Signed-off-by: Stafford Horne <shorne@gmail.com> --- hw/openrisc/openrisc_sim.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-)
@@ -141,6 +153,7 @@ static void openrisc_sim_init(MachineState *machine) ram_addr_t ram_size = machine->ram_size; const char *kernel_filename = machine->kernel_filename; OpenRISCCPU *cpus[2] = {}; + Or1ksimState *s = OR1KSIM_MACHINE(machine);
This change belong to patch #3. Otherwise: Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
MemoryRegion *ram; qemu_irq serial_irq; int n; @@ -183,8 +196,10 @@ static void openrisc_sim_init(MachineState *machine) openrisc_load_kernel(ram_size, kernel_filename); }
[Prev in Thread] | Current Thread | [Next in Thread] |