diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-10-07 09:19:47 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-10-16 11:11:08 +0000 |
commit | 8d484caa84dbaca5597cfbbf657ebdcd8f06b0c3 (patch) | |
tree | 3485eb9b6a9c85b9fb36d8c4e75f68e00fe3b1f3 /block/qed-check.c | |
parent | b76750c1ab50e23ef3ebc8cb6018dda41f174d84 (diff) | |
download | qemu-8d484caa84dbaca5597cfbbf657ebdcd8f06b0c3.tar.gz qemu-8d484caa84dbaca5597cfbbf657ebdcd8f06b0c3.tar.bz2 qemu-8d484caa84dbaca5597cfbbf657ebdcd8f06b0c3.zip |
i8259: Fix poll command
This was probably never used so far: According to the spec, polling
means ack'ing the pending IRQ and setting its corresponding bit in isr.
Moreover, we have to signal a pending IRQ via bit 7 of the returned
value, and we must not return a spurious IRQ if none is pending.
This implements the poll command without the help of pic_poll_read which
is left untouched as pic_intack_read is still using it.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'block/qed-check.c')
0 files changed, 0 insertions, 0 deletions