From d59aaca0fa72933c42730246ac59b318a47d5f50 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Sat, 8 Dec 2007 21:18:55 +0000 Subject: [PATCH] fix in debug subsystem git-svn-id: svn://kolibrios.org@680 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/debug.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/core/debug.inc b/kernel/trunk/core/debug.inc index 2afd23c82e..cf053b0e40 100644 --- a/kernel/trunk/core/debug.inc +++ b/kernel/trunk/core/debug.inc @@ -82,7 +82,7 @@ debug_suspend: cli mov eax, ebx call pid_to_slot - test eax, eax + shl eax, 5 jz .ret mov bl, [CURRENT_TASK+eax+TASKDATA.state] ; process state test bl, bl @@ -116,7 +116,7 @@ debug_resume: cli mov eax, ebx call pid_to_slot - test eax, eax + shl eax, 5 jz .ret call do_resume .ret: sti