We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9008975 commit e0bbb53Copy full SHA for e0bbb53
arch/csky/abiv2/inc/abi/entry.h
@@ -13,6 +13,8 @@
13
#define LSAVE_A1 28
14
#define LSAVE_A2 32
15
#define LSAVE_A3 36
16
+#define LSAVE_A4 40
17
+#define LSAVE_A5 44
18
19
#define KSPTOUSP
20
#define USPTOKSP
arch/csky/kernel/entry.S
@@ -173,8 +173,10 @@ csky_syscall_trace:
173
ldw a3, (sp, LSAVE_A3)
174
#if defined(__CSKYABIV2__)
175
subi sp, 8
176
- stw r5, (sp, 0x4)
177
- stw r4, (sp, 0x0)
+ ldw r9, (sp, LSAVE_A4)
+ stw r9, (sp, 0x0)
178
+ ldw r9, (sp, LSAVE_A5)
179
+ stw r9, (sp, 0x4)
180
#else
181
ldw r6, (sp, LSAVE_A4)
182
ldw r7, (sp, LSAVE_A5)
0 commit comments