OSDN Git Service

target/openrisc: Enable MTTCG
authorStafford Horne <shorne@gmail.com>
Tue, 14 Jun 2022 23:43:56 +0000 (08:43 +0900)
committerStafford Horne <shorne@gmail.com>
Sun, 4 Sep 2022 06:02:57 +0000 (07:02 +0100)
commit6a0fc96ad2b16a264ead6b696bdb91a963450dbb
treebc0788cebe1049a888fce15c29ba1c0cfdc57867
parentbbe6855ef80f61c6b00da22aa0cd550d79d8e381
target/openrisc: Enable MTTCG

This patch enables multithread TCG for OpenRISC.  Since the or1k shared
syncrhonized timer can be updated from each vCPU via helpers we use a
mutex to synchronize updates.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
configs/targets/or1k-softmmu.mak
target/openrisc/cpu.h
target/openrisc/sys_helper.c