ppc: Create disassemble.h to extract instruction fields
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>
Showing
Please register or sign in to comment