Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
VID_EOI_Proc
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vpicd.inc
 
mov     eax, IRQHand  ; IRQ handle
mov     ebx, VM       ; current VM handle
call    VID_EOI_Proc
 
The VID_EOI_Proc procedure handles the end of an interrupt. The system calls
this procedure whenever a hardware interrupt handler in the virtual machine
issues an EOI. The procedure typically calls the VPICD_Clear_Int_Request and
VPICD_Phys_EOI services to clear the virtual interrupt and end the physical
interrupt.
 
The system disables interrupts before calling this procedure. The procedure
can re-enable interrupts if necessary.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
IRQHand    Specifies the handle for the interrupt request.
 
VM         Specifies the handle of the current virtual machine.
 
Return Value
 
This procedure has no return value.
 
Comments
 
This procedure is typically used by a virtual device, such as the virtual
mouse device, that lets a corresponding MS-DOS driver process hardware
interrupts. The virtual device reflects the interrupt to the virtual machine
that owns the mouse. The MS-DOS driver services the interrupt and issues
issues an EOI. At this point, the system calls the VID_EOI_Proc procedure.
 
This procedure may modify EAX, EBX, ECX, EDX, ESI, and Flags.
 
See Also
 
VPICD_Clear_Int_Request, VPICD_Phys_EOI, VPICD_IRQ_Descriptor