summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorBharata B Rao <bharata@linux.vnet.ibm.com>2014-05-19 19:57:44 +0200
committerAlexander Graf <agraf@suse.de>2014-06-16 13:24:36 +0200
commitacb0ef5801fc0caafdcfd34ae62e48d276866a1b (patch)
treeb82e7cb819385df211aaeed9a5be137fde6aaf5d /stubs
parent85720d36676ef0b765a69f1e312b4c9d4ff6fa16 (diff)
downloadhqemu-acb0ef5801fc0caafdcfd34ae62e48d276866a1b.zip
hqemu-acb0ef5801fc0caafdcfd34ae62e48d276866a1b.tar.gz
dump: Make DumpState and endian conversion routines available for arch-specific dump code
Make DumpState and endian conversion routines available for arch-specific dump code by moving into dump.h. DumpState will be needed by arch-specific dump code to access target endian information from DumpState->ArchDumpInfo. Also break the dependency of dump.h from stubs/dump.c by creating a separate dump-arch.h. This patch doesn't change any functionality. Signed-off-by: Bharata B Rao <bharata@linux.ibm.com> [ rebased on top of current master branch, renamed endian helpers to cpu_to_dump{16,32,64}, pass a DumpState * argument to endian helpers, Greg Kurz <gkurz@linux.vnet.ibm.com> ] Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> [agraf: fix to apply] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/dump.c b/stubs/dump.c
index 370cd96..fac7019 100644
--- a/stubs/dump.c
+++ b/stubs/dump.c
@@ -12,7 +12,7 @@
*/
#include "qemu-common.h"
-#include "sysemu/dump.h"
+#include "sysemu/dump-arch.h"
#include "qapi/qmp/qerror.h"
#include "qmp-commands.h"
OpenPOWER on IntegriCloud