clean: remove useless code
This commit is contained in:
parent
d2f7a3ce26
commit
24c7ea8b19
@ -31,13 +31,14 @@ switch_to_task:
|
|||||||
je .END
|
je .END
|
||||||
// mov cr3, ebx
|
// mov cr3, ebx
|
||||||
|
|
||||||
// TODO replace the eip store in stack by the [current_task+16](current_task->eip)
|
|
||||||
|
.END:
|
||||||
mov edi, [current_task+16]
|
mov edi, [current_task+16]
|
||||||
mov [esp_backup], edi
|
mov [esp_backup], edi
|
||||||
.END:
|
|
||||||
pop esi
|
pop esi
|
||||||
pop edi
|
pop edi
|
||||||
pop ebp
|
pop ebp
|
||||||
pop ebx
|
pop ebx
|
||||||
|
|
||||||
ret // this will also change eip to the next task's instructions
|
ret
|
||||||
|
Loading…
Reference in New Issue
Block a user