X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/ec98d05af80e6e68c889dac10b8478ce92bd5161..43487eff262637a59a4c2c0272d7c4a824af3944:/lunaix-os/arch/x86/includes/asm/x86_isrm.h?ds=sidebyside diff --git a/lunaix-os/arch/x86/includes/asm/x86_isrm.h b/lunaix-os/arch/x86/includes/asm/x86_isrm.h deleted file mode 100644 index b486080..0000000 --- a/lunaix-os/arch/x86/includes/asm/x86_isrm.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef __LUNAIX_X86_ISRM_H -#define __LUNAIX_X86_ISRM_H - -#include - -/** - * @brief Bind a given irq and associated handler to an iv - * - * @param iv iv allocated by system - */ -int -isrm_bindirq(int irq, isr_cb irq_handler); - -/** - * @brief Bind given iv with it's associated handler - * - * @param iv - * @param handler - */ -void -isrm_bindiv(int iv, isr_cb handler); - -void -isrm_irq_attach(int irq, int iv, cpu_t dest, u32_t flags); - -/** - * @brief Allocate an iv resource for os services - * - * @param iv - */ -int -isrm_ivosalloc(isr_cb handler); - -/** - * @brief Allocate an iv resource for external events - * - * @param iv - */ -int -isrm_ivexalloc(isr_cb handler); - -#endif /* __LUNAIX_X86_ISRM_H */