memory: use 64 GDT entries

This commit is contained in:
Edgaru089 2021-11-07 18:45:52 +08:00
parent 9f757efa5e
commit 193b29400a

View File

@ -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)