From be3696bd5853819212b1240751efd8d85f282c68 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 24 Apr 2022 13:54:41 +0300 Subject: start initial irq handling + Still lots todo, and I'm not entirely sure how I should handle program space switches (mainly since the kernel uses the process' stack, maybe it shouldn't?) --- arch/riscv64/conf/s.S | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/riscv64/conf/s.S') diff --git a/arch/riscv64/conf/s.S b/arch/riscv64/conf/s.S index 80a3a11..1344f69 100644 --- a/arch/riscv64/conf/s.S +++ b/arch/riscv64/conf/s.S @@ -1,4 +1,9 @@ .text .global _start _start: +li a0, 1 +li a1, 2 +li a2, 3 +li a3, 4 +li a4, 5 ecall -- cgit v1.3