X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/836d44ecb7a2c37427f6baf8b25e872e9e943d5b..378a473943ba2bfe38c303d198aab41056095b71:/lunaix-os/arch/x86/includes/asm/x86_isrm.h 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 4d6fb44..0000000 --- a/lunaix-os/arch/x86/includes/asm/x86_isrm.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef __LUNAIX_X86_ISRM_H -#define __LUNAIX_X86_ISRM_H - -#include - -/** - * @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); - -/** - * @brief Release a iv resource - * - * @param iv - */ -void -isrm_ivfree(int iv); - -/** - * @brief Get the handler associated with the given iv - * - * @param iv - * @return isr_cb - */ -isr_cb -isrm_get(int iv); - -ptr_t -isrm_get_payload(const struct hart_state*); - -void -isrm_set_payload(int iv, ptr_t); - - -#endif /* __LUNAIX_X86_ISRM_H */