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
..
2015-06-05 19:45:13 +02:00
2015-03-01 12:33:22 +01:00
2015-06-11 10:13:30 +01:00
2015-06-11 15:33:38 +01:00
2015-06-05 19:45:13 +02:00
2015-06-08 14:07:32 +01:00
2015-06-23 10:32:35 +02:00
2015-03-10 08:15:33 +03:00
2015-06-01 14:18:55 +02:00
2015-04-30 16:05:48 +03:00