From 87882ebc37cf5b57fd6e4b42791a0445bd5818d6 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Sat, 3 Sep 2011 08:04:20 +0000 Subject: [PATCH] v86: fix wrong irq number git-svn-id: svn://kolibrios.org@2149 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/v86.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/core/v86.inc b/kernel/trunk/core/v86.inc index b26bb9e463..1b8d984230 100644 --- a/kernel/trunk/core/v86.inc +++ b/kernel/trunk/core/v86.inc @@ -842,14 +842,14 @@ end if align 4 v86_irq: ; push irq/pushad/jmp v86_irq -; eax = irq +; ebp = irq lea esi, [esp+1Ch] lea edi, [esi+4] mov ecx, 8 std rep movsd cld - mov edi, eax + mov edi, ebp pop eax v86_irq2: mov esi, [v86_irqhooks+edi*8] ; get VM handle