]> xenbits.xensource.com Git - xen.git/commit
hvm/hpet: Detect comparator values in the past
authorDon Slutz <dslutz@verizon.com>
Fri, 2 May 2014 20:18:08 +0000 (16:18 -0400)
committerTim Deegan <tim@xen.org>
Thu, 8 May 2014 11:03:53 +0000 (12:03 +0100)
commit22d73d1fe09f895bc4fef55b837a152091cbef66
tree587a734373572e6fa101125630edb9530161ffe7
parent62d514c2e7943490ffdc140996c02c9ba2059790
hvm/hpet: Detect comparator values in the past

This statement only works using 64-bit arithmetic for the main
                                     63
counter never changing by more then 2  .  (Which is a boundary
case that should not happen in my life time.)

Signed-off-by: Don Slutz <dslutz@verizon.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/hpet.c