Disable_Global_Trapping


include vmm.inc

mov     edx, Port           ; I/O port number
VMMcall Disable_Global_Trapping

Disables I/O port trapping for the specified I/O port. This applies to every virtual machine. Uses Flags.

Port

Number of the I/O port for which global trapping is to be disabled.

This service must not be used unless an I/O callback procedure has been installed for the given port using the Install_IO_Handler or Install_Mult_IO_Handlers service during initialization. In particular, you should not attempt to alter the port trapping state of a port for which you did not personally install an I/O handler. Altering the port trapping state of a port owned by another virtual device driver may cause that other driver to get confused.

The system applies the current global trapping state for each new virtual machine as it is created. When the system first starts, global trapping is enabled by default.

See also Enable_Global_Trapping, Install_IO_Handler, Install_Mult_IO_Handlers