Kernel: Move GDT to Processor

This commit is contained in:
2024-03-06 00:35:45 +02:00
parent 8670364f44
commit 58aca68726
6 changed files with 142 additions and 99 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ namespace Kernel
if (current->has_process())
{
current->process().page_table().load();
GDT::set_tss_stack(current->interrupt_stack_base() + current->interrupt_stack_size());
Processor::current().gdt().set_tss_stack(current->interrupt_stack_base() + current->interrupt_stack_size());
}
else
PageTable::kernel().load();