diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-06-15 22:02:19 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-06-15 22:02:19 +0200 |
commit | a1cea3d87bf748da8eb0c9a473d4d89facba5f23 (patch) | |
tree | 656030bc5471acb14be266f9aa68f252db97cdf5 /lib/arch/riscv64 | |
parent | 977569e1af4665e06d83a313373e9e4522bc974b (diff) | |
download | matcha-threads-a1cea3d87bf748da8eb0c9a473d4d89facba5f23.tar.gz matcha-threads-a1cea3d87bf748da8eb0c9a473d4d89facba5f23.zip |
riscv64: use mnemonic for temp register
Diffstat (limited to 'lib/arch/riscv64')
-rw-r--r-- | lib/arch/riscv64/thread_create.s | 4 |
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: |