s390/dis: Instruction decoding interface
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 23 Jul 2012 15:20:28 +0000 (17:20 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 26 Jul 2012 11:04:29 +0000 (14:04 +0300)
commit9b7fb990e080f3a7c5dff9a829d11247e629b98f
tree666b9ba14865381bdd5504c3fbaa53f531dce76b
parent23d43cf998275bc97437931c0cdee1df2c1aa3ca
s390/dis: Instruction decoding interface

Provide a new function, insn_to_mnemonic, by which e.g. kvm can obtain
a human-readable decoding of an instruction's opcode.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/dis.c