]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: Rename cpu_clone_regs to cpu_clone_regs_child
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 6 Nov 2019 11:33:15 +0000 (12:33 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 6 Nov 2019 12:42:34 +0000 (13:42 +0100)
commit608999d17c8726eb4cfa967e95f06cf026a4dde2
tree70c528ae7048dcb413d36593f2c288a111b00300
parentb220cbcf25d2a78f645ee105ad07558de699c4fa
linux-user: Rename cpu_clone_regs to cpu_clone_regs_child

We will need a target-specific hook for adjusting registers
in the parent during clone.  To avoid confusion, rename the
one we have to make it clear it affects the child.

At the same time, pass in the flags from the clone syscall.
We will need them for correct behaviour for Sparc.

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-10-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