forked from KolibriOS/kolibrios
v86: fix wrong irq number
git-svn-id: svn://kolibrios.org@2149 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b20ee6ddec
commit
87882ebc37
@ -842,14 +842,14 @@ end if
|
|||||||
align 4
|
align 4
|
||||||
v86_irq:
|
v86_irq:
|
||||||
; push irq/pushad/jmp v86_irq
|
; push irq/pushad/jmp v86_irq
|
||||||
; eax = irq
|
; ebp = irq
|
||||||
lea esi, [esp+1Ch]
|
lea esi, [esp+1Ch]
|
||||||
lea edi, [esi+4]
|
lea edi, [esi+4]
|
||||||
mov ecx, 8
|
mov ecx, 8
|
||||||
std
|
std
|
||||||
rep movsd
|
rep movsd
|
||||||
cld
|
cld
|
||||||
mov edi, eax
|
mov edi, ebp
|
||||||
pop eax
|
pop eax
|
||||||
v86_irq2:
|
v86_irq2:
|
||||||
mov esi, [v86_irqhooks+edi*8] ; get VM handle
|
mov esi, [v86_irqhooks+edi*8] ; get VM handle
|
||||||
|
Loading…
Reference in New Issue
Block a user