Chapter 22. Processor Faults

A processor fault (also called a processor exception) is an interruption of execution typically caused by the currently running program rather than by an external source. There are the following processor fault services:

Service Description
Get_Fault_Hook_Addrs Returns addresses for fault handlers.
Get_NMI_Handler_Addr Returns NMI handler address.
Hook_Invalid_Page_Fault Installs a hook procedure for page faults.
Hook_NMI_Event Installs a non-maskable interrupt event procedure.
Hook_PM_Fault Installs a fault handler for protected mode.
Hook_V86_Fault Installs a fault handler for V86 mode.
Hook_VMM_Fault Installs a fault handler for VMM.
NMIEventCallback Developer-defined callback function for a NMI event.
Set_NMI_Handler_Addr Sets the NMI handler address.
Unhook_Invalid_Page_Fault Removes a hook procedure for page faults.
Unhook_NMI_Event Unhooks a non-maskable interrupt event procedure.
Unhook_PM_Fault Removes the hook procedure for the specified protected-mode fault.
Unhook_V86_Fault Removes the hook procedure for the specified virtual 8086 mode fault.
Unhook_VMM_Fault Removes the hook procedure for the specified fault.