From 51662272ac83307e20c080eaf8e121e5dba362f5 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Thu, 20 Sep 2007 16:43:34 +0000 Subject: [PATCH] bugfix for debug subsystem git-svn-id: svn://kolibrios.org@634 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/sched.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/core/sched.inc b/kernel/trunk/core/sched.inc index 6eb5e66a2e..3f7fecf2b1 100644 --- a/kernel/trunk/core/sched.inc +++ b/kernel/trunk/core/sched.inc @@ -225,9 +225,9 @@ do_change_task: je @F mov cr3, eax @@: - mov ebx, [ebx+APPDATA.pl0_stack] - add ebx, RING0_STACK_SIZE - mov [tss._esp0], ebx + mov eax, [ebx+APPDATA.pl0_stack] + add eax, RING0_STACK_SIZE + mov [tss._esp0], eax mov ax, graph_data mov gs, ax mov ecx, cr0