mirror_qemu/target/xtensa
Eduardo Habkost 30b5707c26 qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros
One of the goals of having less boilerplate on QOM declarations
is to avoid human error.  Requiring an extra argument that is
never used is an opportunity for mistakes.

Remove the unused argument from OBJECT_DECLARE_TYPE and
OBJECT_DECLARE_SIMPLE_TYPE.

Coccinelle patch used to convert all users of the macros:

  @@
  declarer name OBJECT_DECLARE_TYPE;
  identifier InstanceType, ClassType, lowercase, UPPERCASE;
  @@
   OBJECT_DECLARE_TYPE(InstanceType, ClassType,
  -                    lowercase,
                       UPPERCASE);

  @@
  declarer name OBJECT_DECLARE_SIMPLE_TYPE;
  identifier InstanceType, lowercase, UPPERCASE;
  @@
   OBJECT_DECLARE_SIMPLE_TYPE(InstanceType,
  -                    lowercase,
                       UPPERCASE);

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Paul Durrant <paul@xen.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200916182519.415636-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-18 14:12:32 -04:00
..
core-dc232b meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-dc233c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de212 meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de233_fpu target/xtensa: import de233_fpu core 2020-08-21 12:53:48 -07:00
core-dsp3400 target/xtensa: import DSP3400 core 2020-08-21 12:56:45 -07:00
core-fsf meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-sample_controller meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_kc705_be meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_mmuhifi_c3 meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-dc232b.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-dc233c.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de212.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de233_fpu.c target/xtensa: import de233_fpu core 2020-08-21 12:53:48 -07:00
core-dsp3400.c target/xtensa: import DSP3400 core 2020-08-21 12:56:45 -07:00
core-fsf.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-sample_controller.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_kc705_be.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_mmuhifi_c3.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c target/xtensa: add DFPU registers and opcodes 2020-08-21 12:48:15 -07:00
cpu.h target/xtensa: add DFPU registers and opcodes 2020-08-21 12:48:15 -07:00
dbg_helper.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
exc_helper.c target/xtensa: implement NMI support 2020-08-21 12:48:14 -07:00
fpu_helper.c target/xtensa: implement FPU division and square root 2020-08-21 12:48:15 -07:00
gdbstub.c gdbstub: Do not use memset() on GByteArray 2020-04-15 11:38:23 +01:00
helper.c target/xtensa: add geometry to xtensa_get_regfile_by_name 2020-08-21 12:48:15 -07:00
helper.h target/xtensa: implement FPU division and square root 2020-08-21 12:48:15 -07:00
import_core.sh meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
meson.build target/xtensa: import DSP3400 core 2020-08-21 12:56:45 -07:00
mmu_helper.c target/xtensa: Use probe_access for itlb_hit_test 2020-01-15 15:13:09 -10:00
monitor.c hmp: Move hmp.h to include/monitor/ 2019-07-02 07:19:45 +02:00
op_helper.c target/xtensa: implement exclusive access option 2019-05-15 10:31:52 -07:00
overlay_tool.h target/xtensa: add DFPU registers and opcodes 2020-08-21 12:48:15 -07:00
translate.c target/xtensa: implement FPU division and square root 2020-08-21 12:48:15 -07:00
win_helper.c target/xtensa: only rotate window in the retw helper 2019-02-28 04:43:22 -08:00
xtensa-isa-internal.h Clean up decorations and whitespace around header guards 2019-05-13 08:58:55 +02:00
xtensa-isa.c Clean up includes 2018-02-09 05:05:11 +01:00
xtensa-isa.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
xtensa-semi.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00