aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/conf/s.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/conf/s.S')
-rw-r--r--arch/riscv/conf/s.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/riscv/conf/s.S b/arch/riscv/conf/s.S
index 7b796ce..e6997ac 100644
--- a/arch/riscv/conf/s.S
+++ b/arch/riscv/conf/s.S
@@ -1,4 +1,7 @@
.text
.global _start
_start:
-loop: j loop
+li a1, 1
+loop:
+add a0, a0, a1
+jal loop