[POWERPC] Import spu disassembly code into xmon
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 22 Nov 2006 23:46:43 +0000 (00:46 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:40:29 +0000 (20:40 +1100)
commitae06e374c15c5d62e08c19c15f2c247a86e240d4
tree0126919fb2edccaa6f8a50545a403bd5e9deab6b
parent4c4c8723684b1b2cd0dfdf5e0685f35642bde253
[POWERPC] Import spu disassembly code into xmon

This patch imports and munges the spu disassembly code from binutils.

All files originated from version 1.1 in binutils cvs.
 * spu.h, spu-insns.h and spu-opc.c are unchanged except for pathnames.
 * spu-dis.c has been edited heavily:
   * use printf instead of info->fprintf_func and similar.
   * pass the instruction in rather than reading it.
   * we have no equivalent to symbol_at_address_func, so we just assume
     there is never a symbol at the address given.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/xmon/spu-dis.c [new file with mode: 0644]
arch/powerpc/xmon/spu-insns.h [new file with mode: 0644]
arch/powerpc/xmon/spu-opc.c [new file with mode: 0644]
arch/powerpc/xmon/spu.h [new file with mode: 0644]