History | View | Annotate | Download (2 kB)
target-lm32: Let cpu_lm32_init() return LM32CPU
Make the include paths for cpu-qom.h consistent to allow using LM32CPUin cpu.h.
Turn cpu_init macro into a static inline function returning CPULM32Statefor backwards compatibility.
Signed-off-by: Andreas Färber <afaerber@suse.de>...
target-lm32: QOM'ify CPU reset
Move code from cpu_state_reset() into QOM lm32_cpu_reset().
Signed-off-by: Andreas Färber <afaerber@suse.de>Acked-by: Michael Walle <michael@walle.cc>
target-lm32: QOM'ify CPU init
Move code from cpu_lm32_init() to an initfn; call cpu_reset()instead of cpu_state_reset().
target-lm32: QOM'ify CPU
Embed CPULM32State as first member of QOM LM32CPU.Let CPUClass::reset() call cpu_state_reset() for now.