aboutsummaryrefslogtreecommitdiff
path: root/i686/idt.h
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-05-24 21:29:00 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-05-24 21:29:29 +0300
commit050aa3ab70dd69d1ca8ffe94fd146039a0885550 (patch)
tree4002a7a0bb86580cc6a2adc2eee45891ee068540 /i686/idt.h
parentPlace compiled objects and dependencies in build/ (diff)
downloadkernel-050aa3ab70dd69d1ca8ffe94fd146039a0885550.tar.xz
Make code ANSI C compatible
Diffstat (limited to 'i686/idt.h')
-rw-r--r--i686/idt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/i686/idt.h b/i686/idt.h
index 45744dc..ca39bde 100644
--- a/i686/idt.h
+++ b/i686/idt.h
@@ -10,14 +10,14 @@ struct interrupt_frame {
uint32_t ss;
};
-// typedef void (*irq_handler)();
+/* typedef void (*irq_handler)(); */
/* isr.c */
void abort_handler(struct interrupt_frame *frame);
void syscall_handler(struct interrupt_frame *frame);
-void irq0x00(struct interrupt_frame *frame); // timer interrupt
-void irq0x01(struct interrupt_frame *frame); // keyboard interrupt
-void irq0x0c(struct interrupt_frame *frame); // mouse interrupt
+void irq0x00(struct interrupt_frame *frame); /* timer interrupt */
+void irq0x01(struct interrupt_frame *frame); /* keyboard interrupt */
+void irq0x0c(struct interrupt_frame *frame); /* mouse interrupt */
/* lidt.c */
void idt_install();