qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] accel/tcg: API prototype cleanups
@ 2024-11-15 15:20 Philippe Mathieu-Daudé
  2024-11-15 15:20 ` [PATCH 01/10] target/mips: Drop left-over comment about Jazz machine Philippe Mathieu-Daudé
                   ` (9 more replies)
  0 siblings, 10 replies; 28+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-11-15 15:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Philippe Mathieu-Daudé

Preparatory cleanup patches extracted to bigger series which
rename TCG frontend functions to avoid name clash when linking
multiple target into the same binary.

Worth to remove few QOM cast boilerplate, per diff-stat:

 64 files changed, 230 insertions(+), 355 deletions(-)
                   ---                ^^^

Philippe Mathieu-Daudé (10):
  target/mips: Drop left-over comment about Jazz machine
  target/loongarch: Declare loongarch_cpu_dump_state() locally
  target/sparc: Move sparc_restore_state_to_opc() to cpu.c
  accel/tcg: Ensure frontends define restore_state_to_opc handler
  accel/tcg: Move cpu_unwind_state_data() declaration
  accel/tcg: Remove cpu_unwind_state_data() unused CPUState argument
  accel/tcg: Reduce log_pc() declaration scope
  hw/core/cpu: Pass CPUArchState to set/get_pc() handlers
  hw/core/cpu: Pass CPUArchState to restore_state_to_opc() handler
  hw/core/cpu: Pass CPUArchState to cpu_dump_state() handler

 accel/tcg/internal-target.h    | 10 ---------
 include/exec/cpu-common.h      | 13 ------------
 include/exec/translate-all.h   | 11 ++++++++++
 include/hw/core/cpu.h          |  8 +++----
 include/hw/core/tcg-cpu-ops.h  |  2 +-
 target/alpha/cpu.h             |  2 +-
 target/arm/internals.h         |  2 +-
 target/hppa/cpu.h              |  2 +-
 target/i386/cpu.h              |  2 +-
 target/loongarch/internals.h   |  2 --
 target/m68k/cpu.h              |  2 +-
 target/microblaze/cpu.h        |  2 +-
 target/mips/tcg/tcg-internal.h |  2 +-
 target/openrisc/cpu.h          |  2 +-
 target/ppc/cpu.h               |  2 +-
 target/rx/cpu.h                |  2 +-
 target/s390x/s390x-internal.h  |  4 ++--
 target/sh4/cpu.h               |  2 +-
 target/sparc/cpu.h             | 11 +++++++---
 target/tricore/cpu.h           |  2 +-
 target/xtensa/cpu.h            |  2 +-
 accel/tcg/cpu-exec.c           | 25 +++++++++++++++++-----
 accel/tcg/translate-all.c      |  6 +++---
 hw/core/cpu-common.c           |  2 +-
 hw/core/generic-loader.c       |  2 +-
 target/alpha/cpu.c             | 10 +++------
 target/alpha/helper.c          |  3 +--
 target/arm/cpu.c               | 28 ++++++++----------------
 target/avr/cpu.c               | 19 ++++++-----------
 target/hexagon/cpu.c           | 21 +++++++-----------
 target/hppa/cpu.c              | 18 ++++++----------
 target/hppa/helper.c           |  3 +--
 target/hppa/int_helper.c       |  2 +-
 target/hppa/sys_helper.c       |  6 ++----
 target/i386/cpu-dump.c         |  5 ++---
 target/i386/cpu.c              | 12 ++++-------
 target/i386/helper.c           |  3 ++-
 target/i386/tcg/tcg-cpu.c      |  4 +---
 target/loongarch/cpu.c         | 15 ++++++-------
 target/m68k/cpu.c              | 19 ++++++-----------
 target/m68k/translate.c        |  3 +--
 target/microblaze/cpu.c        | 22 +++++++------------
 target/microblaze/translate.c  |  3 +--
 target/mips/cpu.c              | 17 +++++----------
 target/mips/tcg/translate.c    |  4 +---
 target/openrisc/cpu.c          | 24 ++++++++-------------
 target/openrisc/sys_helper.c   |  7 +++---
 target/openrisc/translate.c    |  3 +--
 target/ppc/cpu_init.c          | 23 +++++++-------------
 target/riscv/cpu.c             | 16 ++++----------
 target/riscv/tcg/tcg-cpu.c     |  4 +---
 target/rx/cpu.c                | 18 ++++++----------
 target/rx/translate.c          |  3 +--
 target/s390x/cpu-dump.c        |  3 +--
 target/s390x/cpu.c             | 12 ++++-------
 target/s390x/tcg/translate.c   |  3 +--
 target/sh4/cpu.c               | 20 ++++++-----------
 target/sh4/translate.c         |  3 +--
 target/sparc/cpu.c             | 39 ++++++++++++++++++++++++----------
 target/sparc/translate.c       | 32 ----------------------------
 target/tricore/cpu.c           | 12 +++++------
 target/tricore/translate.c     |  3 +--
 target/xtensa/cpu.c            | 18 ++++++----------
 target/xtensa/translate.c      |  3 +--
 64 files changed, 230 insertions(+), 355 deletions(-)

-- 
2.45.2



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2025-03-19  7:53 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-15 15:20 [PATCH 00/10] accel/tcg: API prototype cleanups Philippe Mathieu-Daudé
2024-11-15 15:20 ` [PATCH 01/10] target/mips: Drop left-over comment about Jazz machine Philippe Mathieu-Daudé
2024-11-15 15:39   ` Peter Maydell
2024-11-15 17:14   ` Richard Henderson
2024-11-15 15:20 ` [PATCH 02/10] target/loongarch: Declare loongarch_cpu_dump_state() locally Philippe Mathieu-Daudé
2024-11-15 15:40   ` Peter Maydell
2024-11-15 17:15   ` Richard Henderson
2024-11-15 15:20 ` [PATCH 03/10] target/sparc: Move sparc_restore_state_to_opc() to cpu.c Philippe Mathieu-Daudé
2024-11-15 15:42   ` Peter Maydell
2024-11-15 17:17   ` Richard Henderson
2024-11-15 15:20 ` [PATCH 04/10] accel/tcg: Ensure frontends define restore_state_to_opc handler Philippe Mathieu-Daudé
2024-11-15 15:20 ` [PATCH 05/10] accel/tcg: Move cpu_unwind_state_data() declaration Philippe Mathieu-Daudé
2024-11-15 15:48   ` Peter Maydell
2024-11-15 16:04     ` Philippe Mathieu-Daudé
2024-11-15 15:20 ` [PATCH 06/10] accel/tcg: Remove cpu_unwind_state_data() unused CPUState argument Philippe Mathieu-Daudé
2024-11-15 15:50   ` Peter Maydell
2024-11-15 17:23   ` Richard Henderson
2024-11-15 17:33     ` Peter Maydell
2025-03-19  7:53       ` Philippe Mathieu-Daudé
2024-11-15 15:20 ` [PATCH 07/10] accel/tcg: Reduce log_pc() declaration scope Philippe Mathieu-Daudé
2024-11-15 15:51   ` Peter Maydell
2024-11-15 17:26   ` Richard Henderson
2024-11-15 15:20 ` [PATCH 08/10] hw/core/cpu: Pass CPUArchState to set/get_pc() handlers Philippe Mathieu-Daudé
2024-11-15 15:54   ` Peter Maydell
2024-11-15 16:21     ` Paolo Bonzini
2024-11-15 17:51       ` Richard Henderson
2024-11-15 15:20 ` [PATCH 09/10] hw/core/cpu: Pass CPUArchState to restore_state_to_opc() handler Philippe Mathieu-Daudé
2024-11-15 15:20 ` [PATCH 10/10] hw/core/cpu: Pass CPUArchState to cpu_dump_state() handler Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).