[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Make HPET device model paranoid to counter wrap
Changing the hpet periodic timers to use vpt periodic timers means there is no real reason to have a hpet callback at all. However, the value of the comparator is now computed when it is read (which is rarely), based on the difference between the current time and the last comparator value. This works unless the current time has wrapped and passed the comparator completely at least once since it was last read. This patch reimplements the hpet callback so that the comparator is updated on every timer expiration (for a running timer). It is probably not needed but better safe than sorry. Signed-off-by: Peter Johnston <peter.johnston@xxxxxxxxxx> Attachment:
hvm-hpet-paranoid _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |