[PATCH 0/5] target/loongarch: Move TCG specified functions to tcg_cpu.c

Bibo Mao posted 5 patches 6 days, 7 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250922073400.1308169-1-maobibo@loongson.cn
Maintainers: Song Gao <gaosong@loongson.cn>
target/loongarch/cpu.c               | 318 +-------------------------
target/loongarch/cpu.h               |   3 +
target/loongarch/internals.h         |   2 -
target/loongarch/tcg/meson.build     |   1 +
target/loongarch/tcg/tcg_cpu.c       | 322 +++++++++++++++++++++++++++
target/loongarch/tcg/tcg_loongarch.h |   1 +
6 files changed, 329 insertions(+), 318 deletions(-)
create mode 100644 target/loongarch/tcg/tcg_cpu.c
[PATCH 0/5] target/loongarch: Move TCG specified functions to tcg_cpu.c
Posted by Bibo Mao 6 days, 7 hours ago
Some functions defined in file target/loongarch/cpu.c are TCG specified,
new file target/loongarch/tcg/tcg_cpu.c is created here and move TCG
specified functions to new file.

Bibo Mao (5):
  target/loongarch: Move TCG specified functions to tcg_cpu.c
  target/loongarch: Set function loongarch_cpu_has_work() as public
  target/loongarch: Set file tcg_cpu.c separate from cpu.c
  target/loongarch: Move function do_raise_exception() to tcg_cpu.c
  target/loongarch: Define loongarch_exception_name() as static

 target/loongarch/cpu.c               | 318 +-------------------------
 target/loongarch/cpu.h               |   3 +
 target/loongarch/internals.h         |   2 -
 target/loongarch/tcg/meson.build     |   1 +
 target/loongarch/tcg/tcg_cpu.c       | 322 +++++++++++++++++++++++++++
 target/loongarch/tcg/tcg_loongarch.h |   1 +
 6 files changed, 329 insertions(+), 318 deletions(-)
 create mode 100644 target/loongarch/tcg/tcg_cpu.c


base-commit: ab8008b231e758e03c87c1c483c03afdd9c02e19
-- 
2.39.3