From a1cea3d87bf748da8eb0c9a473d4d89facba5f23 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 15 Jun 2021 22:02:19 +0200 Subject: riscv64: use mnemonic for temp register --- lib/arch/riscv64/thread_create.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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: -- cgit v1.2.3