aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/disassemble.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-12-31ppc: Create disassemble.h to extract instruction fieldsHollis Blanchard1-0/+80
This is used in a couple places in KVM, but isn't KVM-specific. However, this patch doesn't modify other in-kernel emulation code: - xmon uses a direct copy of ppc_opc.c from binutils - emulate_instruction() doesn't need it because it can use a series of mask tests. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Acked-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Avi Kivity <avi@redhat.com>