unicorn/qemu/include/hw
Peter Maydell 2f3f2ae092
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.

Backports commit fba0a593b2809ecdda68650952cf3d3332ac1990 from qemu
2018-02-17 15:23:16 -05:00
..
arm Stop including qemu-common.h in memory.h 2018-02-17 15:23:16 -05:00
cpu import 2015-08-21 15:04:50 +08:00
i386 target-i386: clear bsp bit when designating bsp 2018-02-12 16:40:35 -05:00
m68k more cleanup in qemu/include/hw/ 2017-01-19 15:20:06 +08:00
mips more cleanup in qemu/include/hw/ 2017-01-19 15:20:06 +08:00
sparc cleanup Sparc unused code 2017-01-23 12:34:00 +08:00
boards.h handle some errors properly so avoid exit() during initialization. this fixes issue #237 2015-11-12 01:43:41 +08:00
hw.h del qemu/include/hw/irq.h 2017-01-19 13:14:15 +08:00
qdev-core.h cleanup Monitor related code 2017-01-23 10:07:01 +08:00
qdev.h import 2015-08-21 15:04:50 +08:00