wip: uncrampt the stack thing in the irq

This commit is contained in:
0x35c
2025-11-07 16:58:11 +01:00
parent a3a226ad95
commit bf993baa59
3 changed files with 11 additions and 5 deletions

View File

@ -15,7 +15,7 @@ switch_thread:
// stack pointer + the 4 regs pushed
// and + 1 to get the argument (next thread)
.LABEL1:
mov esi, [esp+(4+1)*4]
mov esi, [esp+4]
mov [current_tcb], esi
mov eax, [current_tcb]