diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-24 13:54:41 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-24 13:54:41 +0300 |
| commit | be3696bd5853819212b1240751efd8d85f282c68 (patch) | |
| tree | fd58279b90ce82c073c6f8d9a929ceb00bec5703 /arch/riscv64/kernel/irq.c | |
| parent | d4c420689b1872f6fb22f421dfd27704ee94951a (diff) | |
| download | kmi-be3696bd5853819212b1240751efd8d85f282c68.tar.gz kmi-be3696bd5853819212b1240751efd8d85f282c68.zip | |
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?)
Diffstat (limited to 'arch/riscv64/kernel/irq.c')
| -rw-r--r-- | arch/riscv64/kernel/irq.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 */ |
