• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision79439d18951310baaaed89125f97038292cdba97 (tree)
Time2020-02-24 23:09:50
AuthorPhilippe Mathieu-Daudé <philmd@redh...>
CommiterYoshinori Sato

Log Message

hw/rx: Restrict the RX62N microcontroller to the RX62N CPU core

While the VIRT machine can use different microcontrollers,
the RX62N microcontroller is tied to the RX62N CPU core.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Change Summary

Incremental Difference

--- a/hw/rx/rx-virt.c
+++ b/hw/rx/rx-virt.c
@@ -17,6 +17,7 @@
1717 */
1818
1919 #include "qemu/osdep.h"
20+#include "qemu/error-report.h"
2021 #include "qapi/error.h"
2122 #include "qemu-common.h"
2223 #include "cpu.h"
@@ -56,6 +57,7 @@ static void rx_load_image(RXCPU *cpu, const char *filename,
5657
5758 static void rxvirt_init(MachineState *machine)
5859 {
60+ MachineClass *mc = MACHINE_GET_CLASS(machine);
5961 RX62NState *s = g_new(RX62NState, 1);
6062 MemoryRegion *sysmem = get_system_memory();
6163 MemoryRegion *sdram = g_new(MemoryRegion, 1);