include vmm.inc
VMMCall Simulate_Iret
Simulates a return from an interrupt. This service pops the top three word or doubleword values from the stack of the current virtual machine, and places the values in the Client_Flags, Client_CS, and Client_EIP or Client_IP registers. Uses Client_CS, Client_EIP, Client_ESP, Client_Flags, Flags.
This service pops three word values from the stack if the segment corresponding to the return address is a 16-bit segment. Otherwise, the service pops three doubleword values.
Simulate_Int