qemu-e2k/target/ppc
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
..
translate ppc patch queue 2020-08-18 2020-08-24 09:35:21 +01:00
arch_dump.c
compat.c error: Eliminate error_propagate() with Coccinelle, part 1 2020-07-10 15:18:08 +02:00
cpu-models.c
cpu-models.h
cpu-param.h
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c
cpu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
dfp_helper.c
excp_helper.c ppc/spapr: Add hotremovable flag on DIMM LMBs on drmem_v2 2020-05-27 15:29:36 +10:00
fpu_helper.c target/ppc: Fix typo in comments 2020-02-21 09:15:04 +11:00
gdbstub.c gdbstub: Introduce gdb_get_float64() to get 64-bit float registers 2020-05-06 09:29:26 +01:00
helper_regs.h
helper.h target/ppc: add vmulh{su}d instructions 2020-08-12 13:16:27 +10:00
int_helper.c ppc patch queue 2020-08-18 2020-08-24 09:35:21 +01:00
internal.h
kvm_ppc.h pseries: fix kvmppc_set_fwnmi() 2020-07-27 11:09:25 +10:00
kvm-stub.c
kvm.c pseries: fix kvmppc_set_fwnmi() 2020-07-27 11:09:25 +10:00
machine.c
mem_helper.c target/ppc: Use probe_write for DCBZ 2020-02-03 11:33:11 +11:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
mfrom_table_gen.c
mfrom_table.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
misc_helper.c target/ppc: Remove superfluous breaks 2020-09-01 08:34:08 +02:00
mmu_helper.c target: Remove unnecessary CPU() cast 2020-05-15 07:08:14 +02:00
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c error: Strip trailing '\n' from error string arguments (again) 2020-07-24 12:56:44 +02:00
mmu-hash64.h
mmu-radix64.c target/ppc: Fix argument to ppc_radix64_partition_scoped_xlate() again 2020-05-27 15:29:36 +10:00
mmu-radix64.h target/ppc: Pass const pointer to ppc_radix64_get_prot_amr() 2020-05-27 15:29:36 +10:00
monitor.c
timebase_helper.c hw/ppc: Take QEMU lock when calling ppc_dcr_read/write() 2020-03-24 11:56:37 +11:00
trace-events trace-events: Delete unused trace points 2020-09-09 17:17:02 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate_init.c.inc target/ppc: Set instance_align on PowerPCCPU TypeInfo 2020-09-18 13:59:51 -04:00
translate.c ppc patch queue 2020-08-18 2020-08-24 09:35:21 +01:00
user_only_helper.c