qemu-e2k/linux-user/include/host
Khem Raj 9d1401b794 ppc64: Avoid pt_regs struct definition
Remove pt_regs indirection and instead reference gp_regs directly, this
makes it portable across musl/glibc

Use PT_* constants defined in asm/ptrace.h

Move the file to ppc64 subdir and leave ppc empty

Fixes
../qemu-6.2.0/linux-user/host/ppc64/../ppc/host-signal.h:16:32: error: incomplete definition of type 'struct pt_regs'
    return uc->uc_mcontext.regs->nip;
           ~~~~~~~~~~~~~~~~~~~~^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220315015740.847370-1-raj.khem@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2022-03-20 23:35:27 +01:00
..
aarch64 linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
alpha linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
arm linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
i386 linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
loongarch64 linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
mips linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
ppc64 ppc64: Avoid pt_regs struct definition 2022-03-20 23:35:27 +01:00
riscv linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
s390 linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00
s390x user: move common-user includes to a subdirectory of {bsd,linux}-user/ 2022-01-12 14:08:29 +01:00
sparc64 linux-user/include/host/sparc64: Fix host_sigcontext 2022-02-09 08:49:30 +11:00
x32 user: move common-user includes to a subdirectory of {bsd,linux}-user/ 2022-01-12 14:08:29 +01:00
x86_64 linux-user: Introduce host_sigcontext 2022-02-09 08:47:48 +11:00