Paolo Bonzini 147ed37983 ioport: loosen assertions on emulation of 16-bit ports
Right now, ioport.c assumes that the entire range specified with
MemoryRegionPortio includes a region with size == 1.  This however
is not true for the VBE DISPI ports, which are 16-bit only.  The
next patch will make these regions' length equal to two, which can
cause the assertions to trigger.  Replace them with simple conditionals.

Also, ioport.c will emulate a 16-bit ioport with two distinct reads
or writes, even if one of the two accesses is out of the bounds given
by the MemoryRegionPortio array.  Do not do this anymore, instead
discard writes to the incorrect register and read it as all-ones.
This ensures that the mrp->read and mrp->write callbacks get an
in-range ioport number.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-04-27 18:24:19 +02:00
2015-03-19 11:30:37 +03:00
2015-04-27 18:24:19 +02:00
2015-03-09 09:14:28 +00:00
2015-04-04 09:45:59 +03:00
2015-03-27 10:01:12 +00:00
2015-03-25 13:38:07 +01:00
2015-03-19 11:35:52 +03:00
2015-04-17 14:27:42 +01:00
2015-03-17 14:31:15 +01:00
2015-03-12 09:13:07 +00:00
2015-04-02 15:58:39 +02:00
2015-04-27 18:24:18 +02:00
2015-03-20 09:50:08 +00:00
2015-03-19 17:47:08 +00:00
2015-03-10 09:26:22 +01:00
2015-04-25 22:05:07 +01:00
2015-03-26 15:31:46 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%