Simulate_Iret

include vmm.inc

VMMcall Simulate_Iret


The Simulate_Iret service 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.

Parameters

This service has no parameters.

Return Value

This service has no return value.

Comments

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.

Uses

Client_CS, Client_EIP, Client_ESP, Client_Flags, Flags

See Also

Simulate_Int