exec: Split some user-mode specific declarations from 'exec/exec-all.h'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | accel/tcg: Add missing 'tcg/tcg.h' headeraccel/ accel/ accel/ +1 more | +4 | 2 replies | |
| 2/9 | coverity-scan: Cover common-user/scripts/ | +1 | 4 replies | |
| 3/9 | include: Move exec/user/ to user/bsd-user/ include/ include/ +6 more | +11 | 1 reply | |
| 4/9 | linux-user/exit: Add missing 'qemu/plugin.h' headerlinux-user/ | +1 | 1 reply | |
| 5/9 | linux-user/cpu_loop: Add missing 'exec/cpu-all.h' headerlinux-user/ | +1 | 1 reply | |
| 6/9 | exec: Define MMUAccessType in 'exec/cpu-tlb.h' headerinclude/ include/ include/ +10 more | +34 | 2 replies | |
| 7/9 | user: Declare target-specific prototypes in 'user/cpu-target.h'accel/ bsd-user/ bsd-user/ +31 more | +87 | 2 replies | |
| 8/9 | user: Declare target-agnostic prototypes in 'user/cpu-common.h'bsd-user/ include/ include/ +4 more | +39 | 0 replies | |
| 9/9 | user: Share preexit_cleanup() with linux and bsd implementationscommon-user/ common-user/ linux-user/ | +1 | 1 reply |
Reviews trailers per patch
5 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/9 | |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] exec: Split some user-mode specific declarations from 'exec/exec-all.h'
- Add missing headers
- Merge exec/user/ to user/
- Extract MMUAccessType from QOM "hw/core/cpu.h" to "exec/cpu-tlb.h"
- Extract user-specific declarations to "user/cpu-{common,target}.h"
- Share preexit_cleanup() from Linux with BSD
More to come, but flushing for early feedback.
Based-on: <[email protected]>
Philippe Mathieu-Daudé (9):
accel/tcg: Add missing 'tcg/tcg.h' header
coverity-scan: Cover common-user/
include: Move exec/user/ to user/
linux-user/exit: Add missing 'qemu/plugin.h' header linux-user/cpu_loop: Add missing 'exec/cpu-all.h' header
exec: Define MMUAccessType in 'exec/cpu-tlb.h' header
user: Declare target-specific prototypes in 'user/cpu-target.h'
user: Declare target-agnostic prototypes in 'user/cpu-common.h'
user: Share preexit_cleanup() with linux and bsd implementations
accel/tcg/tcg-accel-ops-icount.c | 1 +
accel/tcg/tcg-accel-ops-mttcg.c | 1 +
accel/tcg/tcg-accel-ops-rr.c | 1 +
accel/tcg/tcg-accel-ops.c | 1 +
accel/tcg/user-exec.c | 1 +
bsd-user/elfload.c | 1 +
bsd-user/main.c | 1 +
bsd-user/qemu.h | 6 ++--
bsd-user/signal.c | 1 +
{linux-user => common-user}/exit.c | 4 +--
common-user/meson.build | 1 +
include/exec/cpu-all.h | 5 ++-
include/exec/cpu-defs.h | 1 +
include/exec/cpu-tlb.h | 16 +++++++++
include/exec/cpu_ldst.h | 1 +
include/exec/exec-all.h | 54 ++--------------------------
include/hw/core/cpu.h | 6 ----
include/hw/core/tcg-cpu-ops.h | 1 +
include/{exec => }/user/abitypes.h | 0
include/user/cpu-common.h | 36 +++++++++++++++++++
include/user/cpu-target.h | 56 +++++++++++++++++++++++++++++
include/user/safe-syscall.h | 6 ++--
include/{exec => }/user/thunk.h | 2 +-
linux-user/aarch64/cpu_loop.c | 1 +
linux-user/alpha/cpu_loop.c | 1 +
linux-user/arm/cpu_loop.c | 1 +
linux-user/arm/signal.c | 1 +
linux-user/cpu_loop-common.h | 1 +
linux-user/cris/cpu_loop.c | 1 +
linux-user/elfload.c | 1 +
linux-user/hexagon/cpu_loop.c | 1 +
linux-user/hppa/cpu_loop.c | 1 +
linux-user/hppa/signal.c | 1 +
linux-user/i386/cpu_loop.c | 1 +
linux-user/linuxload.c | 1 +
linux-user/m68k/cpu_loop.c | 1 +
linux-user/main.c | 1 +
linux-user/meson.build | 1 -
linux-user/microblaze/cpu_loop.c | 1 +
linux-user/mips/cpu_loop.c | 1 +
linux-user/mmap.c | 1 +
linux-user/nios2/cpu_loop.c | 1 +
linux-user/openrisc/cpu_loop.c | 1 +
linux-user/ppc/cpu_loop.c | 1 +
linux-user/ppc/signal.c | 1 +
linux-user/qemu.h | 2 +-
linux-user/riscv/cpu_loop.c | 1 +
linux-user/s390x/cpu_loop.c | 1 +
linux-user/sh4/cpu_loop.c | 1 +
linux-user/signal.c | 1 +
linux-user/sparc/cpu_loop.c | 1 +
linux-user/syscall.c | 1 +
linux-user/thunk.c | 2 +-
linux-user/uaccess.c | 1 +
linux-user/user-internals.h | 12 +------
linux-user/xtensa/cpu_loop.c | 1 +
scripts/coverity-scan/COMPONENTS.md | 2 +-
target/arm/internals.h | 1 +
target/mips/internal.h | 1 +
target/ppc/internal.h | 2 ++
target/ppc/mmu-hash32.h | 2 ++
target/ppc/mmu-hash64.h | 2 ++
target/ppc/mmu-radix64.h | 2 ++
target/s390x/s390x-internal.h | 2 ++
64 files changed, 178 insertions(+), 85 deletions(-)
rename {linux-user => common-user}/exit.c (95%)
create mode 100644 include/exec/cpu-tlb.h
rename include/{exec => }/user/abitypes.h (100%)
create mode 100644 include/user/cpu-common.h
create mode 100644 include/user/cpu-target.h
rename include/{exec => }/user/thunk.h (99%)Signature · 1 line
2.34.1