History | View | Annotate | Download (2.1 kB)
rtc: map CMOS index 0x37 to 0x32 on read and writes
QEMU's attempt to implement the century byte cover two possible placesfor the byte. A common one on modern chipsets is 0x32, but QEMU alsostores the value in 0x37 (apparently for IBM PS/2 compatibility---it's...
RTC: Update interrupt state when interrupts are masked/unmasked
If an interrupt flag is already set when the interrupt becomes enabled,raise an interrupt immediately, and vice versa if interrupts becomedisabled.
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>...
rtc: split out macros into a header file and use in test case
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>