From fa00718c221b64070067bcd64acbc297e4ac699c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 23 Jul 2020 11:56:44 +0200 Subject: Well, I need ASM ig. I've tried to do interrupts without ASM but it doesn't seem to work. --- src/inc/interrupts.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'src/inc/interrupts.h') diff --git a/src/inc/interrupts.h b/src/inc/interrupts.h index 7145e62..e943e5a 100644 --- a/src/inc/interrupts.h +++ b/src/inc/interrupts.h @@ -38,4 +38,58 @@ void isr_uninstall_handler(int isr); void interrupts_install(); +// External handlers (ASM) + +extern void isr0(); +extern void isr1(); +extern void isr2(); +extern void isr3(); +extern void isr4(); +extern void isr5(); +extern void isr6(); +extern void isr7(); +extern void isr8(); +extern void isr9(); +extern void isr10(); +extern void isr11(); +extern void isr12(); +extern void isr13(); +extern void isr14(); +extern void isr15(); +extern void isr16(); +extern void isr17(); +extern void isr18(); +extern void isr19(); +extern void isr20(); +extern void isr21(); +extern void isr22(); +extern void isr23(); +extern void isr24(); +extern void isr25(); +extern void isr26(); +extern void isr27(); +extern void isr28(); +extern void isr29(); +extern void isr30(); +extern void isr31(); +extern void isr128(); + +extern void irq0(); +extern void irq1(); +extern void irq2(); +extern void irq3(); +extern void irq4(); +extern void irq5(); +extern void irq6(); +extern void irq7(); +extern void irq8(); +extern void irq9(); +extern void irq10(); +extern void irq11(); +extern void irq12(); +extern void irq13(); +extern void irq14(); +extern void irq15(); +extern void irq128(); + #endif -- cgit v1.2.3