fix in debug subsystem

git-svn-id: svn://kolibrios.org@680 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2007-12-08 21:18:55 +00:00
parent c2a771d335
commit d59aaca0fa

View File

@ -82,7 +82,7 @@ debug_suspend:
cli cli
mov eax, ebx mov eax, ebx
call pid_to_slot call pid_to_slot
test eax, eax shl eax, 5
jz .ret jz .ret
mov bl, [CURRENT_TASK+eax+TASKDATA.state] ; process state mov bl, [CURRENT_TASK+eax+TASKDATA.state] ; process state
test bl, bl test bl, bl
@ -116,7 +116,7 @@ debug_resume:
cli cli
mov eax, ebx mov eax, ebx
call pid_to_slot call pid_to_slot
test eax, eax shl eax, 5
jz .ret jz .ret
call do_resume call do_resume
.ret: sti .ret: sti