Get_Fault_Hook_Addrs


include vmm.inc

mov     eax, FaultNo      ; fault number
VMMcall Get_Fault_Hook_Addrs

Returns addresses of the V86 mode, protected-mode, and VMM fault handlers for a specified fault. Uses Flags.

Register

Description

EDI

Contains the address of the handler for VMM faults. This register contains zero if no handler has been installed.

EDX

Contains the address of the handler for V86 mode faults. This register contains zero if no handler has been installed.

ESI

Contains the address of the handler for protected-mode faults. This register contains zero if no handler has been installed.


FaultNo

Fault number for which to retrieve information.

A virtual device cannot get the hook address for the Non-Maskable Interrupt (Interrupt 2). It must use the Get_NMI_Handler_Addr and Set_NMI_Handler_Addr services to hook Interrupt 2.

See also Get_NMI_Handler_Addr, Set_NMI_Handler_Addr