diff --git a/memory/memory.h b/memory/memory.h index 5c08ed7..7f8625c 100644 --- a/memory/memory.h +++ b/memory/memory.h @@ -19,8 +19,8 @@ extern "C" { #define KERNEL_IDT_MAPPING KERNEL_MISC_MAPPING #define KERNEL_IDT_SIZE (256ull * 16) // fill the 256 interrupt vectors -#define KERNEL_GDT_MAPPING (KERNEL_MISC_MAPPING + KERNEL_IDT_SIZE) -#define KERNEL_GDT_SIZE (16ull * 8) +#define KERNEL_GDT_MAPPING (KERNEL_IDT_MAPPING + KERNEL_IDT_SIZE) +#define KERNEL_GDT_SIZE (64ull * 8) #define KERNEL_MISC_NEXT (KERNEL_MISC_MAPPING + KERNEL_IDT_SIZE + KERNEL_GDT_SIZE)