summaryrefslogtreecommitdiff
path: root/src/kernel/isrs.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/isrs.asm')
-rw-r--r--src/kernel/isrs.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/kernel/isrs.asm b/src/kernel/isrs.asm
index 02b046d..a4eb988 100644
--- a/src/kernel/isrs.asm
+++ b/src/kernel/isrs.asm
@@ -23,6 +23,7 @@ extern on_kbd_isr
extern make_sure_tasks
extern exception_halt
extern pf_check_stack
+extern dump
n_syscalls equ 0x19
@@ -139,6 +140,17 @@ kbd_isr:
call on_kbd_isr
+ test eax, eax
+ jz .no_debug
+
+ push ebx
+ push esi
+ push edi
+ push eax
+ call dump
+ add esp, 16
+
+.no_debug:
mov al, 0x20
out 0x0020, al