diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-05-23 16:35:08 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:20:20 +0200 |
commit | a8d2532645cf5ce4f75981f81dfe363efc35d05c (patch) | |
tree | 9572944040e99117f69f46d6e99488e8073f65c3 /target/openrisc | |
parent | 0b8fa32f551e863bb548a11394239239270dd3dc (diff) |
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]
Diffstat (limited to 'target/openrisc')
-rw-r--r-- | target/openrisc/cpu.c | 1 | ||||
-rw-r--r-- | target/openrisc/cpu.h | 1 | ||||
-rw-r--r-- | target/openrisc/disas.c | 1 | ||||
-rw-r--r-- | target/openrisc/exception.h | 1 | ||||
-rw-r--r-- | target/openrisc/gdbstub.c | 1 | ||||
-rw-r--r-- | target/openrisc/interrupt.c | 1 | ||||
-rw-r--r-- | target/openrisc/machine.c | 1 | ||||
-rw-r--r-- | target/openrisc/mmu.c | 1 | ||||
-rw-r--r-- | target/openrisc/translate.c | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/target/openrisc/cpu.c b/target/openrisc/cpu.c index d5b0134371..f19e482a55 100644 --- a/target/openrisc/cpu.c +++ b/target/openrisc/cpu.c @@ -21,7 +21,6 @@ #include "qapi/error.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "qemu-common.h" static void openrisc_cpu_set_pc(CPUState *cs, vaddr value) { diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h index 9b80834d68..f23b25262d 100644 --- a/target/openrisc/cpu.h +++ b/target/openrisc/cpu.h @@ -20,7 +20,6 @@ #ifndef OPENRISC_CPU_H #define OPENRISC_CPU_H -#include "qemu-common.h" #include "exec/cpu-defs.h" #include "qom/cpu.h" diff --git a/target/openrisc/disas.c b/target/openrisc/disas.c index 5923b2429e..7091832347 100644 --- a/target/openrisc/disas.c +++ b/target/openrisc/disas.c @@ -18,7 +18,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "disas/dis-asm.h" #include "qemu/bitops.h" #include "cpu.h" diff --git a/target/openrisc/exception.h b/target/openrisc/exception.h index c9c4e471d2..333bf84638 100644 --- a/target/openrisc/exception.h +++ b/target/openrisc/exception.h @@ -21,7 +21,6 @@ #define TARGET_OPENRISC_EXCEPTION_H #include "cpu.h" -#include "qemu-common.h" void QEMU_NORETURN raise_exception(OpenRISCCPU *cpu, uint32_t excp); diff --git a/target/openrisc/gdbstub.c b/target/openrisc/gdbstub.c index 43b1a18d4b..0fcdb79668 100644 --- a/target/openrisc/gdbstub.c +++ b/target/openrisc/gdbstub.c @@ -18,7 +18,6 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "cpu.h" #include "exec/gdbstub.h" diff --git a/target/openrisc/interrupt.c b/target/openrisc/interrupt.c index ee280df895..3eab771dcd 100644 --- a/target/openrisc/interrupt.c +++ b/target/openrisc/interrupt.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "qemu-common.h" #include "exec/gdbstub.h" #include "qemu/host-utils.h" #ifndef CONFIG_USER_ONLY diff --git a/target/openrisc/machine.c b/target/openrisc/machine.c index c9e084814c..9fa285217d 100644 --- a/target/openrisc/machine.c +++ b/target/openrisc/machine.c @@ -18,7 +18,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "cpu.h" #include "hw/hw.h" #include "hw/boards.h" diff --git a/target/openrisc/mmu.c b/target/openrisc/mmu.c index a73b12af03..94df8c7bef 100644 --- a/target/openrisc/mmu.c +++ b/target/openrisc/mmu.c @@ -21,7 +21,6 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" -#include "qemu-common.h" #include "exec/gdbstub.h" #include "qemu/host-utils.h" #ifndef CONFIG_USER_ONLY diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index 36821948c0..4360ce4045 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -23,7 +23,6 @@ #include "exec/exec-all.h" #include "disas/disas.h" #include "tcg-op.h" -#include "qemu-common.h" #include "qemu/log.h" #include "qemu/bitops.h" #include "qemu/qemu-print.h" |