qemu/target-i386
Blue Swirl e694d4e289 x86: use caller supplied CPUState for interrupt related stuff
Several x86 specific functions are called from cpu-exec.c with the
assumption that global env register is valid. This will be changed
later, so make the functions use caller supplied CPUState parameter.

It would be cleaner to move the functions to helper.c, but there are
quite a lot of dependencies between do_interrupt() and other functions.

Add helpers for svm_check_intercept() and cpu_cc_compute_all() instead
of calling the helper (which uses global env, AREG0) directly.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2011-06-26 18:25:19 +00:00
..
cpu.h x86: use caller supplied CPUState for interrupt related stuff 2011-06-26 18:25:19 +00:00
cpuid.c kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid 2011-06-20 15:24:00 -03:00
exec.h x86: use caller supplied CPUState for interrupt related stuff 2011-06-26 18:25:19 +00:00
helper_template.h Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
helper.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
helper.h target-i386: implement lzcnt emulation 2009-10-23 17:10:36 +02:00
kvm.c KVM: Fix XSAVE feature bit enumeration 2011-06-20 15:26:21 -03:00
machine.c kvm: fix FPU state subsection 2011-06-21 13:53:18 -03:00
op_helper.c x86: use caller supplied CPUState for interrupt related stuff 2011-06-26 18:25:19 +00:00
ops_sse_header.h tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. 2010-06-16 11:29:11 +02:00
ops_sse.h target-i386: replace approx_rsqrt and approx_rcp by softfloat ops 2011-04-25 11:18:33 +02:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
TODO Unbreak large mem support by removing kqemu 2009-08-24 08:02:55 -05:00
translate.c target-i386: Make x86 mfence and lfence illegal without SSE2 2011-06-08 09:04:29 +01:00