Message ID | 20200212130311.127515-20-ysato@users.sourceforge.jp |
---|---|
State | New |
Headers | show |
Series | Add RX archtecture support | expand |
diff --git a/hw/rx/rx-virt.c b/hw/rx/rx-virt.c index 017941b996..f58fa3e5a8 100644 --- a/hw/rx/rx-virt.c +++ b/hw/rx/rx-virt.c @@ -17,6 +17,7 @@ */ #include "qemu/osdep.h" +#include "qemu/error-report.h" #include "qapi/error.h" #include "qemu-common.h" #include "cpu.h" @@ -56,6 +57,7 @@ static void rx_load_image(RXCPU *cpu, const char *filename, static void rxvirt_init(MachineState *machine) { + MachineClass *mc = MACHINE_GET_CLASS(machine); RX62NState *s = g_new(RX62NState, 1); MemoryRegion *sysmem = get_system_memory(); MemoryRegion *sdram = g_new(MemoryRegion, 1);