first app load
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user