forked from KolibriOS/kolibrios
fix in debug subsystem
git-svn-id: svn://kolibrios.org@680 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c2a771d335
commit
d59aaca0fa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user