qemu/target/moxie
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.c cpu: Use DeviceClass reset instead of a special CPUClass reset 2020-03-17 19:48:10 -04:00
cpu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
helper.c target/moxie: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
helper.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
machine.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
machine.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
mmu.c target/moxie: Fix LGPL information in the file headers 2019-02-06 15:46:11 +01:00
mmu.h Supply missing header guards 2019-06-12 13:20:21 +02:00
translate.c tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00