From a7e34644d78bddf4ba6ee703eacc1c34a7381f85 Mon Sep 17 00:00:00 2001 From: Gao Junhao Date: Wed, 23 Oct 2019 02:31:14 +0000 Subject: [PATCH] doc: add RTC emulation in hypervisor doc add RTC emulation in hypervisor doc and add entry in hld-emulated-devices Signed-off-by: Gao Junhao --- doc/developer-guides/hld/hld-emulated-devices.rst | 1 + doc/developer-guides/hld/rtc-virt-hld.rst | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 doc/developer-guides/hld/rtc-virt-hld.rst diff --git a/doc/developer-guides/hld/hld-emulated-devices.rst b/doc/developer-guides/hld/hld-emulated-devices.rst index 7f14152aa..5217b3592 100644 --- a/doc/developer-guides/hld/hld-emulated-devices.rst +++ b/doc/developer-guides/hld/hld-emulated-devices.rst @@ -17,3 +17,4 @@ documented in this section. AHCI virtualization GVT-g GPU Virtualization UART emulation in hypervisor + RTC emulation in hypervisor diff --git a/doc/developer-guides/hld/rtc-virt-hld.rst b/doc/developer-guides/hld/rtc-virt-hld.rst new file mode 100644 index 000000000..7275bc98f --- /dev/null +++ b/doc/developer-guides/hld/rtc-virt-hld.rst @@ -0,0 +1,9 @@ +.. _rtc-virt-hld: + +RTC Virtualization +################## + +This document describes the RTC virtualization implementation in +ACRN device model. + +vRTC is a read-only RTC for For pre-launched VM, Service OS and post-launched RT VM. It supports RW for CMOS address port 0x70 and RO for CMOS data port 0x71. Reads to CMOS RAM offsets are fetched by reading CMOS h/w directly and writes to CMOS offsets are discarded.