From acb0ef5801fc0caafdcfd34ae62e48d276866a1b Mon Sep 17 00:00:00 2001 From: Bharata B Rao Date: Mon, 19 May 2014 19:57:44 +0200 Subject: 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 [ 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 ] Signed-off-by: Greg Kurz [agraf: fix to apply] Signed-off-by: Alexander Graf --- stubs/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stubs/dump.c') 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" -- cgit v1.1