include vmm.inc mov eax, Semaphore ; semaphore handle VMMcall Signal_Semaphore |
The Signal_Semaphore service unblocks the virtual machine (if any) waiting on the specified semaphore. The unblocked virtual machine checks the state of the semaphore's unblock count, and resumes execution if the count is zero or greater.
Semaphore
Specifies a handle identifying the semaphore to signal.
This service has no return value.
This service increments the semaphore's token count. If the incremented token count is less than or equal to zero, the service increments the semaphore's unblock count and schedules a wake up event for the virtual machine blocked on the semaphore. Otherwise, this service returns immediately.
Flags