aboutsummaryrefslogtreecommitdiff
path: root/src/core/int.S
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-04-30 09:31:30 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-04-30 09:31:30 +0200
commit66f2ca62469eba4b46e1f19f54dde9476b08d956 (patch)
tree0a419a62a6af21c593e9f6b0d632b5953bc58721 /src/core/int.S
parent717556178c2017e374ee1108e6b25a24507a1dde (diff)
Debug interrupts, allow to show bmp images
Diffstat (limited to 'src/core/int.S')
-rw-r--r--src/core/int.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/int.S b/src/core/int.S
index daf0224..861d5cc 100644
--- a/src/core/int.S
+++ b/src/core/int.S
@@ -6,7 +6,8 @@
.macro call_printk msg
mov \msg, %rdi
mov $0, %eax # Required for variadic functions
- call printk
+ mov $printk,%rcx
+ call *(%rcx)
.endm
.globl INT_DEFAULT