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
..
arch_dump.c dump: rebase from host-private RAMBlock offsets to guest-physical addresses 2013-08-08 11:01:46 -04:00
arch_memory_mapping.c exec: Make ldq/ldub_*_phys input an AddressSpace 2014-02-11 22:57:00 +10:00
cc_helper_template.h
cc_helper.c target-i386/helper: remove DF macro 2013-06-15 17:50:21 +00:00
cpu-qom.h kvm: add support for hyper-v timers 2014-02-03 17:33:55 +01:00
cpu.c target-i386: Move KVM default-vendor hack to instance_init 2014-02-03 17:33:55 +01:00
cpu.h kvm: add support for hyper-v timers 2014-02-03 17:33:55 +01:00
excp_helper.c target-i386/helper: remove EIP macro 2013-06-15 17:50:13 +00:00
fpu_helper.c
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c exec: Make stl_phys_notdirty input an AddressSpace 2014-02-11 22:57:24 +10:00
helper.h target-i386: yield to another VCPU on PAUSE 2013-11-21 17:39:20 +01:00
int_helper.c target-i386/helper: remove EDX macro 2013-06-15 17:49:10 +00:00
ioport-user.c
kvm_i386.h
kvm-stub.c target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid() 2013-11-21 17:39:11 +01:00
kvm.c kvm: add support for hyper-v timers 2014-02-03 17:33:55 +01:00
machine.c kvm: add support for hyper-v timers 2014-02-03 17:33:55 +01:00
Makefile.objs Makefile.target: CONFIG_NO_* variables removed 2013-10-16 18:21:00 +02:00
mem_helper.c target-i386/helper: remove EDX macro 2013-06-15 17:49:10 +00:00
misc_helper.c target-i386: Move apic_state field from CPUX86State to X86CPU 2013-12-23 16:30:40 +01:00
ops_sse_header.h
ops_sse.h
seg_helper.c exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
shift_helper_template.h
smm_helper.c exec: Make stw_*_phys input an AddressSpace 2014-02-11 22:57:32 +10:00
svm_helper.c exec: Make stb_phys input an AddressSpace 2014-02-11 22:57:38 +10:00
svm.h
TODO
topology.h
translate.c target-i386: Fix I/O bitmap checks for in/out 2014-02-19 16:40:19 +01:00