From 86de700207fb0114ec52fafc36f84e1cbe508fd8 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Mon, 14 Feb 2022 00:33:18 +0000 Subject: entering idle loop works with timer --- kc/core/pic8259.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kc/core/pic8259.h') 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 +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); -- cgit v1.3.1-1-g115d