[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PATCH for 2.13 v2 00/19] linux-user: move arch specific pa
From: |
Laurent Vivier |
Subject: |
[qemu-s390x] [PATCH for 2.13 v2 00/19] linux-user: move arch specific parts from main.c to arch directories |
Date: |
Wed, 11 Apr 2018 20:56:32 +0200 |
This series moves from main.c the architecture specific parts
to the architecture directory.
This is the continuation of my series
"linux-user: move arch specific parts to arch directories"
that includes since the v2 only the signal.c parts.
For each architecture, there are two parts:
- cpu_loop(), and the function with its
dependencies is moved to <arch>/cpu_loop.c
- the prologue of the cpu_loop(), that was inlined
in main(). We move it to a new function in
<arch>/cpu_loop.c, target_cpu_copy_regs().
The first patch adds the skeleton to move the
parts to the architecture directories, a cpu_loop.c
file with an empty target_cpu_copy_regs() function,
called from main().
There is no change in the code.
Based-on: <address@hidden>
"[PATCH for 2.13 v3 00/20] move arch specific parts to arch directories"
v2:
- rebase and add R-b
- expand tabs
- report changes introduced by
4a6bf7adb9 target/xtensa: linux-user: rewind pc for restarted syscall
Laurent Vivier (19):
linux-user: create a dummy per arch cpu_loop.c
linux-user: move i386/x86_64 cpu loop to i386 directory
linux-user: move aarch64 cpu loop to aarch64 directory
linux-user: move arm cpu loop to arm directory
linux-user: move sparc/sparc64 cpu loop to sparc directory
linux-user: move ppc/ppc64 cpu loop to ppc directory
linux-user: move mips/mips64 cpu loop to mips directory
linux-user: move nios2 cpu loop to nios2 directory
linux-user: move openrisc cpu loop to openrisc directory
linux-user: move sh4 cpu loop to sh4 directory
linux-user: move cris cpu loop to cris directory
linux-user: move microblaze cpu loop to microblaze directory
linux-user: move m68k cpu loop to m68k directory
linux-user: move alpha cpu loop to alpha directory
linux-user: move s390x cpu loop to s390x directory
linux-user: move tilegx cpu loop to tilegx directory
linux-user: move riscv cpu loop to riscv directory
linux-user: move hppa cpu loop to hppa directory
linux-user: move xtensa cpu loop to xtensa directory
linux-user/Makefile.objs | 3 +-
linux-user/aarch64/cpu_loop.c | 182 ++
linux-user/alpha/cpu_loop.c | 225 ++
linux-user/arm/cpu_loop.c | 456 ++++
linux-user/cpu_loop-common.h | 37 +
linux-user/cris/cpu_loop.c | 115 +
linux-user/hppa/cpu_loop.c | 211 ++
linux-user/i386/cpu_loop.c | 369 ++++
linux-user/m68k/cpu_loop.c | 170 ++
linux-user/main.c | 4440 +-------------------------------------
linux-user/microblaze/cpu_loop.c | 176 ++
linux-user/mips/cpu_loop.c | 749 +++++++
linux-user/mips64/cpu_loop.c | 20 +
linux-user/nios2/cpu_loop.c | 152 ++
linux-user/openrisc/cpu_loop.c | 115 +
linux-user/ppc/cpu_loop.c | 579 +++++
linux-user/riscv/cpu_loop.c | 118 +
linux-user/s390x/cpu_loop.c | 165 ++
linux-user/sh4/cpu_loop.c | 111 +
linux-user/sparc/cpu_loop.c | 306 +++
linux-user/sparc64/cpu_loop.c | 20 +
linux-user/tilegx/cpu_loop.c | 286 +++
linux-user/x86_64/cpu_loop.c | 20 +
linux-user/xtensa/cpu_loop.c | 267 +++
24 files changed, 4906 insertions(+), 4386 deletions(-)
create mode 100644 linux-user/aarch64/cpu_loop.c
create mode 100644 linux-user/alpha/cpu_loop.c
create mode 100644 linux-user/arm/cpu_loop.c
create mode 100644 linux-user/cpu_loop-common.h
create mode 100644 linux-user/cris/cpu_loop.c
create mode 100644 linux-user/hppa/cpu_loop.c
create mode 100644 linux-user/i386/cpu_loop.c
create mode 100644 linux-user/m68k/cpu_loop.c
create mode 100644 linux-user/microblaze/cpu_loop.c
create mode 100644 linux-user/mips/cpu_loop.c
create mode 100644 linux-user/mips64/cpu_loop.c
create mode 100644 linux-user/nios2/cpu_loop.c
create mode 100644 linux-user/openrisc/cpu_loop.c
create mode 100644 linux-user/ppc/cpu_loop.c
create mode 100644 linux-user/riscv/cpu_loop.c
create mode 100644 linux-user/s390x/cpu_loop.c
create mode 100644 linux-user/sh4/cpu_loop.c
create mode 100644 linux-user/sparc/cpu_loop.c
create mode 100644 linux-user/sparc64/cpu_loop.c
create mode 100644 linux-user/tilegx/cpu_loop.c
create mode 100644 linux-user/x86_64/cpu_loop.c
create mode 100644 linux-user/xtensa/cpu_loop.c
--
2.14.3
- [qemu-s390x] [PATCH for 2.13 v2 00/19] linux-user: move arch specific parts from main.c to arch directories,
Laurent Vivier <=
- [qemu-s390x] [PATCH for 2.13 v2 11/19] linux-user: move cris cpu loop to cris directory, Laurent Vivier, 2018/04/11
- [qemu-s390x] [PATCH for 2.13 v2 08/19] linux-user: move nios2 cpu loop to nios2 directory, Laurent Vivier, 2018/04/11
- [qemu-s390x] [PATCH for 2.13 v2 02/19] linux-user: move i386/x86_64 cpu loop to i386 directory, Laurent Vivier, 2018/04/11
- [qemu-s390x] [PATCH for 2.13 v2 19/19] linux-user: move xtensa cpu loop to xtensa directory, Laurent Vivier, 2018/04/11
- [qemu-s390x] [PATCH for 2.13 v2 13/19] linux-user: move m68k cpu loop to m68k directory, Laurent Vivier, 2018/04/11
- [qemu-s390x] [PATCH for 2.13 v2 09/19] linux-user: move openrisc cpu loop to openrisc directory, Laurent Vivier, 2018/04/11
- [qemu-s390x] [PATCH for 2.13 v2 04/19] linux-user: move arm cpu loop to arm directory, Laurent Vivier, 2018/04/11
- [qemu-s390x] [PATCH for 2.13 v2 15/19] linux-user: move s390x cpu loop to s390x directory, Laurent Vivier, 2018/04/11