wip: multiple pds and switch to kernel pd when needed
This commit is contained in:
@ -23,6 +23,11 @@ switch_to_task:
|
||||
|
||||
mov esp, [eax+0] // get esp
|
||||
|
||||
mov ecx, [eax+12] // get task's pd
|
||||
mov [current_pd], ecx
|
||||
mov ecx, [eax+8]
|
||||
mov cr3, ecx
|
||||
|
||||
pop esi
|
||||
pop edi
|
||||
pop ebp
|
||||
|
||||
Reference in New Issue
Block a user