Chapter 27. Virtual Machine Interrupts and Callbacks

There are the following virtual machine interrupt and callback services:

Service Description
Build_Int_Stack_Frame Builds a stack frame for an interrupt.
Call_When_VM_Ints_Enabled Installs an interrupts-enabled callback.
Disable_VM_Ints Disables interrupts for the virtual machine.
Enable_VM_Ints Enables interrupts for the virtual machine.
Get_Instanced_V86_Int_Vector Returns a real-mode interrupt address instanced per VM.
Get_Inst_V86_Int_Vec_Base Retrieves the address of a 400h-byte memory block that contains the current interrupt vectors for the given VM.
Get_PM_Int_Type Returns the type of interrupt vector.
Get_PM_Int_Vector Returns a protected-mode interrupt address.
Get_V86_Int_Vector Returns a real-mode interrupt address.
Hook_V86_Int_Chain Installs a hook procedure for a V86 interrupt.
Set_PM_Int_Type Sets the protected-mode interrupt type.
Set_PM_Int_Vector Sets a protected-mode interrupt vector.
Set_V86_Int_Vector Sets a real-mode interrupt vector.
Simulate_Far_Call Simulates a far call.
Simulate_Far_Jmp Simulates a jump.
Simulate_Far_Ret Simulates a far return.
Simulate_Far_Ret_N Simulates a far return with parameters.
Simulate_Int Simulates an interrupt.
Simulate_Iret Simulates a return from an interrupt.
Simulate_Pop Simulates a pop instruction.
Simulate_Push Simulates a push instruction.
Test_VM_Ints_Enabled Determines whether the current VM interrupts are enabled or disabled.
Unhook_V86_Int_Chain Removes the hook procedure for the specified interrupt.