target-lm32: Introduce QOM realizefn for LM32CPU
authorAndreas Färber <afaerber@suse.de>
Wed, 16 Jan 2013 02:31:27 +0000 (03:31 +0100)
committerAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 13:50:57 +0000 (14:50 +0100)
commit9c23169e8cd54b490d55221b6498d42966f964f3
tree9b042a27c4493c73b92c8a858d1630743728856f
parentca45f8b0440358ccca63446cf0df05772791b2a1
target-lm32: Introduce QOM realizefn for LM32CPU

Introduce a realizefn and set realized = true in cpu_lm32_init().

Also move cpu_reset() call from initfn to realizefn.

Signed-off-by: Andreas Färber <afaerber@suse.de>
target-lm32/cpu-qom.h
target-lm32/cpu.c
target-lm32/helper.c