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/kernel/irq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/riscv64/kernel/irq.c') diff --git a/arch/riscv64/kernel/irq.c b/arch/riscv64/kernel/irq.c index 27e0bd0..d350426 100644 --- a/arch/riscv64/kernel/irq.c +++ b/arch/riscv64/kernel/irq.c @@ -13,10 +13,8 @@ void init_irq(void *fdt) info("CSR_SIE: %lx\n", s); } -__aligned(4) void handle_irq() +void handle_sys_irq() { - while (1) - ; } /* very simple for now */ -- cgit v1.3