aboutsummaryrefslogtreecommitdiff
path: root/kernel/boot/interrupts/isr.s
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/boot/interrupts/isr.s')
-rw-r--r--kernel/boot/interrupts/isr.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/boot/interrupts/isr.s b/kernel/boot/interrupts/isr.s
index 925bb27..9ffd94e 100644
--- a/kernel/boot/interrupts/isr.s
+++ b/kernel/boot/interrupts/isr.s
@@ -28,12 +28,14 @@ dd ISR_%+i
%macro ISR_WITH_ERROR 1
ISR_%+%1:
+ push %1
call exception_handler
iret
%endmacro
%macro ISR_NO_ERROR 1
ISR_%+%1:
+ push %1
call exception_handler
iret
%endmacro