]> git.proxmox.com Git - mirror_qemu.git/commit - target/lm32/cpu.h
target-lm32: Let cpu_lm32_init() return LM32CPU
authorAndreas Färber <afaerber@suse.de>
Sun, 6 May 2012 10:40:55 +0000 (12:40 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 4 Jun 2012 21:00:41 +0000 (23:00 +0200)
commit0347d689f7339ec925f3a2dcb2c3bcad4d6ef315
tree7d745d1e4af78f817dba3aca8fb36d0f59bde74d
parent351d56662175bd00473326b0460516c94a427876
target-lm32: Let cpu_lm32_init() return LM32CPU

Make the include paths for cpu-qom.h consistent to allow using LM32CPU
in cpu.h.

Turn cpu_init macro into a static inline function returning CPULM32State
for backwards compatibility.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Michael Walle <michael@walle.cc>
target-lm32/cpu.c
target-lm32/cpu.h
target-lm32/helper.c