qemu-e2k/target-i386
Kevin Wolf 6d093a4f49 target-i386: Fix I/O bitmap checks for in/out
Commit 1b90d56e changed the implementation of in/out imm to not assign
the accessed port number to cpu_T[0] as it appeared unnecessary.
However, currently gen_check_io() makes use of cpu_T[0] to implement the
I/O bitmap checks, so it's in fact still used and the change broke the
check, leading to #GP in legitimate cases (and probably also allowing
access to ports that shouldn't be allowed).

This patch reintroduces the missing assignment for these cases.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
2014-02-19 16:40:19 +01:00
..
2014-02-03 17:33:55 +01:00
2014-02-03 17:33:55 +01:00
2014-02-03 17:33:55 +01:00
2014-02-03 17:33:55 +01:00
2013-04-13 13:51:57 +02:00
2013-02-16 11:12:29 +00:00