android_kernel_xiaomi_sm8350/arch/powerpc/xmon
Michael Ellerman 4c4c872368 [POWERPC] Prepare for spu disassembly in xmon
In order to do disassembly of spu binaries in xmon, we need to abstract
the disassembly function from ppc_inst_dump.

We do this by making the actual disassembly function a function pointer
that we pass to ppc_inst_dump(). To save updating all the callers, we
turn ppc_inst_dump() into generic_inst_dump() and make ppc_inst_dump()
a wrapper which always uses print_insn_powerpc().

Currently we pass the dialect into print_insn_powerpc(), but we always
pass 0 - so just make it a local.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
2006-12-04 20:40:27 +11:00
..
ansidecl.h powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
Makefile [PATCH] powerpc: Unify udbg (#2) 2006-01-09 14:49:54 +11:00
nonstdio.c powerpc: Simplify and clean up the xmon terminal I/O 2005-11-08 22:55:08 +11:00
nonstdio.h powerpc: Simplify and clean up the xmon terminal I/O 2005-11-08 22:55:08 +11:00
ppc-dis.c [POWERPC] Prepare for spu disassembly in xmon 2006-12-04 20:40:27 +11:00
ppc-opc.c powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
ppc.h powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
setjmp.S [PATCH] powerpc: Consolidate asm compatibility macros 2005-11-10 13:10:38 +11:00
start.c [PATCH] powerpc: Unify udbg (#2) 2006-01-09 14:49:54 +11:00
xmon.c [POWERPC] Prepare for spu disassembly in xmon 2006-12-04 20:40:27 +11:00