gdt: increase GDT size

This commit is contained in:
Michael Shaw 2023-11-01 17:47:09 -04:00
commit e7ceff19ec
2 changed files with 3 additions and 2 deletions

View file

@ -165,7 +165,8 @@ void kmain(void)
void *kstack = buddy_alloc(KSTACK_SIZE);
uintptr_t ptr = (uintptr_t)kstack + KSTACK_SIZE - 8;
gdt_insert_tss(ptr);
uint16_t tss = gdt_insert_tss(ptr);
ltr(tss);
/* init the application processors */
struct limine_smp_response *smp_resp = smp_req.response;