]> git.proxmox.com Git - mirror_qemu.git/commit - dump.c
dump: Make DumpState and endian conversion routines available for arch-specific dump...
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Mon, 19 May 2014 17:57:44 +0000 (19:57 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:36 +0000 (13:24 +0200)
commitacb0ef5801fc0caafdcfd34ae62e48d276866a1b
treeb82e7cb819385df211aaeed9a5be137fde6aaf5d
parent85720d36676ef0b765a69f1e312b4c9d4ff6fa16
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>
dump.c
include/sysemu/dump-arch.h [new file with mode: 0644]
include/sysemu/dump.h
stubs/dump.c