From 0f4a751e60a6c8ac40592ff44c74f1c9e4846d9a Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 29 May 2022 01:07:48 +0300 Subject: continue documentation efforts. --- arch/riscv64/kernel/irq.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'arch/riscv64/kernel/irq.c') diff --git a/arch/riscv64/kernel/irq.c b/arch/riscv64/kernel/irq.c index 15fa750..6fdfe85 100644 --- a/arch/riscv64/kernel/irq.c +++ b/arch/riscv64/kernel/irq.c @@ -8,7 +8,13 @@ #include #include "csr.h" -extern void handle_irq(void); +/** Defined in arch/riscv64/kernel/entry.S. */ +extern void handle_irq(); + +/** Called from arch/riscv64/kernel/entry.S. */ +void handle_sys_irq() +{ +} void init_irq(void *fdt) { @@ -20,10 +26,6 @@ void init_irq(void *fdt) info("CSR_SIE: %lx\n", s); } -void handle_sys_irq() -{ -} - /* very simple for now */ void enable_irq() { -- cgit v1.3