Skip to content

Commit

Permalink
dump: Make DumpState and endian conversion routines available for arc…
Browse files Browse the repository at this point in the history
…h-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 <[email protected]>
[ 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 <[email protected]> ]
Signed-off-by: Greg Kurz <[email protected]>
[agraf: fix to apply]
Signed-off-by: Alexander Graf <[email protected]>
  • Loading branch information
Bharata B Rao authored and agraf committed Jun 16, 2014
1 parent 85720d3 commit acb0ef5
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 152 deletions.
Loading

0 comments on commit acb0ef5

Please sign in to comment.