first app load

This commit is contained in:
2026-02-17 11:36:26 +01:00
parent f0bda5f466
commit 6412d8f104
4 changed files with 18 additions and 24 deletions

View File

@@ -16,7 +16,6 @@ void Dispatcher::go(Thread *first) {
assert(active() == nullptr);
setActive(first);
mytss.sp0 = first->StackPointer.isr;
load_cr3((void*)&paging_tree.l4);
first->go();
}
@@ -26,7 +25,6 @@ void Dispatcher::dispatch(Thread *next) {
if (current != next) {
setActive(next);
mytss.sp0 = next->StackPointer.isr;
load_cr3((void*)&paging_tree.l4);
current->resume(next);
}
}