Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
52 lines
839 B
C
52 lines
839 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
|
|
#ifndef _CSKY_PTRACE_H
|
|
#define _CSKY_PTRACE_H
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
struct pt_regs {
|
|
unsigned long tls;
|
|
unsigned long lr;
|
|
unsigned long pc;
|
|
unsigned long sr;
|
|
unsigned long usp;
|
|
|
|
/*
|
|
* a0, a1, a2, a3:
|
|
* abiv1: r2, r3, r4, r5
|
|
* abiv2: r0, r1, r2, r3
|
|
*/
|
|
unsigned long orig_a0;
|
|
unsigned long a0;
|
|
unsigned long a1;
|
|
unsigned long a2;
|
|
unsigned long a3;
|
|
|
|
/*
|
|
* ABIV2: r4 ~ r13
|
|
* ABIV1: r6 ~ r14, r1
|
|
*/
|
|
unsigned long regs[10];
|
|
|
|
#if defined(__CSKYABIV2__)
|
|
/* r16 ~ r30 */
|
|
unsigned long exregs[15];
|
|
|
|
unsigned long rhi;
|
|
unsigned long rlo;
|
|
unsigned long dcsr;
|
|
#endif
|
|
};
|
|
|
|
struct user_fp {
|
|
unsigned long vr[96];
|
|
unsigned long fcr;
|
|
unsigned long fesr;
|
|
unsigned long fid;
|
|
unsigned long reserved;
|
|
};
|
|
|
|
#endif /* __ASSEMBLER__ */
|
|
#endif /* _CSKY_PTRACE_H */
|