Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Get_NMI_Handler_Addr
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Get_NMI_Handler_Addr
 
mov     [NMI], esi          ; offset to current NMI handler
 
The Get_NMI_Handler_Addr service returns the address of the current
Non-Maskable Interrupt (NMI) handler.
 
This service has no parameters.
 
Return Value
 
The ESI register contains the offset of current NMI handler.
 
Comments
 
If a virtual device needs to hook the Non-Maskable Interrupt it must first
call this service to get and save the original NMI handler address. The
virtual can then install the new NMI handler my using the
Set_NMI_Handler_Addr service. The new handler should create an NMI handler
chain by passing execution to the original NMI handler whenever it does not
process the NMI.
 
Uses
 
ESI, Flags
 
See Also
 
Set_NMI_Handler_Addr