include vmm.inc mov esi, Exception ; points to an Exception_Handler_Struc VMMcall Install_Exception_Handler jc not_installed ; carry flag set if error |
The Install_Exception_Handler service installs a ring-0 exception handler.
Exception
Points to an Exception_Handler_Struc structure containing information about the exception handler to install.
The carry flag is clear if the service is successful. Otherwise, the carry flag is set to indicate an error.
The system calls the exception handler only if the exception occurs within the range of addresses specified by the EH_StartIP and EH_EndIP fields in the Exception_Handler_Struc structure. The system calls the exception handler with the stack and all registers in same state as when exception occurred.
Flags