From c83d7bdcb60859f232e0fa6994ffba01509aba2e Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sat, 15 Jan 2022 16:11:30 -0600 Subject: arch: i386: simplify IDT setup Simplify the interrupt descriptor table setup and frame assembly. Signed-off-by: Danny Holman --- arch/i386/include/kernel/idt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/i386/include/kernel/idt.h') diff --git a/arch/i386/include/kernel/idt.h b/arch/i386/include/kernel/idt.h index 699eb96..190e15e 100644 --- a/arch/i386/include/kernel/idt.h +++ b/arch/i386/include/kernel/idt.h @@ -10,6 +10,7 @@ #define SEGMENT_STORAGE 0x00 #define SEGMENT_INTERRUPT 0x0E #define IDT_EXCEPTION (SEGMENT_PRESENT | SEGMENT_INTERRUPT) +#define IDT_INTERRUPT (SEGMENT_PRESENT | SEGMENT_INTERRUPT) #define IDT_MAX_DESCRIPTORS 256 -- cgit v1.2.3