summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/interrupts/isr.c
diff options
context:
space:
mode:
authordzwdz2023-08-06 01:16:14 +0200
committerdzwdz2023-08-06 01:16:14 +0200
commit0ddd4d1dab8dc2ba092c7351cfb2e054fce1f429 (patch)
treedfa378e88be27c189c739190dc3ec7beb8e26aba /src/kernel/arch/amd64/interrupts/isr.c
parenta71120adf590f699c4b8d6249a340976575ea530 (diff)
kernel: put every driver in /kdev/
there's no real reason for bootstrap to be doing that, and this brings it closer to only doing the elf loading
Diffstat (limited to 'src/kernel/arch/amd64/interrupts/isr.c')
-rw-r--r--src/kernel/arch/amd64/interrupts/isr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/interrupts/isr.c b/src/kernel/arch/amd64/interrupts/isr.c
index ff00f2f..4ea80c6 100644
--- a/src/kernel/arch/amd64/interrupts/isr.c
+++ b/src/kernel/arch/amd64/interrupts/isr.c
@@ -40,6 +40,7 @@ void isr_stage3(uint8_t interrupt, uint64_t *stackframe) {
log_interrupt(interrupt, stackframe);
cpu_halt();
} else { /* in user */
+ log_interrupt(interrupt, stackframe);
proc_kill(proc_cur, interrupt);
proc_switch_any();
}