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