End_Use_Locked_PM_Stack

include vmm.inc

VMMcall End_Use_Locked_PM_Stack


The End_Use_Locked_PM_Stack service unlocks the protected-mode stack. This service decrements the locked-stack counter, and restores the previous stack of the virtual machine if the counter is zero. To unlock the stack, a virtual device must call this service once for each call made to the Begin_Use_Locked_PM_Stack service.

Parameters

This service has no parameters.

Return Value

If locked-stack counter is zero, the Client_SS, Client_SP, and Client_EIP registers contain the original values before the Begin_Use_Locked_PM_Stack service was called. Otherwise, these registers remain unchanged.

Uses

Flags

See Also

Begin_Use_Locked_PM_Stack