acrn-hypervisor/hypervisor/include
Yuanyuan Zhao dfdf79ffa9 hv: add vRTC reg_b and reg_c support
During setting RTC time, driver will halt RTC update. So support
bit 7 of reg_b. When it set to 0, time will be updated. And
when it's set to 1, rtc will keep the second it was set.

In the process of getting RTC time, driver sets alarm interrupt,
waits 1s, and get alarm interrupt flag. So support alarm interrupt
flag update. If alarm interrupt is enabled (bit 5, reg_b set to 1),
interrupt flag register will be set (bit 7 & bit 5 of reg_c) at
appropriate time.

Tracked-On: #7440
Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2022-05-12 13:20:21 +08:00
..
arch/x86/asm hv: add rtcdev emulate vrtc 2022-05-12 13:20:21 +08:00
common Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
debug Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
dm hv: add vRTC reg_b and reg_c support 2022-05-12 13:20:21 +08:00
hw Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
lib Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
public Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00