Yield now loads the address space

This commit is contained in:
pjht 2019-03-23 11:14:59 -05:00
parent 2b65782369
commit e1579b5f2a

View File

@ -123,7 +123,7 @@ void tasking_yield() {
}
Task* oldCurr=currentTask;
currentTask=task;
// load_address_space(task->regs.cr3);
load_address_space(task->regs.cr3);
if (!task->kmode) {
asm volatile(" \
cli; \