History | View | Annotate | Download (2 kB)
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>