qemu/target/tricore
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
..
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cpu.c target/tricore: Implement gdbstub 2020-06-01 16:55:13 +02:00
cpu.h target/tricore: Implement gdbstub 2020-06-01 16:55:13 +02:00
csfr.def tricore: added CORE_ID 2018-03-02 11:46:31 +01:00
fpu_helper.c tricore: add QSEED instruction 2019-06-25 15:02:07 +02:00
gdbstub.c target/tricore: Implement gdbstub 2020-06-01 16:55:13 +02:00
helper.c target/tricore: Implement tricore_cpu_get_phys_page_debug 2020-06-01 16:55:12 +02:00
helper.h target/tricore: Implement a qemu excptions helper 2019-08-22 12:16:58 +02:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
op_helper.c target/tricore: Implement a qemu excptions helper 2019-08-22 12:16:58 +02:00
translate.c target/tricore: Raise EXCP_DEBUG in gen_goto_tb() for singlestep 2020-06-01 16:55:12 +02:00
tricore-defs.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
tricore-opcodes.h Supply missing header guards 2019-06-12 13:20:21 +02:00