diff options
author | Bernhard Kauer <kauer@os.inf.tu-dresden.de> | 2009-09-02 09:49:05 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-22 21:15:58 -0500 |
commit | 621cc70bfbf0faae83b3b154ae97736472565a94 (patch) | |
tree | 8bcc7f4c47e8041a127a32fa481698252a72b429 /sdl_zoom_template.h | |
parent | ebeab049b0932903befaf678980df37e0d7dbe27 (diff) |
RTC polling mode broken
The RTC emulation does not set the IRQ flags independent of the IRQ enable bits.
The original MC146818A datasheet from 1984 notes:
"flag bits in Register C [...] are set independent of the
state of the corresponding enable bits in Register B"
Similar sections can be found in newer documentation e.g. in rtc82885.
Qemu and Bochs set the IRQ flags only if they are enabled,
which breaks drivers polling on them.
The following patch corrects this for the update-ended-flag in Qemu only.
It does not fix the handling of the other flags.
Signed-off-by: Bernhard Kauer <kauer@tudos.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sdl_zoom_template.h')
0 files changed, 0 insertions, 0 deletions