VPICD_Install_Handler

include bimodint.inc

les     di, bis
mov     ax, VPICD_Install_Handler
call    [lpfnVPICD]
jc      errorhandler
 

Installs a bimodal interrupt handler for the IRQ specified by the BIS_IRQ_Number field in the Bimodal_Int_Struc structure.

bis
Address of a Bimodal_Int_Struc structure containing information about the interrupt handler to install.
lpfnVPICD
Specifies the entry point address of the API handler for the virtual PIC device.

This function virtualizes the specified IRQ and creates supervisor-mode selectors for the interrupt handler's code, data, and additional segments (if any). The function also sets the supervisor-mode API handler.