gdt: increase GDT size
This commit is contained in:
parent
2c88b77edd
commit
e7ceff19ec
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue