summaryrefslogtreecommitdiff
path: root/src/kernel/task/idt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/task/idt.h')
-rw-r--r--src/kernel/task/idt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/task/idt.h b/src/kernel/task/idt.h
index bb89013..ed37eb0 100644
--- a/src/kernel/task/idt.h
+++ b/src/kernel/task/idt.h
@@ -27,7 +27,8 @@ struct registers {
typedef void (*int_callback)(struct registers*);
void idt_init();
-void idt_handleIrq(int number, int_callback func);
+void idt_handleIrq(int number, int_callback func); //Set IRQ handler
+void idt_waitIrq(int number); //ask current thread to wait for IRQ
#endif