Simulate_Far_Ret

include vmm.inc

VMMcall Simulate_Far_Ret


The Simulate_Far_Ret service simulates a far return in the current virtual machine. This service pops the top two words (or doublewords) from the stack of the current virtual machine, and copies these values to the 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 services pops two word values from the stack if the segment containing the address is a 16-bit segment. Otherwise, this service pops two doubleword values.

Uses

Flags

See Also

Simulate_Far_Call, Simulate_Far_Ret_N