summaryrefslogtreecommitdiff
path: root/kc/core/pic8259.h
diff options
context:
space:
mode:
Diffstat (limited to 'kc/core/pic8259.h')
-rw-r--r--kc/core/pic8259.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kc/core/pic8259.h b/kc/core/pic8259.h
index 13aaaaa..1913573 100644
--- a/kc/core/pic8259.h
+++ b/kc/core/pic8259.h
@@ -14,7 +14,10 @@
#include <stdint.h>
+typedef int (*pic8259_handler_func)(uint8_t irq);
+
void pic8259_init(void);
+void pic8259_irq_install(uint8_t irq, pic8259_handler_func f);
void pic8259_irq_begin(uint8_t irq);
void pic8259_irq_end(uint8_t irq);
void pic8259_irq_mask(uint8_t irq);