diff options
Diffstat (limited to 'kernel/include/arch/x86_64/interrupts/irq.hpp')
| -rw-r--r-- | kernel/include/arch/x86_64/interrupts/irq.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/kernel/include/arch/x86_64/interrupts/irq.hpp b/kernel/include/arch/x86_64/interrupts/irq.hpp deleted file mode 100644 index 4003184..0000000 --- a/kernel/include/arch/x86_64/interrupts/irq.hpp +++ /dev/null @@ -1,28 +0,0 @@ - -#include <cstdint> - -#pragma once - -#define IRQ_TYPE_OTHER 0 -#define IRQ_TYPE_LEGACY 1 -#define IRQ_TYPE_MSI 2 -#define IRQ_TYPE_LEGACY_USERSPACE 3 - -typedef struct { - void (*func)(void* arg); - void* arg; - int irq; - char is_userspace; -} irq_t; - -namespace arch { - namespace x86_64 { - namespace interrupts { - class irq { - public: - static std::uint8_t create(std::uint16_t irq,std::uint8_t type,void (*func)(void* arg),void* arg,std::uint64_t flags); - static void reset(); - }; - }; - }; -};
\ No newline at end of file |
