]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Add common source file for CSR register
authorBibo Mao <maobibo@loongson.cn>
Thu, 16 Jan 2025 06:22:19 +0000 (14:22 +0800)
committerBibo Mao <maobibo@loongson.cn>
Fri, 24 Jan 2025 06:49:24 +0000 (14:49 +0800)
commitcb6fa4142f883684c7689944020aa95e422e0578
tree66a4f74667d9e76e6d556cb3a57ab85c2379efe8
parentd03114ea20e043278306f168bcf306a6605ed4a5
target/loongarch: Add common source file for CSR register

Common source file csr.c is added here, it can be used by both
TCG mode and kvm mode. The common code is removed from file
tcg/insn_trans/trans_privileged.c.inc to csrc.c

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
target/loongarch/csr.c [new file with mode: 0644]
target/loongarch/csr.h
target/loongarch/meson.build
target/loongarch/tcg/insn_trans/trans_privileged.c.inc