qemu/target-s390x
Peter Maydell fba0a593b2 Stop including qemu-common.h in memory.h
Including qemu-common.h from other header files is generally a bad
idea, because it means it's very easy to end up with a circular
dependency. For instance, if we wanted to include memory.h from
qom/cpu.h we'd end up with this loop:
 memory.h -> qemu-common.h -> cpu.h -> cpu-qom.h -> qom/cpu.h -> memory.h

Remove the include from memory.h. This requires us to fix up a few
other files which were inadvertently getting declarations indirectly
through memory.h.

The biggest change is splitting the fprintf_function typedef out
into its own header so other headers can get at it without having
to include qemu-common.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1435933104-15216-1-git-send-email-peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-07-06 14:59:09 +02:00
..
arch_dump.c s390x: Add vector registers to ELF dump 2015-05-27 17:52:03 +02:00
cc_helper.c target-s390x: fix CC computation for LOAD POSITIVE instructions 2015-06-05 01:37:57 +02:00
cpu-qom.h target-s390x: PER storage-alteration event support 2015-06-17 12:40:52 +02:00
cpu.c target-s390x: PER: add Breaking-Event-Address register 2015-06-17 12:40:52 +02:00
cpu.h target-s390x: PER: add Breaking-Event-Address register 2015-06-17 12:40:52 +02:00
fpu_helper.c target-s390x: implement LOAD FP INTEGER instructions 2015-06-05 01:37:59 +02:00
gdbstub.c s390x: gdb updates for vector registers 2015-05-27 17:52:03 +02:00
helper.c target-s390x: PER: add Breaking-Event-Address register 2015-06-17 12:40:52 +02:00
helper.h target-s390x: PER instruction-fetch event support 2015-06-17 12:40:52 +02:00
insn-data.def target-s390x: wire up I/O instructions in TCG mode 2015-06-17 12:40:50 +02:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c target-s390x: remove unused helpers 2015-06-05 01:37:57 +02:00
interrupt.c s390x: Fix sclp console input 2014-11-05 12:01:28 +01:00
ioinst.c s390/ioinst: fix endianness in ioinst_schib_valid 2015-06-17 12:40:50 +02:00
ioinst.h s390/ioinst: fix IO_INT_WORD_ISC macro 2015-06-17 12:40:50 +02:00
kvm.c kvm: First step to push iothread lock out of inner run loop 2015-07-01 15:45:51 +02:00
machine.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
Makefile.objs s390x/mmu: Move mmu_translate() and friends to separate file 2015-02-18 09:36:38 +01:00
mem_helper.c target-s390x: PER store-using-real-address event support 2015-06-17 12:40:52 +02:00
misc_helper.c target-s390x: PER instruction-fetch nullification event support 2015-06-17 12:40:52 +02:00
mmu_helper.c Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
translate.c disas: Remove uses of CPU env 2015-06-22 17:40:01 +02:00