X-Git-Url: http://git.dujemihanovic.xyz/projects?a=blobdiff_plain;f=include%2Farch%2Fx86%2Firq%2Fidt.h;h=daf586f2d5aefe44c723d5f38cb84290f0967472;hb=0cd522f39687d1fed9e204e5504d19baa8d85e04;hp=8b2efa1b1aa453beb1583d11cc6d5ef9381eb032;hpb=4ea950eb2243c099968ae328ecad99f94fca8a5b;p=nameless-os.git diff --git a/include/arch/x86/irq/idt.h b/include/arch/x86/irq/idt.h index 8b2efa1..daf586f 100644 --- a/include/arch/x86/irq/idt.h +++ b/include/arch/x86/irq/idt.h @@ -6,8 +6,8 @@ #define IDT_VECTOR_COUNT 256 /* our IDT will have 256 vectors */ #define IDT_DESCRIPTOR_SIZE 8 /* each IDT descriptor is 8 bytes long */ -#define IDT_TRAP_GATE 0x1F -#define IDT_INTERRUPT_GATE 0x0E +#define IDT_TRAP_GATE 0xF +#define IDT_INTERRUPT_GATE 0xE struct idt_descriptor { uint16_t offset_1; /* bits 0-15 of offset */