Update_System_Clock

include vmm.inc

mov ecx, Time ; elapsed time in milliseconds

VMMcall Update_System_Clock


The Update_System_Clock service updates the current system time, and the current virtual machine's execution time.

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.

Parameters

Time

Specifies the 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.

Return Value

This service has no return value.

Comments

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

Uses

Flags