]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/loongarch: Add generic csr function type
authorBibo Mao <maobibo@loongson.cn>
Wed, 22 Jan 2025 07:13:41 +0000 (15:13 +0800)
committerBibo Mao <maobibo@loongson.cn>
Fri, 24 Jan 2025 06:49:24 +0000 (14:49 +0800)
commit75b2c5da94fc9f94370438d27c179abcc8f424be
tree09397ca6c403b4dde374b6f12be9453243f80445
parent3156b1c1e9eb0954c46346595e6b40af13114fd4
target/loongarch: Add generic csr function type

Parameter type TCGv and TCGv_ptr for function GenCSRRead and GenCSRWrite
is not used in non-TCG mode. Generic csr function type is added here
with parameter void type, so that it passes to compile with non-TCG mode.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
target/loongarch/tcg/insn_trans/trans_privileged.c.inc