From 8ac6d6b04c8de22b5b920408a925a8332d9214d9 Mon Sep 17 00:00:00 2001 From: pathoswithin Date: Fri, 9 Dec 2016 13:26:43 +0000 Subject: [PATCH] fix corruption of process termination output git-svn-id: svn://kolibrios.org@6793 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/sys32.inc | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/kernel/trunk/core/sys32.inc b/kernel/trunk/core/sys32.inc index 57fdcf51a5..eaa8ac45f1 100644 --- a/kernel/trunk/core/sys32.inc +++ b/kernel/trunk/core/sys32.inc @@ -1,13 +1,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; -;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; -;; Distributed under terms of the GNU General Public License ;; -;; ;; -;; ;; -;; MenuetOS process management, protected ring3 ;; -;; ;; -;; Distributed under GPL. See file COPYING for details. ;; -;; Copyright 2003 Ville Turjanmaa ;; +;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;; +;; Distributed under terms of the GNU General Public License. ;; ;; ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -154,10 +148,9 @@ exc_c: ; исключения (все, кроме 7-г mov eax, [esi+APPDATA.debugger_slot] test eax, eax jnz .debug - sti ; not debuggee => say error and terminate - call show_error_parameters ;; only ONE using, inline ??? - ;mov edx, [TASK_BASE] + call show_error_parameters + sti mov [edx + TASKDATA.state], byte 4 ; terminate call wakeup_osloop call change_task