qemu-patch-raspberry4/include/hw/ppc
Eduardo Habkost db1015e92e Move QOM typedefs and add missing includes
Some typedefs and macros are defined after the type check macros.
This makes it difficult to automatically replace their
definitions with OBJECT_DECLARE_TYPE.

Patch generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]')

which will split "typdef struct { ... } TypedefName"
declarations.

Followed by:

 $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \
    $(git grep -l '' -- '*.[ch]')

which will:
- move the typedefs and #defines above the type check macros
- add missing #include "qom/object.h" lines if necessary

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-9-ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-10-ehabkost@redhat.com>
Message-Id: <20200831210740.126168-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-09 09:26:43 -04:00
..
fdt.h target/ppc: Pass cpu instead of env to ppc_create_page_sizes_prop() 2018-04-27 18:05:22 +10:00
mac_dbdma.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
openpic.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
openpic_kvm.h openpic: move KVM-specific declarations into separate openpic_kvm.h file 2018-03-06 13:16:29 +11:00
pnv.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_core.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_homer.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_lpc.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_occ.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_pnor.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_psi.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_xive.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pnv_xscom.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ppc.h hw/ppc/prep: Remove the deprecated "prep" machine and the OpenHackware BIOS 2020-02-02 14:07:57 +11:00
ppc4xx.h ppc/{ppc440_bamboo, sam460ex}: use memdev for RAM 2020-02-19 16:50:00 +00:00
ppc_e500.h intc/openpic: Build openpic only once 2013-07-09 21:33:02 +02:00
spapr.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
spapr_cpu_core.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
spapr_drc.h spapr: Remove unnecessary DRC type-checker macros 2020-09-08 10:08:42 +10:00
spapr_irq.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
spapr_numa.h spapr, spapr_numa: move lookup-arrays handling to spapr_numa.c 2020-09-08 10:08:43 +10:00
spapr_nvdimm.h spapr: introduce SpaprMachineState::numa_assoc_array 2020-09-08 10:08:43 +10:00
spapr_ovec.h spapr: Rename DT functions to newer naming convention 2020-03-17 17:00:19 +11:00
spapr_rtas.h tests: add RTAS command in the protocol 2016-09-23 10:29:40 +10:00
spapr_tpm_proxy.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
spapr_vio.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
spapr_xive.h spapr/xive: Add a 'hv-prio' property to represent the KVM escalation priority 2020-09-08 10:08:42 +10:00
xics.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xics_spapr.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xive.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xive_regs.h spapr: Fix typos in comments and macro indentation 2020-06-26 09:22:30 +10:00