From 7db6db5ae64e7ab2626bbd898c63f58e053dc1a6 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 25 Apr 2021 12:41:24 +0200 Subject: Debug multiboot, enable apic and ACPI table parsing --- src/core/int.S | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/core/int.S') diff --git a/src/core/int.S b/src/core/int.S index d5ad643..1c8d7bb 100644 --- a/src/core/int.S +++ b/src/core/int.S @@ -1,4 +1,5 @@ .extern printk +.extern ack .macro call_printk msg mov \msg, %rdi @@ -26,8 +27,17 @@ INT_14: jmp INT_14_INFINITE iretq +.globl INT_KBD +INT_KBD: + call_printk $MSG_INT_KBD + call ack + iretq MSG_INT_0: .asciz "Zero Division error!" MSG_INT_14: .asciz "Page fault!" +MSG_INT_KBD: +.asciz "Key press!" +MSG: +.asciz "Called :)\n" \ No newline at end of file -- cgit v1.2.3