diff options
author | Marvin Borner | 2019-11-20 22:17:48 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-20 22:28:30 +0100 |
commit | 0ba991750314310a5e53b0d8135aef5b1352b261 (patch) | |
tree | acae7106a24b85116cd7119bd239c3d9299f2ba8 /src/kernel/interrupts/interrupts.h | |
parent | 6ca5f1bcec7f0716bad5e1cdd38d41be137fe7e5 (diff) |
Began two-stage hdd bootloader and os installer
Diffstat (limited to 'src/kernel/interrupts/interrupts.h')
-rw-r--r-- | src/kernel/interrupts/interrupts.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/kernel/interrupts/interrupts.h b/src/kernel/interrupts/interrupts.h index 80c9b27..cd96b7c 100644 --- a/src/kernel/interrupts/interrupts.h +++ b/src/kernel/interrupts/interrupts.h @@ -1,6 +1,8 @@ #ifndef MELVIX_INTERRUPTS_H #define MELVIX_INTERRUPTS_H +#include <stdint.h> + /** * Initialize the Interrupt Descriptor Table with 256 entries */ @@ -21,6 +23,16 @@ void idt_set_gate(unsigned char num, unsigned long base, unsigned short sel, uns void isrs_install(); /** + * Ignore interrupt + */ +void isr_ignore(uint8_t int_no); + +/** + * Un-ignore interrupt + */ +void isr_remember(uint8_t int_no); + +/** * Registers that get passed into an IRQ handler */ struct regs { |