qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 02/12] {linux,bsd}-user: Introduce get_task_state()


From: Richard Henderson
Subject: Re: [PATCH v4 02/12] {linux,bsd}-user: Introduce get_task_state()
Date: Mon, 19 Feb 2024 10:46:53 -1000
User-agent: Mozilla Thunderbird

On 2/19/24 04:15, Ilya Leoshkevich wrote:
A CPU's TaskState is stored in the CPUState's void *opaque field,
accessing which is somewhat awkward due to having to use a cast.
Introduce a wrapper and use it everywhere.

Suggested-by: Alex Bennée<alex.bennee@linaro.org>
Signed-off-by: Ilya Leoshkevich<iii@linux.ibm.com>
---
  bsd-user/bsd-file.h           |  2 +-
  bsd-user/qemu.h               |  5 +++++
  bsd-user/signal.c             | 20 ++++++++++----------
  gdbstub/user-target.c         |  4 ++--
  include/user/safe-syscall.h   |  2 +-
  linux-user/aarch64/cpu_loop.c |  2 +-
  linux-user/arm/cpu_loop.c     |  4 ++--
  linux-user/arm/signal.c       |  2 +-
  linux-user/cris/cpu_loop.c    |  2 +-
  linux-user/elfload.c          |  6 +++---
  linux-user/hppa/signal.c      |  2 +-
  linux-user/linuxload.c        |  2 +-
  linux-user/m68k/cpu_loop.c    |  2 +-
  linux-user/m68k/target_cpu.h  |  2 +-
  linux-user/mips/cpu_loop.c    |  2 +-
  linux-user/ppc/signal.c       |  4 ++--
  linux-user/qemu.h             |  5 +++++
  linux-user/riscv/cpu_loop.c   |  2 +-
  linux-user/signal-common.h    |  2 +-
  linux-user/signal.c           | 30 +++++++++++++++---------------
  linux-user/syscall.c          | 26 +++++++++++++-------------
  linux-user/vm86.c             | 18 +++++++++---------
  linux-user/xtensa/signal.c    |  2 +-
  plugins/api.c                 |  8 ++++----
  semihosting/arm-compat-semi.c |  8 ++++----
  25 files changed, 87 insertions(+), 77 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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