Update_System_Clock

include vmm.inc

mov     ecx, Time           ; elapsed time in milliseconds
VMMCall Update_System_Clock
 

Updates the current system time, and the current virtual machine's execution time. Uses Flags.

This service is reserved for exclusive use by the virtual timer device. If other virtual devices call this service, the VMM timing services will behave incorrectly.

Time
Number of milliseconds that have elapsed since the last call to this service. The service adds this amount to the system time maintained by the VMM.

The virtual timer device must disabled interrupts before calling this service.