[PATCH 0/3] user-mode: Rename CPUState::opaque as CPUState::task_state

Philippe Mathieu-Daudé posted 3 patches 3 years, 2 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210304152607.1817648-1-f4bug@amsat.org
bsd-user/qemu.h                  |  4 ++--
include/hw/core/cpu.h            |  7 ++++--
linux-user/m68k/target_cpu.h     |  3 +--
linux-user/qemu.h                |  6 ++---
bsd-user/main.c                  |  2 +-
gdbstub.c                        | 13 ++++------
hw/semihosting/arm-compat-semi.c | 12 ++++------
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       |  3 +--
linux-user/elfload.c             |  8 +++----
linux-user/hppa/signal.c         |  3 +--
linux-user/linuxload.c           |  2 +-
linux-user/m68k/cpu_loop.c       |  2 +-
linux-user/main.c                |  2 +-
linux-user/mips/cpu_loop.c       |  3 +--
linux-user/ppc/signal.c          |  7 +++---
linux-user/riscv/cpu_loop.c      |  3 +--
linux-user/signal.c              | 34 ++++++++++++--------------
linux-user/syscall.c             | 41 +++++++++++++-------------------
linux-user/vm86.c                | 19 +++++++--------
target/m68k/m68k-semi.c          |  2 +-
23 files changed, 80 insertions(+), 104 deletions(-)
[PATCH 0/3] user-mode: Rename CPUState::opaque as CPUState::task_state
Posted by Philippe Mathieu-Daudé 3 years, 2 months ago
Yet another series trying to clarify CPUState fields.
Here we change 'void *opaque' by 'TaskState *task_state'
to remove confusion regarding when this 'opaque' field
can be used.

Philippe Mathieu-Daudé (3):
  user-mode: Use QEMU_ALIGNED() on TaskState structure
  cpu: Forward-declare user-mode TaskState structure
  user-mode: Rename CPUState::opaque as CPUState::task_state

 bsd-user/qemu.h                  |  4 ++--
 include/hw/core/cpu.h            |  7 ++++--
 linux-user/m68k/target_cpu.h     |  3 +--
 linux-user/qemu.h                |  6 ++---
 bsd-user/main.c                  |  2 +-
 gdbstub.c                        | 13 ++++------
 hw/semihosting/arm-compat-semi.c | 12 ++++------
 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       |  3 +--
 linux-user/elfload.c             |  8 +++----
 linux-user/hppa/signal.c         |  3 +--
 linux-user/linuxload.c           |  2 +-
 linux-user/m68k/cpu_loop.c       |  2 +-
 linux-user/main.c                |  2 +-
 linux-user/mips/cpu_loop.c       |  3 +--
 linux-user/ppc/signal.c          |  7 +++---
 linux-user/riscv/cpu_loop.c      |  3 +--
 linux-user/signal.c              | 34 ++++++++++++--------------
 linux-user/syscall.c             | 41 +++++++++++++-------------------
 linux-user/vm86.c                | 19 +++++++--------
 target/m68k/m68k-semi.c          |  2 +-
 23 files changed, 80 insertions(+), 104 deletions(-)

-- 
2.26.2