forked from KolibriOS/kolibrios
allow IRQ14 and IRQ15 to be redirected to V86 machine
git-svn-id: svn://kolibrios.org@960 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
939f824d96
commit
f49b051211
@ -238,7 +238,10 @@ p_irq14:
|
||||
mov ax, app_data ;os_data
|
||||
mov ds, ax
|
||||
mov es, ax
|
||||
mov byte [BOOT_VAR + 0x48E], 0xFF
|
||||
mov edi, 14
|
||||
cmp [v86_irqhooks+edi*8], 0
|
||||
jnz v86_irq2
|
||||
; mov byte [BOOT_VAR + 0x48E], 0xFF
|
||||
call [irq14_func]
|
||||
call ready_for_next_irq_1
|
||||
restore_ring3_context
|
||||
@ -248,7 +251,10 @@ p_irq15:
|
||||
mov ax, app_data ;os_data
|
||||
mov ds, ax
|
||||
mov es, ax
|
||||
mov byte [BOOT_VAR + 0x48E], 0xFF
|
||||
mov edi, 15
|
||||
cmp [v86_irqhooks+edi*8], 0
|
||||
jnz v86_irq2
|
||||
; mov byte [BOOT_VAR + 0x48E], 0xFF
|
||||
call [irq15_func]
|
||||
call ready_for_next_irq_1
|
||||
restore_ring3_context
|
||||
|
@ -866,6 +866,7 @@ v86_irq:
|
||||
cld
|
||||
mov edi, eax
|
||||
pop eax
|
||||
v86_irq2:
|
||||
mov esi, [v86_irqhooks+edi*8] ; get VM handle
|
||||
mov eax, [esi+V86_machine.pagedir]
|
||||
call get_pg_addr
|
||||
|
Loading…
Reference in New Issue
Block a user