diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-25 12:41:24 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-25 12:41:24 +0200 |
| commit | 7db6db5ae64e7ab2626bbd898c63f58e053dc1a6 (patch) | |
| tree | aac3b4b8755acbea397709a00611642c2534f053 /src/core/int.S | |
| parent | 657372f1be95393b76a54f258ba3f937b4073abe (diff) | |
Debug multiboot, enable apic and ACPI table parsing
Diffstat (limited to 'src/core/int.S')
| -rw-r--r-- | src/core/int.S | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
