From efa3efe5bb8b36333b8abd229e0b42f79cfd6ca7 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sat, 23 Apr 2005 16:09:06 +0000 Subject: [PATCH] Fixed restoring of registers. svn path=/trunk/; revision=14776 --- reactos/ntoskrnl/ke/i386/ctxswitch.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ke/i386/ctxswitch.S b/reactos/ntoskrnl/ke/i386/ctxswitch.S index e65b1f13d48..c81d95c4b69 100644 --- a/reactos/ntoskrnl/ke/i386/ctxswitch.S +++ b/reactos/ntoskrnl/ke/i386/ctxswitch.S @@ -281,8 +281,8 @@ SameProcess: /* Return the registers */ mov ebp, [esp+0] - mov esi, [esp+4] - mov edi, [esp+8] + mov edi, [esp+4] + mov esi, [esp+8] mov ebx, [esp+12] /* Clean stack */