From ec2aafe64ade291a2a77d7f3771f784ff9cee722 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 26 Nov 2023 18:32:27 -0600 Subject: arch: i386: pic.h: make register_irq_handler accessible Make the register_irq_function accessible from files including pic.h. Signed-off-by: Danny Holman --- arch/i386/include/kernel/pic.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') diff --git a/arch/i386/include/kernel/pic.h b/arch/i386/include/kernel/pic.h index 779237e..af7b5ba 100644 --- a/arch/i386/include/kernel/pic.h +++ b/arch/i386/include/kernel/pic.h @@ -45,6 +45,8 @@ void pic_remap(void); uint16_t pic_get_irr(void); uint16_t pic_get_isr(void); +void register_irq_handler(uint8_t irq, void (*handler)(struct isr_frame *frame)); + void irq_set_mask(uint8_t irq); void irq_clear_mask(uint8_t irq); -- cgit v1.2.3