summaryrefslogtreecommitdiffstats
path: root/hw/serial.c
diff options
context:
space:
mode:
authorRichard Henderson2011-08-11 00:28:16 +0200
committerAvi Kivity2011-09-25 13:58:37 +0200
commit098d314a3263693ec31e227f4018646e74d439a0 (patch)
tree9fc37b1454dc62514c36020a8cff4892c6b975ed /hw/serial.c
parentppc_prep: initialize i8259 after the ISA bus (diff)
downloadqemu-098d314a3263693ec31e227f4018646e74d439a0.tar.gz
qemu-098d314a3263693ec31e227f4018646e74d439a0.tar.xz
qemu-098d314a3263693ec31e227f4018646e74d439a0.zip
i8259: Convert to MemoryRegion
The only non-obvious part is pic_poll_read which used "addr1 >> 7" to detect whether one referred to either the master or slave PIC. Instead, test this directly. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/serial.c')
0 files changed, 0 insertions, 0 deletions