hw: rtc: Add Goldfish RTC device
This patch adds model for Google Goldfish virtual platform RTC device. We will be adding Goldfish RTC device to the QEMU RISC-V virt machine for providing real date-time to Guest Linux. The corresponding Linux driver for Goldfish RTC device is already available in upstream Linux. For now, VM migration support is available but untested for Goldfish RTC device. It will be hardened in-future when we implement VM migration for KVM RISC-V. Signed-off-by: NAnup Patel <anup.patel@wdc.com> Reviewed-by: NAlistair Francis <alistair.francis@wdc.com> Signed-off-by: NPalmer Dabbelt <palmerdabbelt@google.com>
Showing
hw/rtc/goldfish_rtc.c
0 → 100644
include/hw/rtc/goldfish_rtc.h
0 → 100644
想要评论请 注册 或 登录