initialise the APs

This commit is contained in:
Matheus
2022-08-06 14:56:31 -03:00
parent fa1b35bf18
commit dee3fe16db
13 changed files with 142 additions and 9 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ gdtr.size = sizeof(gdt_t) - 1;
asm("lgdt (%%rax)" : : "a"(&gdtr) : "memory");
}
void gdt_bspinit(){
void gdt_init(){
gdt_t __seg_gs *gdt = &cls->gdt;
setseg(&gdt->null, 0, 0, 0, 0);