Begin_Reentrant_Execution

include vmm.inc

VMMcall Begin_Reentrant_Execution

mov [Count], ecx ; re-entrancy count


The Begin_Reentrant_Execution service starts re-entrant execution. Virtual devices use this service when hooking VMM faults (re-entrant processor exceptions) so that they may call nonasynchronous VMM or virtual device services, or execute a virtual machine.

Most virtual devices have no reason to use this service. Do not use this service to avoid scheduling events on hardware interrupts.

Parameters

This service has no parameters.

Return Value

The ECX register contains the old re-entrancy count. This count must be passed to the End_Reentrant_Execution service.

Uses

ECX, Flags

See Also

End_Reentrant_Execution