qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/19] target/mips: Boring code reordering


From: Philippe Mathieu-Daudé
Subject: [PATCH 00/19] target/mips: Boring code reordering
Date: Mon, 7 Dec 2020 00:39:30 +0100

Hi,

This is not what I had plan to finish this WE but well...
at least it is done, and the following series will be
clearer/easier to review.

There are now less dependencies on the big translate.c,
and we can almost build a KVM-only binary (without TCG).

Yet another very boring patch series, sorry.

Regards,

Phil.

Philippe Mathieu-Daudé (19):
  hw/mips: Move address translation helpers to target/mips/
  target/mips: Remove unused headers from translate.c
  target/mips: Remove unused headers from fpu_helper.c
  target/mips: Remove unused headers from cp0_helper.c
  target/mips: Remove unused headers from op_helper.c
  target/mips: Remove unused headers from kvm.c
  target/mips: Include "exec/memattrs.h" in 'internal.h'
  target/mips: Extract cpu_supports*/cpu_set* translate.c
  target/mips: Move mips_cpu_add_definition() from helper.c to cpu.c
  target/mips: Add !CONFIG_USER_ONLY comment after #endif
  target/mips: Extract common helpers from helper.c to common_helper.c
  target/mips: Rename helper.c as tlb_helper.c
  target/mips: Fix code style for checkpatch.pl
  target/mips: Move mmu_init() functions to tlb_helper.c
  target/mips: Move cpu definitions, reset() and realize() to cpu.c
  target/mips: Inline cpu_mips_realize_env() in mips_cpu_realizefn()
  target/mips: Rename translate_init.c as cpu-defs.c
  target/mips: Restrict some TCG specific CPUClass handlers
  target/mips: Only build TCG code when CONFIG_TCG is set

 include/hw/mips/cpudevs.h                     |   7 -
 target/mips/cpu.h                             |   8 +
 target/mips/internal.h                        |   6 +-
 hw/mips/boston.c                              |   1 -
 {hw => target}/mips/addr.c                    |   2 +-
 target/mips/common_helper.c                   | 178 ++++++++++
 target/mips/cp0_helper.c                      |   4 +-
 target/mips/cpu.c                             | 309 +++++++++++++++++-
 target/mips/fpu_helper.c                      |   4 -
 target/mips/kvm.c                             |   3 -
 target/mips/op_helper.c                       |   4 -
 target/mips/{helper.c => tlb_helper.c}        | 244 +++-----------
 target/mips/translate.c                       | 262 ---------------
 hw/mips/meson.build                           |   2 +-
 .../{translate_init.c.inc => cpu-defs.c.inc}  |  57 ----
 target/mips/meson.build                       |  10 +-
 16 files changed, 556 insertions(+), 545 deletions(-)
 rename {hw => target}/mips/addr.c (98%)
 create mode 100644 target/mips/common_helper.c
 rename target/mips/{helper.c => tlb_helper.c} (89%)
 rename target/mips/{translate_init.c.inc => cpu-defs.c.inc} (96%)

-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]