a8d2532645
Include qemu-common.h exactly where needed
...
No header includes qemu-common.h after this commit, as prescribed by
qemu-common.h's file comment.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-Id: <20190523143508.25387-5-armbru@redhat.com >
[Rebased with conflicts resolved automatically, except for
include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
net/tap-bsd.c fixed up]
2019-06-12 13:20:20 +02:00
1d48474d8e
disas: Remove unused flags arguments
...
Now that every target is using the disas_set_info hook,
the flags argument is unused. Remove it.
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2017-10-25 11:55:09 +02:00
2a6a4076e1
Clean up ill-advised or unusual header guards
...
Cleaned up with scripts/clean-header-guards.pl.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Reviewed-by: Richard Henderson <rth@twiddle.net >
2016-07-12 16:20:46 +02:00
33c11879fd
qemu-common: push cpu.h inclusion out of qemu-common.h
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2016-05-19 16:42:29 +02:00
d49190c420
disas: Remove uses of CPU env
...
disas does not need to access the CPU env for any reason. Change the
APIs to accept CPU pointers instead. Small change pattern needs to be
applied to all target translate.c. This brings us closer to making
disas.o a common-obj and less architecture specific in general.
Cc: Richard Henderson <rth@twiddle.net >
Cc: Peter Maydell <peter.maydell@linaro.org >
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com >
Cc: Paolo Bonzini <pbonzini@redhat.com >
Cc: Eduardo Habkost <ehabkost@redhat.com >
Cc: Michael Walle <michael@walle.cc >
Cc: Aurelien Jarno <aurelien@aurel32.net >
Cc: Leon Alrae <leon.alrae@imgtec.com >
Cc: Jia Liu <proljc@gmail.com >
Cc: Alexander Graf <agraf@suse.de >
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk >
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de >
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn >
Cc: Max Filippov <jcmvbkbc@gmail.com >
Reviewed-by: Richard Henderson <rth@twiddle.net >
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com >
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com >
Acked-by: Luiz Capitulino <lcapitulino@redhat.com >
Signed-off-by: Markus Armbruster <armbru@redhat.com >
2015-06-22 17:40:01 +02:00
76cad71136
build: kill libdis, move disassemblers to disas/
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2012-12-19 08:29:06 +01:00