clean: remove useless code

This commit is contained in:
Starnakin 2025-01-22 14:04:09 +01:00
parent d2f7a3ce26
commit 24c7ea8b19

View File

@ -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