diff options
| author | Ada Christine <adachristine18@gmail.com> | 2022-02-14 00:33:18 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2022-02-14 00:33:18 +0000 |
| commit | 86de700207fb0114ec52fafc36f84e1cbe508fd8 (patch) | |
| tree | 830649e3b7081e4c43d579a6ded67f7ee18add92 /kc/core/pic8259.h | |
| parent | e8a76b2f6b53d99640ceb2850bf4e45118b923f1 (diff) | |
entering idle loop works with timer
Diffstat (limited to 'kc/core/pic8259.h')
| -rw-r--r-- | kc/core/pic8259.h | 3 |
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); |
