mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2025-10-30 07:57:14 +08:00
linux-user: Remove target_pt_regs from target_syscall.h
All target_pt_regs which have not been broken out to target_ptrace.h by this point are unused. Remove them. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@ -1,46 +1,6 @@
|
||||
#ifndef ALPHA_TARGET_SYSCALL_H
|
||||
#define ALPHA_TARGET_SYSCALL_H
|
||||
|
||||
/* default linux values for the selectors */
|
||||
#define __USER_DS (1)
|
||||
|
||||
struct target_pt_regs {
|
||||
abi_ulong r0;
|
||||
abi_ulong r1;
|
||||
abi_ulong r2;
|
||||
abi_ulong r3;
|
||||
abi_ulong r4;
|
||||
abi_ulong r5;
|
||||
abi_ulong r6;
|
||||
abi_ulong r7;
|
||||
abi_ulong r8;
|
||||
abi_ulong r19;
|
||||
abi_ulong r20;
|
||||
abi_ulong r21;
|
||||
abi_ulong r22;
|
||||
abi_ulong r23;
|
||||
abi_ulong r24;
|
||||
abi_ulong r25;
|
||||
abi_ulong r26;
|
||||
abi_ulong r27;
|
||||
abi_ulong r28;
|
||||
abi_ulong hae;
|
||||
/* JRP - These are the values provided to a0-a2 by PALcode */
|
||||
abi_ulong trap_a0;
|
||||
abi_ulong trap_a1;
|
||||
abi_ulong trap_a2;
|
||||
/* These are saved by PAL-code: */
|
||||
abi_ulong ps;
|
||||
abi_ulong pc;
|
||||
abi_ulong gp;
|
||||
abi_ulong r16;
|
||||
abi_ulong r17;
|
||||
abi_ulong r18;
|
||||
/* Those is needed by qemu to temporary store the user stack pointer */
|
||||
abi_ulong usp;
|
||||
abi_ulong unique;
|
||||
};
|
||||
|
||||
#define UNAME_MACHINE "alpha"
|
||||
#define UNAME_MINIMUM_RELEASE "2.6.32"
|
||||
|
||||
|
||||
@ -18,11 +18,6 @@
|
||||
#ifndef HEXAGON_TARGET_SYSCALL_H
|
||||
#define HEXAGON_TARGET_SYSCALL_H
|
||||
|
||||
struct target_pt_regs {
|
||||
abi_long sepc;
|
||||
abi_long sp;
|
||||
};
|
||||
|
||||
#define UNAME_MACHINE "hexagon"
|
||||
#define UNAME_MINIMUM_RELEASE "4.15.0"
|
||||
|
||||
|
||||
@ -1,24 +1,6 @@
|
||||
#ifndef HPPA_TARGET_SYSCALL_H
|
||||
#define HPPA_TARGET_SYSCALL_H
|
||||
|
||||
struct target_pt_regs {
|
||||
target_ulong gr[32];
|
||||
uint64_t fr[32];
|
||||
target_ulong sr[8];
|
||||
target_ulong iasq[2];
|
||||
target_ulong iaoq[2];
|
||||
target_ulong cr27;
|
||||
target_ulong __pad0;
|
||||
target_ulong orig_r28;
|
||||
target_ulong ksp;
|
||||
target_ulong kpc;
|
||||
target_ulong sar;
|
||||
target_ulong iir;
|
||||
target_ulong isr;
|
||||
target_ulong ior;
|
||||
target_ulong ipsw;
|
||||
};
|
||||
|
||||
#define UNAME_MACHINE "parisc"
|
||||
#define UNAME_MINIMUM_RELEASE "2.6.32"
|
||||
#define TARGET_CLONE_BACKWARDS
|
||||
|
||||
@ -1,22 +1,6 @@
|
||||
#ifndef M68K_TARGET_SYSCALL_H
|
||||
#define M68K_TARGET_SYSCALL_H
|
||||
|
||||
/* this struct defines the way the registers are stored on the
|
||||
stack during a system call. */
|
||||
|
||||
struct target_pt_regs {
|
||||
abi_long d1, d2, d3, d4, d5, d6, d7;
|
||||
abi_long a0, a1, a2, a3, a4, a5, a6;
|
||||
abi_ulong d0;
|
||||
abi_ulong usp;
|
||||
abi_ulong orig_d0;
|
||||
int16_t stkadj;
|
||||
uint16_t sr;
|
||||
abi_ulong pc;
|
||||
uint16_t fntvex;
|
||||
uint16_t __fill;
|
||||
};
|
||||
|
||||
#define UNAME_MACHINE "m68k"
|
||||
#define UNAME_MINIMUM_RELEASE "2.6.32"
|
||||
|
||||
|
||||
@ -8,41 +8,6 @@
|
||||
#ifndef LINUX_USER_RISCV_TARGET_SYSCALL_H
|
||||
#define LINUX_USER_RISCV_TARGET_SYSCALL_H
|
||||
|
||||
struct target_pt_regs {
|
||||
abi_long sepc;
|
||||
abi_long ra;
|
||||
abi_long sp;
|
||||
abi_long gp;
|
||||
abi_long tp;
|
||||
abi_long t0;
|
||||
abi_long t1;
|
||||
abi_long t2;
|
||||
abi_long s0;
|
||||
abi_long s1;
|
||||
abi_long a0;
|
||||
abi_long a1;
|
||||
abi_long a2;
|
||||
abi_long a3;
|
||||
abi_long a4;
|
||||
abi_long a5;
|
||||
abi_long a6;
|
||||
abi_long a7;
|
||||
abi_long s2;
|
||||
abi_long s3;
|
||||
abi_long s4;
|
||||
abi_long s5;
|
||||
abi_long s6;
|
||||
abi_long s7;
|
||||
abi_long s8;
|
||||
abi_long s9;
|
||||
abi_long s10;
|
||||
abi_long s11;
|
||||
abi_long t3;
|
||||
abi_long t4;
|
||||
abi_long t5;
|
||||
abi_long t6;
|
||||
};
|
||||
|
||||
#ifdef TARGET_RISCV32
|
||||
#define UNAME_MACHINE "riscv32"
|
||||
#define UNAME_MINIMUM_RELEASE "5.4.0"
|
||||
|
||||
Reference in New Issue
Block a user