xref: /linux/arch/csky/abiv2/inc/abi/switch_context.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef __ABI_CSKY_PTRACE_H
4 #define __ABI_CSKY_PTRACE_H
5 
6 struct switch_stack {
7 #ifdef CONFIG_CPU_HAS_HILO
8 	unsigned long rhi;
9 	unsigned long rlo;
10 	unsigned long cr14;
11 	unsigned long pad;
12 #endif
13 	unsigned long r4;
14 	unsigned long r5;
15 	unsigned long r6;
16 	unsigned long r7;
17 	unsigned long r8;
18 	unsigned long r9;
19 	unsigned long r10;
20 	unsigned long r11;
21 
22 	unsigned long r15;
23 	unsigned long r16;
24 	unsigned long r17;
25 	unsigned long r26;
26 	unsigned long r27;
27 	unsigned long r28;
28 	unsigned long r29;
29 	unsigned long r30;
30 };
31 #endif /* __ABI_CSKY_PTRACE_H */
32