• 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

Revisiona74ed4ad8c97475e294df4225c348d607cb81448 (tree)
Time2019-01-20 16:43:14
AuthorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

rename dummy to rx-qemu

Change Summary

Incremental Difference

--- a/hw/rx/Makefile.objs
+++ b/hw/rx/Makefile.objs
@@ -1 +1 @@
1-obj-y += rx62n.o dummy.o
1+obj-y += rx62n.o rxqemu.o
--- a/hw/rx/dummy.c
+++ b/hw/rx/rxqemu.c
@@ -1,5 +1,5 @@
11 /*
2- * RX dummy target
2+ * RX QEMU virtual target
33 *
44 * Copyright (c) 2018 Yoshinori Sato
55 *
@@ -37,7 +37,7 @@
3737 #include "exec/address-spaces.h"
3838 #include "exec/cpu-all.h"
3939
40-static void dummy_init(MachineState *machine)
40+static void rxqemu_init(MachineState *machine)
4141 {
4242 DeviceState *cpu;
4343 MemoryRegion *sysmem = get_system_memory();
@@ -48,7 +48,7 @@ static void dummy_init(MachineState *machine)
4848 int dtb_size;
4949
5050 /* Allocate memory space */
51- memory_region_init_ram(sdram, NULL, "dummy.sdram", 0x01000000,
51+ memory_region_init_ram(sdram, NULL, "rxqemu.sdram", 0x01000000,
5252 &error_fatal);
5353 memory_region_add_subregion(sysmem, 0x01000000, sdram);
5454
@@ -79,25 +79,25 @@ static void dummy_init(MachineState *machine)
7979 }
8080 }
8181
82-static void rxdummy_class_init(ObjectClass *oc, void *data)
82+static void rxqemu_class_init(ObjectClass *oc, void *data)
8383 {
8484 MachineClass *mc = MACHINE_CLASS(oc);
8585
86- mc->desc = "RX dummy";
87- mc->init = dummy_init;
86+ mc->desc = "RX QEMU Virtual Target";
87+ mc->init = rxqemu_init;
8888 mc->is_default = 1;
8989 mc->default_cpu_type = TYPE_RXCPU;
9090 }
9191
92-static const TypeInfo rxdummy_type = {
93- .name = MACHINE_TYPE_NAME("rxdymmy"),
92+static const TypeInfo rxqemu_type = {
93+ .name = MACHINE_TYPE_NAME("rx-qemu"),
9494 .parent = TYPE_MACHINE,
95- .class_init = rxdummy_class_init,
95+ .class_init = rxqemu_class_init,
9696 };
9797
98-static void rxdummy_machine_init(void)
98+static void rxqemu_machine_init(void)
9999 {
100- type_register_static(&rxdummy_type);
100+ type_register_static(&rxqemu_type);
101101 }
102102
103-type_init(rxdummy_machine_init)
103+type_init(rxqemu_machine_init)