linux-user: Introduce cpu_clone_regs_parent
commit07a6ecf48feaddb4914ca8ec9603021f992ec3b9
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 6 Nov 2019 11:33:16 +0000 (6 12:33 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 6 Nov 2019 12:43:25 +0000 (6 13:43 +0100)
tree7f71c74f407533d7418e5e2f773246824a130d26
parent608999d17c8726eb4cfa967e95f06cf026a4dde2
linux-user: Introduce cpu_clone_regs_parent

We will need a target-specific hook for adjusting registers
in the parent during clone.  Add an empty inline function for
each target, and invoke it from the proper places.

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191106113318.10226-11-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
19 files changed:
linux-user/aarch64/target_cpu.h
linux-user/alpha/target_cpu.h
linux-user/arm/target_cpu.h
linux-user/cris/target_cpu.h
linux-user/hppa/target_cpu.h
linux-user/i386/target_cpu.h
linux-user/m68k/target_cpu.h
linux-user/microblaze/target_cpu.h
linux-user/mips/target_cpu.h
linux-user/nios2/target_cpu.h
linux-user/openrisc/target_cpu.h
linux-user/ppc/target_cpu.h
linux-user/riscv/target_cpu.h
linux-user/s390x/target_cpu.h
linux-user/sh4/target_cpu.h
linux-user/sparc/target_cpu.h
linux-user/syscall.c
linux-user/tilegx/target_cpu.h
linux-user/xtensa/target_cpu.h