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/init | Bin 968 -> 1096 bytes arch/riscv64/conf/initrd | Bin 1536 -> 1536 bytes arch/riscv64/conf/s.S | 5 +++++ 3 files changed, 5 insertions(+) (limited to 'arch/riscv64/conf') diff --git a/arch/riscv64/conf/init b/arch/riscv64/conf/init index f05254f..c415457 100755 Binary files a/arch/riscv64/conf/init and b/arch/riscv64/conf/init differ diff --git a/arch/riscv64/conf/initrd b/arch/riscv64/conf/initrd index 90344c1..6d2ac10 100644 Binary files a/arch/riscv64/conf/initrd and b/arch/riscv64/conf/initrd differ 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