aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-06-15 22:02:19 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-06-15 22:02:19 +0200
commita1cea3d87bf748da8eb0c9a473d4d89facba5f23 (patch)
tree656030bc5471acb14be266f9aa68f252db97cdf5
parent977569e1af4665e06d83a313373e9e4522bc974b (diff)
downloadmatcha-threads-a1cea3d87bf748da8eb0c9a473d4d89facba5f23.tar.gz
matcha-threads-a1cea3d87bf748da8eb0c9a473d4d89facba5f23.zip
riscv64: use mnemonic for temp register
-rw-r--r--lib/arch/riscv64/thread_create.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arch/riscv64/thread_create.s b/lib/arch/riscv64/thread_create.s
index 68c09cd..df3a958 100644
--- a/lib/arch/riscv64/thread_create.s
+++ b/lib/arch/riscv64/thread_create.s
@@ -8,9 +8,9 @@
thread_create:
.cfi_startproc
ld a0, 8(sp)
- ld x5, 0(sp)
+ ld t0, 0(sp)
- jalr x5
+ jalr t0
# FIXME: no return from thread after user fn finished.
1: