]> git.proxmox.com Git - qemu.git/commit
target-unicore32: Move TCG initialization to UniCore32CPU initfn
authorAndreas Färber <afaerber@suse.de>
Sun, 20 Jan 2013 00:36:47 +0000 (01:36 +0100)
committerAndreas Färber <afaerber@suse.de>
Sat, 16 Feb 2013 13:50:59 +0000 (14:50 +0100)
commitd9c27f00b174df070470d48d6577042d2186d969
treedb1dee3c47ae884d1560da451512d370a1a0b321
parent5266d20a12f2ef01841aad5f1692d73551a39dac
target-unicore32: Move TCG initialization to UniCore32CPU initfn

Normalize the "inited" logic and add a tcg_enabled() check to suppress
it for qtest.

Ensures that a QOM-created UniCore32CPU is usable.

Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-unicore32/cpu.c
target-unicore32/helper.c