mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 12:19:06 +00:00
hv: Add vrtc emulation support for ACRN partition mode
This patch adds code to support read-only RTC support for guests run by partition mode ACRN. 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. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
This commit is contained in:
committed by
lijinxia
parent
f63c7a7355
commit
022ef92b62
@@ -205,7 +205,7 @@ int create_vm(struct vm_description *vm_desc, struct vm **rtn_vm)
|
||||
if (vm_desc->vm_vuart) {
|
||||
vm->vuart = vuart_init(vm);
|
||||
}
|
||||
|
||||
vrtc_init(vm);
|
||||
vpci_init(vm);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user