1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3 
4 #ifndef __ABI_CSKY_PTRACE_H
5 #define __ABI_CSKY_PTRACE_H
6 
7 struct switch_stack {
8 #ifdef CONFIG_CPU_HAS_HILO
9 	unsigned long rhi;
10 	unsigned long rlo;
11 	unsigned long cr14;
12 	unsigned long pad;
13 #endif
14 	unsigned long r4;
15 	unsigned long r5;
16 	unsigned long r6;
17 	unsigned long r7;
18 	unsigned long r8;
19 	unsigned long r9;
20 	unsigned long r10;
21 	unsigned long r11;
22 
23 	unsigned long r15;
24 	unsigned long r16;
25 	unsigned long r17;
26 	unsigned long r26;
27 	unsigned long r27;
28 	unsigned long r28;
29 	unsigned long r29;
30 	unsigned long r30;
31 };
32 #endif /* __ABI_CSKY_PTRACE_H */
33