disas: QOMify lm32 specific disas setup
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Sun, 12 Jul 2015 02:00:02 +0000 (19:00 -0700)
committerAndreas Färber <afaerber@suse.de>
Thu, 22 Oct 2015 13:49:40 +0000 (15:49 +0200)
commit20984673e68ebd069222512c876b846ff2425cc0
tree42a2b6e72277dd3bea0509d73cb17e04975782d7
parentdf0900eb89a0672a3f924b7e8d20163dee2383db
disas: QOMify lm32 specific disas setup

Move the target_disas() lm32 specifics to the CPUClass::disas_set_info()
hook and delete the #ifdef specific code in disas.c.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Acked-by: Michael Walle <michael@walle.cc>
Signed-off-by: Andreas Färber <afaerber@suse.de>
disas.c
target-lm32/cpu.c