Set_PM_Exec_Mode

include vmm.inc

VMMcall Set_PM_Exec_Mode


The Set_PM_Exec_Mode service forces the current virtual machine into protected mode. If the current virtual machine is already in protected mode, this service has no effect.

Parameters

This service has no parameters.

Return Value

This service has no return value.

Comments

Whenever possible, a virtual device should use the Begin_Nest_Exec service instead of this service.

Changing the execution mode of a virtual machine does not change the virtual machine's EAX, EBX, ECX, EDX, ESI, EDI, and EBP registers or most flags. The VM flag and IOPL flags change. The DS, ES, FS, GS, SS, ESP, CS, and EIP registers are restored to the previous values for V86 mode.

Uses

Flags

See Also

Begin_Nest_Exec, Set_V86_Exec_Mode