summary refs log tree commit diff stats
path: root/rust/qemu-api-macros/src/lib.rs
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-10-24 15:56:26 -0300
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-03 05:52:49 -0300
commit804607e84b3ac21bacb0a824734de44064b283f1 (patch)
treef64f750c5a0d3ddb3c041fa6d64a404d98a769c7 /rust/qemu-api-macros/src/lib.rs
parent09968fc96cee3d32e03b26b916bd6195f959c3d7 (diff)
downloadfocaccia-qemu-804607e84b3ac21bacb0a824734de44064b283f1.tar.gz
focaccia-qemu-804607e84b3ac21bacb0a824734de44064b283f1.zip
target/mips: Introduce disas_mt_available()
Similarly to commit 17c2c320f3c ("Introduce ase_mt_available helper"),
introduce the disas_mt_available() one which takes a DisasContext
argument to determine whether Multi-Threading is available by
checking the MT bit of the CP0_Config3 register.

Remove the then unused ASE_MT definition.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241024195447.44600-1-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api-macros/src/lib.rs')
0 files changed, 0 insertions, 0 deletions