summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/interrupts.h
diff options
context:
space:
mode:
authordzwdz2024-08-02 15:44:24 +0200
committerdzwdz2024-08-02 15:44:24 +0200
commit974c2581c9524aa7546f5863ecc26065e328cd54 (patch)
tree3cec6690bb1642d380cdee8749742ada926ce4d4 /src/kernel/arch/amd64/interrupts.h
parente818cab3f1fc4a3d4d0b8e2c9424fb2e7b1dff70 (diff)
kernel/interrupts: use UserRegs in the isr handler
Diffstat (limited to 'src/kernel/arch/amd64/interrupts.h')
-rw-r--r--src/kernel/arch/amd64/interrupts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/interrupts.h b/src/kernel/arch/amd64/interrupts.h
index 288bd78..f968906 100644
--- a/src/kernel/arch/amd64/interrupts.h
+++ b/src/kernel/arch/amd64/interrupts.h
@@ -11,7 +11,8 @@
extern void (*irq_fn[16])(void);
extern const char _isr_stubs;
+struct IsrFrame;
void irq_init(void);
void irq_eoi(uint8_t line);
-void isr_stage3(uint8_t interrupt, void *stackframe);
+void isr_stage3(uint8_t interrupt, struct IsrFrame *stackframe);