RTC: Add UIP(update in progress) check logic
authorYang Zhang <yang.z.zhang@Intel.com>
Wed, 7 Mar 2012 07:36:15 +0000 (07:36 +0000)
committerYang Zhang <yang.z.zhang@Intel.com>
Wed, 7 Mar 2012 07:36:15 +0000 (07:36 +0000)
commit197c12b1a19f5fe05adf8359ff9013f43ba027da
treec24022d74341258720c5981d8e84d5235b9e72d9
parent6c44cee772fbbf3d35698ed544079e02f4e7c97e
RTC: Add UIP(update in progress) check logic

The UIP(update in progress) is set when RTC is in updating. And the
update cycle begins 244us later after UIP is set.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/rtc.c
xen/arch/x86/time.c
xen/include/xen/time.h