wip: uncrampt the stack thing in the irq
This commit is contained in:
@ -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]
|
||||
|
||||
Reference in New Issue
Block a user