On 11/21/2011 07:00 PM, Paolo Bonzini wrote:
Here are a bunch of fixes for the rtc that I found while reading
the code. Might be for 1.0 or 1.1, at your choice.
I also have a fix for at least one relatively important bug: when writing
register B unmasks a pending interrupt, the IRQ line should be raised.
However, the fix is a bit invasive so I am not posting it yet.
Paolo Bonzini (4):
rtc: fix 12-hour mode
rtc: raise AF bit when the alarm is encountered but AIE=0
rtc: raise PF bit when the periodic timer triggers but PIE=0
rtc: clear non-PF bits when reinjecting on ack
hw/mc146818rtc.c | 41 +++++++++++++++++++++++------------------
1 files changed, 23 insertions(+), 18 deletions(-)
Ping.
Paolo