From 0ba991750314310a5e53b0d8135aef5b1352b261 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 20 Nov 2019 22:17:48 +0100 Subject: Began two-stage hdd bootloader and os installer --- src/kernel/interrupts/interrupts.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/kernel/interrupts/interrupts.h') 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 + /** * Initialize the Interrupt Descriptor Table with 256 entries */ @@ -20,6 +22,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 */ -- cgit v1.2.3